Signal 6 on shutdown on FreeBSD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Incomplete
|
High
|
Unassigned | ||
Percona-XtraDB |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I had installed 5.2.4 on FreeBSD 8.1-zfs, gcc 4.5.2
There is no problem with MySQL 5.1.54, but with MariaDB, I always got this when stopping mysqld.
101222 13:08:55 [Note] /usr/local/
101222 13:08:55 [Note] Event Scheduler: Purging the queue. 0 events
101222 13:08:55 InnoDB: Starting shutdown...
101222 13:08:55 InnoDB: Shutdown completed; log sequence number 132903848930
pure virtual method called
terminate called without an active exception
101222 13:08:55 [ERROR] mysqld got signal 6 ;
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=0
read_buffer_
max_used_
max_threads=502
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
101222 13:08:55 mysqld_safe mysqld restarted
To debug this, we need a stack trace. Can you obtain a core dump and run gcc on it with the command `bt` ?
(Or obtain a stack trace from the crash some other way?)
Also, it might be useful to get the exact commands used to build, since you mention gcc version I suppose you built mariadb yourself.