Skip to content

Crash on SET trough PHP (5.3.27) #70

@Ithariel

Description

@Ithariel

While using the latest version of proxysql compiled with the libs the readme suggests the proxy crashes every time php tryes to "SET" a variable.

Example:

<?
mysql_connect("localhost", "user", "pass");
mysql_query("SET SQL_BIG_SELECTS=1");
mysql_select_db("db");
?>

Log output:

/opt/proxysql/proxysql(crash_handler+0x39)[0x4e7bf1]
/lib/libc.so.6(+0x31f50)[0x7f3bde159f50]
/lib/libc.so.6(+0x106d96)[0x7f3bde22ed96]
/opt/proxysql/proxysql[0x4eb359]
/opt/proxysql/proxysql[0x4eb5d5]
/opt/proxysql/proxysql(mysql_connpool_detach_connection+0x2e3)[0x4ebd4b]
/opt/proxysql/proxysql[0x4e5864]
/opt/proxysql/proxysql[0x4e5bfc]
/opt/proxysql/proxysql[0x4e1e91]
/opt/proxysql/proxysql[0x4e2645]
/opt/proxysql/proxysql[0x4e3a28]
/opt/proxysql/proxysql(mysql_thread+0xb20)[0x4e682d]
/lib/libpthread.so.0(+0x68ca)[0x7f3bded478ca]
/lib/libc.so.6(clone+0x6d)[0x7f3bde1f77dd]
<jemalloc>: Leak summary: 42822656 bytes, 124 objects, 22 contexts
<jemalloc>: Run pprof on "jeprof.22332.0.f.heap" for leak detail
2015-01-30 17:16:11 main.c:466:main(): ProxySQL exited with code 1 . Restarting!
2015-01-30 17:16:11 main.c:436:main(): Angel process is waiting 5 seconds before starting a new ProxySQL process
2015-01-30 17:16:16 main.c:448:main(): Angel process started ProxySQL process 22424
2015-01-30 17:16:16 main.c:532:main(): Opening Sockets
2015-02-02 11:23:09 admin.c:38:term_handler(): Received TERM signal: shutdown in progress...
2015-02-02 11:23:09 admin.c:38:term_handler(): Received TERM signal: shutdown in progress...

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions