sigsegv on startup with SphinxSE plugin and userstat enabled

Bug #1197794 reported by kernel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
New
Undecided
Unassigned

Bug Description

I suppose, this is rather incompatibility than a bug, but should be fixed anyway.
May be disable userstat for SphinxSE engine?

The problem is: mysqld crashes on startup with sigsegv when having ha_sphinx.so plugin registered and userstat option enabled in my.cnf.

The first time I've loaded SphinxSE plugin it works just fine, but after shutdown mysqld keeps crashing on startup until I've disabled userstat in my.cnf.

Here is the log:
130704 19:32:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130704 19:32:52 [Note] Plugin 'FEDERATED' is disabled.
15:32:52 UTC - 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.
Please help us make Percona Server better by reporting any
bugs at http://bugs.percona.com/

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

Thread pointer: 0x7fffc0fe5b80
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 = 7fffc0fe5650 thread_stack 0x20000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7c9c9e]
/usr/sbin/mysqld(handle_fatal_signal+0x491)[0x6b2201]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf210)[0x7fb687f70210]
/usr/sbin/mysqld(my_hash_insert+0x345)[0x7ad265]
/usr/sbin/mysqld(_ZN7handler25update_global_table_statsEv+0x1f1)[0x6b8021]
/usr/sbin/mysqld(_Z18close_thread_tableP3THDPP5TABLE+0x54)[0x580df4]
/usr/sbin/mysqld(_Z19close_thread_tablesP3THD+0x14b)[0x5811ab]
/usr/sbin/mysqld(_Z18close_mysql_tablesP3THD+0x11)[0x58b5d1]
/usr/sbin/mysqld[0x5c7db9]
/usr/sbin/mysqld(_Z11plugin_initPiPPci+0x9a3)[0x5caa53]
/usr/sbin/mysqld[0x54f0ea]
/usr/sbin/mysqld(_Z11mysqld_mainiPPc+0x457)[0x54fe27]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fb686a42a55]
/usr/sbin/mysqld[0x54646d]

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

Pecona Server 5.5.31-rel30.3-520.wheezy (binary from deb pkg)
SphinxSE: built plugin only from 2.1.1-beta src against Percona-Server-5.5.31-rel30.3 src with -DBUILD_CONFIG=mysql_release

This bug on sphinx's bugtracker: http://sphinxsearch.com/bugs/view.php?id=1599

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.