Skip to content
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

[v1.4.3] MySQL_Data_Stream::buffer2array(): Assertion `rc==0' failed - leads to crash #1410

Closed
ojassangameswara opened this issue Mar 9, 2018 · 6 comments

Comments

@ojassangameswara
Copy link

Hi, we are observing this error, and I am not sure I understand what the cause is. There is no clear indication in the proxysql.log file leading up to it. I can provide the core dump file if that would help debug

Thanks,
Ojas

proxysql: mysql_data_stream.cpp:472: int MySQL_Data_Stream::buffer2array(): Assertion `rc==0' failed.

Error: signal 6:

proxysql(_Z13crash_handleri+0x1a)[0x444a6a]

/lib64/libc.so.6(+0x35270)[0x7f8184b3e270]

/lib64/libc.so.6(gsignal+0x37)[0x7f8184b3e1f7]

/lib64/libc.so.6(abort+0x148)[0x7f8184b3f8e8]

/lib64/libc.so.6(+0x2e266)[0x7f8184b37266]

/lib64/libc.so.6(+0x2e312)[0x7f8184b37312]

proxysql[0x53f123]

proxysql(_ZN17MySQL_Data_Stream9read_pktsEv+0x1a)[0x53f14a]

proxysql(_ZN12MySQL_Thread27process_data_on_data_streamEP17MySQL_Data_Streamj+0x400)[0x466280]

proxysql(_ZN12MySQL_Thread3runEv+0xd2d)[0x46ec9d]

proxysql(_Z24mysql_worker_thread_funcPv+0x6c)[0x442e2c]

/lib64/libpthread.so.0(+0x7de5)[0x7f8186460de5]

/lib64/libc.so.6(clone+0x6d)[0x7f8184c0130d]

2018-03-05 18:42:24 main.cpp:814:ProxySQL_daemonize_
@renecannao
Copy link
Contributor

This seems related to compression.
A core dump is highly appreciated.

@renecannao
Copy link
Contributor

Also, please let me know what OS version are you running.
Thanks

@ojassangameswara
Copy link
Author

Sure, to what email can i send this file?

@renecannao
Copy link
Contributor

[email protected]

Thanks

@ojassangameswara
Copy link
Author

Thanks Rene, I have sent a zipped core dump file to you

@renecannao
Copy link
Contributor

A follow up on this issue.
Issue seems solved.
For some unknown reason (probably a client library bug), client seems to be sending uncompressed packets marked as compressed.
Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants