Bug #29953 signal 11: Assertion failed ....
Submitted: 22 Jul 2007 1:48 Modified: 8 Aug 2007 20:48
Reporter: Ken Chen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Errors Severity:S2 (Serious)
Version:5.0.45 OS:FreeBSD
Assigned to: CPU Architecture:Any

[22 Jul 2007 1:48] Ken Chen
Description:
I am sure running with enough memory (4G real memory, datasize  2621440 kB). The OS is FreeBSD 6.2-RELEASE, and mysql-5.0.45 binary distribution.

It crashed in the morning, with very low loading.

070722  7:53:57 - 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=268435456
read_buffer_size=4190208
max_used_connections=111
max_connections=130
threads_connected=35
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 1326582 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Assertion failed: ("Pure virtual method called." == "Aborted"), function __cxa_pure_virtual, file my_new.cc, line 50.

Assertion failed: ("Pure virtual method called." == "Aborted"), function __cxa_pure_virtual, file my_new.cc, line 50.
Fatal signal 6 while backtracing
070722 07:53:57  mysqld restarted

How to repeat:
not sure.. It happened almost once a day.
[23 Jul 2007 7:29] Sveta Smirnova
Thank you for the report.

Please resolve stack dump as described at http://forge.mysql.com/wiki/MySQL_Internals_Porting#Using_a_Stack_Trace
[23 Jul 2007 22:56] Ken Chen
It's running with mysql-debug, please wait my reply.

Thanks!
[24 Jul 2007 15:28] Valeriy Kravchuk
Send your my.cnf also, please, and the results of:

uname -a
ulimit -a
[25 Jul 2007 9:44] Ken Chen
db1# uname -a
FreeBSD db1.xxx.com 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Jul 11 19:40:25 CST 2007     root@db1.xxx.com:/usr/src/sys/i386/compile/DB1  i386
db1# limits
Resource limits (current):
  cputime          infinity secs
  filesize         infinity kB
  datasize          2621440 kB
  stacksize          262144 kB
  coredumpsize     infinity kB
  memoryuse        infinity kB
  memorylocked     infinity kB
  maxprocesses         5547
  openfiles           32768
  sbsize           infinity bytes
  vmemoryuse       infinity kB
db1#
[31 Jul 2007 3:20] Valeriy Kravchuk
Please, send the results of:

show variables like 'innodb_locks%';

This looks like a duplicate of bug #27294.
[8 Aug 2007 20:48] Ken Chen
I change the OS from FreeBSD to Linux. Please close this bug, I will open a new bug happening on Linux.