You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i use psql cli, I can connect to postgresql server via proxysql normally.
But when I use DBeaver on macos. it show the error while test connection and the proxysql is crashed
Hi
My environment is :
When i use psql cli, I can connect to postgresql server via proxysql normally.
But when I use DBeaver on macos. it show the error while test connection and the proxysql is crashed
Here is the driver that DBeaver is using
Here is the proxysql's crash log
proxysql: ../include/PgSQL_Connection.h:253: int PgSQL_Conn_Param::get_param_name(const char*): Assertion
key != -1' failed.Error: signal 6:
/usr/bin/proxysql(_Z13crash_handleri+0x34)[0x5609c89cdf90]
/lib/x86_64-linux-gnu/libc.so.6(+0x3ef10)[0x7f4080a71f10]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f4080a71e87]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f4080a737f1]
/lib/x86_64-linux-gnu/libc.so.6(+0x303fa)[0x7f4080a633fa]
/lib/x86_64-linux-gnu/libc.so.6(+0x30472)[0x7f4080a63472]
/usr/bin/proxysql(_ZN16PgSQL_Conn_Param14get_param_nameEPKc+0x82)[0x5609c8d41834]
/usr/bin/proxysql(ZN16PgSQL_Conn_Param9set_valueEPKcS1+0x27)[0x5609c8d4177b]
/usr/bin/proxysql(_ZN14PgSQL_Protocol20load_conn_parametersEP9pgsql_hdrb+0xbe)[0x5609c8d3c382]
/usr/bin/proxysql(_ZN14PgSQL_Protocol22process_startup_packetEPhjRb+0x1d2)[0x5609c8d3c574]
/usr/bin/proxysql(_ZN13PgSQL_Session59handler___status_CONNECTING_CLIENT___STATE_SERVER_HANDSHAKEEP10_PtrSize_tPb+0xb0)[0x5609c8d7d79c]
/usr/bin/proxysql(_ZN13PgSQL_Session20get_pkts_from_clientERbR10_PtrSize_t+0x15e)[0x5609c8d779c6]
/usr/bin/proxysql(_ZN13PgSQL_Session7handlerEv+0x28d)[0x5609c8d7ba99]
/usr/bin/proxysql(_ZN12PgSQL_Thread20process_all_sessionsEv+0x6ef)[0x5609c8d559f7]
/usr/bin/proxysql(_ZN12PgSQL_Thread3runEv+0xbb3)[0x5609c8d53765]
/usr/bin/proxysql(_Z24pgsql_worker_thread_funcPv+0xe9)[0x5609c899dbb8]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7f4081d7d6db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f4080b5461f]
---- /usr/bin/proxysql(_Z13crash_handleri+0x34) [0x5609c89cdf90] : crash_handler(int)
---- /usr/bin/proxysql(_ZN16PgSQL_Conn_Param14get_param_nameEPKc+0x82) [0x5609c8d41834] : PgSQL_Conn_Param::get_param_name(char const*)
---- /usr/bin/proxysql(ZN16PgSQL_Conn_Param9set_valueEPKcS1+0x27) [0x5609c8d4177b] : PgSQL_Conn_Param::set_value(char const*, char const*)
---- /usr/bin/proxysql(_ZN14PgSQL_Protocol20load_conn_parametersEP9pgsql_hdrb+0xbe) [0x5609c8d3c382] : PgSQL_Protocol::load_conn_parameters(pgsql_hdr*, bool)
---- /usr/bin/proxysql(_ZN14PgSQL_Protocol22process_startup_packetEPhjRb+0x1d2) [0x5609c8d3c574] : PgSQL_Protocol::process_startup_packet(unsigned char*, unsigned int, bool&)
---- /usr/bin/proxysql(_ZN13PgSQL_Session59handler___status_CONNECTING_CLIENT___STATE_SERVER_HANDSHAKEEP10_PtrSize_tPb+0xb0) [0x5609c8d7d79c] : PgSQL_Session::handler___status_CONNECTING_CLIENT___STATE_SERVER_HANDSHAKE(_PtrSize_t*, bool*)
---- /usr/bin/proxysql(_ZN13PgSQL_Session20get_pkts_from_clientERbR10_PtrSize_t+0x15e) [0x5609c8d779c6] : PgSQL_Session::get_pkts_from_client(bool&, _PtrSize_t&)
---- /usr/bin/proxysql(_ZN13PgSQL_Session7handlerEv+0x28d) [0x5609c8d7ba99] : PgSQL_Session::handler()
---- /usr/bin/proxysql(_ZN12PgSQL_Thread20process_all_sessionsEv+0x6ef) [0x5609c8d559f7] : PgSQL_Thread::process_all_sessions()
---- /usr/bin/proxysql(_ZN12PgSQL_Thread3runEv+0xbb3) [0x5609c8d53765] : PgSQL_Thread::run()
---- /usr/bin/proxysql(_Z24pgsql_worker_thread_funcPv+0xe9) [0x5609c899dbb8] : pgsql_worker_thread_func(void*)
To report a crashing bug visit: https://github.com/sysown/proxysql/issues
For support visit: https://proxysql.com/services/support/
2025-02-03 14:47:30 main.cpp:1687:ProxySQL_daemonize_phase3(): [ERROR] ProxySQL crashed. Restarting!`
The text was updated successfully, but these errors were encountered: