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

ProxySQL 2.0.4 crash due to signal 11 #2131

Closed
KannanDk opened this issue Jul 11, 2019 · 3 comments
Closed

ProxySQL 2.0.4 crash due to signal 11 #2131

KannanDk opened this issue Jul 11, 2019 · 3 comments

Comments

@KannanDk
Copy link

ProxySQL 2.0.4 crashed with signal 11.

ProxySQL version 2.0.4-116-g7d371cf, codename Truls
OS version : CentOS Linux release 7.5.1804 (Core)

Proxysql Error log :-

Error: signal 11:

proxysql(_Z13crash_handleri+0x1a)[0x4a219a]
/lib64/libc.so.6(+0x362f0)[0x7f8abe1182f0]
proxysql(_ZN13MySQL_Session7handlerEv+0x3212)[0x4fb172]
proxysql(_ZN12MySQL_Thread20process_all_sessionsEv+0x24c)[0x4dac1c]
proxysql(_ZN12MySQL_Thread3runEv+0xe16)[0x4e3bb6]
proxysql(_Z24mysql_worker_thread_funcPv+0x6c)[0x49eb2c]
/lib64/libpthread.so.0(+0x7e25)[0x7f8abf2f7e25]
/lib64/libc.so.6(clone+0x6d)[0x7f8abe1e0bad]
2019-07-09 19:09:29 main.cpp:1371:ProxySQL_daemonize_phase3(): [ERROR] ProxySQL crashed. Restarting!
2019-07-09 19:09:29 [INFO] ProxySQL version 2.0.4-116-g7d371cf
2019-07-09 19:09:29 [INFO] ProxySQL SHA1 checksum: cb3d13d3cc4cb732e5197b89fbcecbf193ecf257
2019-07-09 19:09:29 [INFO] Angel process started ProxySQL process

Core dump :

#0 MySQL_Session::handler (this=this@entry=0x7f8ab953ae80) at MySQL_Session.cpp:3506
sqlstate = "2019-07-09"
retry_conn =
myerr = 1317
errmsg = 0x0
myconn = 0x0
myds = 0x7f8ab1a9a280
rc =
begint = {tv_sec = 0, tv_nsec = 140233880645926}
endt = {tv_sec = 32768, tv_nsec = 102}
prepared_stmt_with_no_params = false
pkt = {ptr = 0x7f8aaff80dc0, size = 3207587753}
c =
PRETTY_FUNCTION = "int MySQL_Session::handler()"
func = "handler"
wrong_pass = false
#1 0x00000000004dac1c in MySQL_Thread::process_all_sessions (this=this@entry=0x7f8ab9400000) at MySQL_Thread.cpp:3675
sess = 0x7f8ab953ae80
total_active_transactions_ = 0
idle_maintenance_thread = false
sess_sort =
n = 7
rc =
#2 0x00000000004e3bb6 in MySQL_Thread::run (this=this@entry=0x7f8ab9400000) at MySQL_Thread.cpp:3427
num_idles =
ttw =
maintenance_interval =
idle_maintenance_thread =
PRETTY_FUNCTION = "void MySQL_Thread::run()"
func = "run"
n =
rc =
#3 0x000000000049eb2c in mysql_worker_thread_func (arg=0x7f8abdc928b0) at main.cpp:627
thread_attr = {__size = '\000' <repeats 17 times>, "\020", '\000' <repeats 37 times>, __align = 0}
tmp_stack_size = 8388608
mysql_thread = 0x7f8abdc928b0
worker = 0x7f8ab9400000
#4 0x00007f8abf2f7e25 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5 0x00007f8abe1e0bad in clone () from /lib64/libc.so.6
No symbol table info available.

renecannao added a commit that referenced this issue Jul 14, 2019
Interrupting the execution of a prepared statement could cause a crash
Related to acf49f8
@renecannao
Copy link
Contributor

Thank you for the report!
Patch should be ready for 2.0.6 .
Closing

@hmphu
Copy link

hmphu commented Jul 22, 2019

@renecannao i faced the same issue today. Do you know when the 2.0.6 ready?

@jimmykuo
Copy link

jimmykuo commented Aug 12, 2019

@renecannao
Is the 2.0.6 ready to release ?
We need .deb packages, thank you 🙏

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

4 participants