Bug #37652 | ref_count is incorrect when using fulltext plugin | ||
---|---|---|---|
Submitted: | 26 Jun 2008 3:15 | Modified: | 27 Jan 2009 19:26 |
Reporter: | Hao Wu | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.1.25, 5.1.30 | OS: | Linux (opensuse 11) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | fulltext, plugin |
[26 Jun 2008 3:15]
Hao Wu
[26 Jan 2009 22:00]
Hartmut Holzgraefe
Still exists in 5.1.30: Version: '5.1.30-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution mysqld: protocol.cc:416: void net_end_statement(THD*): Assertion `0' failed. /usr/local/mysql-5.1.30/libexec/mysqld(my_print_stacktrace+0x2e)[0x99e758] /usr/local/mysql-5.1.30/libexec/mysqld(handle_segfault+0x276)[0x641297] /lib/libpthread.so.0[0x7f098c3610f0] /lib/libc.so.6(gsignal+0x35)[0x7f098b520fd5] /lib/libc.so.6(abort+0x183)[0x7f098b522b43] /lib/libc.so.6(__assert_fail+0xe9)[0x7f098b519d49] /usr/local/mysql-5.1.30/libexec/mysqld(_Z17net_end_statementP3THD+0x1ad)[0x638425] /usr/local/mysql-5.1.30/libexec/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1550)[0x657e4a] /usr/local/mysql-5.1.30/libexec/mysqld(_Z10do_commandP3THD+0x232)[0x6582e3] /usr/local/mysql-5.1.30/libexec/mysqld(handle_one_connection+0x36f)[0x64921e] /lib/libpthread.so.0[0x7f098c3593ea]
[26 Jan 2009 22:03]
Hartmut Holzgraefe
gdb backtrace from 5.1.30: (gdb) bt #0 0x00007f098c35e1e6 in pthread_kill () from /lib/libpthread.so.0 #1 0x000000000099e728 in my_write_core (sig=6) at stacktrace.c:310 #2 0x0000000000641433 in handle_segfault (sig=6) at mysqld.cc:2508 #3 <signal handler called> #4 0x00007f098b520fd5 in raise () from /lib/libc.so.6 #5 0x00007f098b522b43 in abort () from /lib/libc.so.6 #6 0x00007f098b519d49 in __assert_fail () from /lib/libc.so.6 #7 0x0000000000638425 in net_end_statement (thd=0x2d3fec8) at protocol.cc:416 #8 0x0000000000657e4a in dispatch_command (command=<value optimized out>, thd=0x2d3fec8, packet=0x2d94379 "alter table test_t engine=myisam", packet_length=47453968) at sql_parse.cc:1566 #9 0x00000000006582e3 in do_command (thd=0x2d3fec8) at sql_parse.cc:857 #10 0x000000000064921e in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1115 #11 0x00007f098c3593ea in start_thread () from /lib/libpthread.so.0 #12 0x00007f098b5d4c6d in clone () from /lib/libc.so.6 #13 0x0000000000000000 in ?? ()
[27 Jan 2009 19:26]
Sergey Vojtovich
Both problems were fixed by patch for BUG#39746 in 5.1.31. The very same test case was added as fulltext_plugin.test. Closing as duplicate.