-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR] ProxySQL crashed. Restarting! #1638
Comments
Do you have a core dump? |
Hi @renecannao, I sent you a link to the core dump. Thanks! |
The query that we are running when we receive the crash is returning some JSON data from the database. The crash appears to happen when the JSON data is 254-255 bytes (or is 509-510 bytes -> a multiple of 255 or one byte less than a multiple of 255) AND contains a null character. |
Attached is a test to make ProxySQL crash with this error.
After further testing, the crash might have more to do with the entire length of the row rather than just the length of the JSON. |
The error doesn't happen if bellow attribute is set:
@renecannao - This may be related to https://github.com/MariaDB/mariadb-connector-c/pull/38/files ? When querying mysql directly it's getting 2036 error:
mysql->read_pos is null:
|
Fixed |
I am running ProxySQL version 1.4.9-3-gd9fd599 on Ubuntu 16.04.1 and received the following error:
Error: signal 11:
proxysql(_Z13crash_handleri+0x2d)[0x449e4d]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fe2ffdc64b0]
proxysql(net_field_length+0x3)[0x62db73]
proxysql(mthd_stmt_read_all_rows+0x163)[0x638973]
proxysql(mysql_stmt_store_result+0x8a)[0x63a89a]
proxysql[0x634b38]
proxysql(my_context_spawn+0x41)[0x633b11]
2018-08-08 10:52:32 main.cpp:905:ProxySQL_daemonize_phase3(): [ERROR] ProxySQL crashed. Restarting!
The text was updated successfully, but these errors were encountered: