HandlerSocket-Plugin-for-MySQL icon indicating copy to clipboard operation
HandlerSocket-Plugin-for-MySQL copied to clipboard

HandlerSocket Make MySQLD got signal 11

Open wubx opened this issue 13 years ago • 3 comments

HandlerSocket Make MySQLD got signal 11 Version: Percona-Server-5.1.58-12.9 mysql error log :

  • mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail.

key_buffer_size=67108864 read_buffer_size=524288 max_used_connections=20 max_threads=1100 threads_connected=37 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1203924 K bytes of memory Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x2ab42e157b60 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x540470e0 thread_stack 0x30000 /usr/local/mysql/libexec/mysqld(my_print_stacktrace+0x24) [0x842d64] /usr/local/mysql/libexec/mysqld(handle_segfault+0x351) [0x58ad61] /lib64/libpthread.so.0 [0x331500eb10] /usr/local/mysql/lib/mysql/plugin/handlersocket.so(dena::hstcpsvr_worker::do_exec_on_index(char_, char_, char_, char_, dena::hstcpsvr_conn&)+0x194) [0x2aaaaede0824] /usr/local/mysql/lib/mysql/plugin/handlersocket.so(dena::hstcpsvr_worker::execute_lines(dena::hstcpsvr_conn&)+0x56) [0x2aaaaede0ff6] /usr/local/mysql/lib/mysql/plugin/handlersocket.so(dena::hstcpsvr_worker::run_one_ep()+0x524) [0x2aaaaede1b34] /usr/local/mysql/lib/mysql/plugin/handlersocket.so(dena::hstcpsvr_worker::run()+0x9d) [0x2aaaaede279d] /usr/local/mysql/lib/mysql/plugin/handlersocket.so(dena::threaddena::worker_throbj::thread_main(void*)+0xd) [0x2aaaaede6fcd] /lib64/libpthread.so.0 [0x331500673d] /lib64/libc.so.6(clone+0x6d) [0x33144d3d1d]

Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query ((nil)): is an invalid pointer Connection ID (thread ID): 17 Status: NOT_KILLED

how to repeat? don't know.

BTW: May be epoll lost some fd.

wubx avatar Oct 31 '11 03:10 wubx

Are you using a binary rpm package downloaded from Percona? Which rpm are you using, rhel4, 5, or 6? What's the version of your OS?

ahiguti avatar Oct 31 '11 15:10 ahiguti

Yes. Downloaded binary package: Percona-Server-5.1.58-rel12.9-271.Linux.x86_64.tar.gz OS: CentOS5.5 .

wubx avatar Nov 01 '11 07:11 wubx

I had the same issue on Ubuntu Server 10.04.3 LTS x86_64 with Mysql 5.1.41-3ubuntu12.10

After running "INSTALL PLUGIN handlersocket SONAME 'handlersocket.so'", process mysqld crashed:

handlersocket: initialized 120104 2:24:00 [Note] Event Scheduler: Loaded 0 events 120104 2:24:00 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.1.41-3ubuntu12.10' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu) 120104 2:24:00 - mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail.

key_buffer_size=16777216 read_buffer_size=131072 max_used_connections=0 max_threads=151 threads_connected=17 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 346495 K bytes of memory Hope that's ok; if not, decrease some variables in the equation.

thd: 0x7fe76f934190 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = (nil) thread_stack 0x30000 /usr/sbin/mysqld(my_print_stacktrace+0x29) [0x7fe76cd491a9] /usr/sbin/mysqld(handle_segfault+0x404) [0x7fe76ca56884] /lib/libpthread.so.0(+0xf8f0) [0x7fe76c2c78f0] /usr/sbin/mysqld(my_pthread_fastmutex_lock+0xd) [0x7fe76cd4fadd] /usr/lib/mysql/plugin/handlersocket.so(dena::dbcontext::init_thread(void const_, int volatile&)+0x202) [0x7fe767ad9ca2] /usr/lib/mysql/plugin/handlersocket.so(dena::hstcpsvr_worker::run()+0x28) [0x7fe767ae2708] /usr/lib/mysql/plugin/handlersocket.so(dena::threaddena::worker_throbj::thread_main(void_)+0xd) [0x7fe767ae6e8d] /lib/libpthread.so.0(+0x69ca) [0x7fe76c2be9ca] /lib/libc.so.6(clone+0x6d) [0x7fe76adf470d] Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at (nil) is an invalid pointer thd->thread_id=0 thd->killed=NOT_KILLED The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash.

But, if remove all handlersocket config parameters from /etc/mysql/my.cnf ,the command "INSTALL PLUGIN handlersocket SONAME 'handlersocket.so'" is sucessfull.

TheCluster avatar Jan 04 '12 00:01 TheCluster