Bug #42274 | Running iuds6.tst leads to assertion in Falcon | ||
---|---|---|---|
Submitted: | 22 Jan 2009 18:25 | Modified: | 7 May 2009 15:53 |
Reporter: | Hakan Küçükyılmaz | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | OS: | Linux | |
Assigned to: | Christopher Powers | CPU Architecture: | Any |
Tags: | F_CHILL THAW |
[22 Jan 2009 18:25]
Hakan Küçükyılmaz
[23 Jan 2009 12:52]
Hakan Küçükyılmaz
I get the assertion when running DBT2, too: Version: '6.0.10-alpha' socket: '/tmp/mysql.sock' port: 3306 'MySQL-Community-Server' [Falcon] Error: assertion (prune->useCount == 1) failed at line 149 in file RecordLeaf.cpp 090116 16:47:26 - 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=8388608 read_buffer_size=1048576 max_used_connections=99 max_threads=1601 thread_count=99 connection_count=99 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 4943537 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x0 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 0x40000 /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(my_print_stacktrace+0x2e) [0xaa9d5e] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(handle_segfault+0x336) [0x655ed6] /lib64/libpthread.so.0 [0x2b22aca98c00] /lib64/libpthread.so.0(raise+0x2d) [0x2b22aca98aad] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Error::error(char const*, ...)+0xf9) [0x85a999] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(RecordLeaf::pruneRecords(Table*, int, RecordScavenge*)+0xc4) [0x8d6d54] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(RecordGroup::pruneRecords(Table*, int, RecordScavenge*)+0x50) [0x9313f0] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(RecordGroup::pruneRecords(Table*, int, RecordScavenge*)+0x50) [0x9313f0] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(RecordGroup::pruneRecords(Table*, int, RecordScavenge*)+0x50) [0x9313f0] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Table::pruneRecords(RecordScavenge*)+0x60) [0x86e270] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Database::pruneRecords(RecordScavenge*)+0x51) [0x897b61] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Database::scavengeRecords()+0x57) [0x897c37] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Database::scavenge()+0xba) [0x89b4aa] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Database::scavengerThreadMain(void*)+0x45) [0x89d7e5] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Thread::thread()+0x95) [0x87bb55] /data0/work/mysql/mysql-6.0-falcon/sql/mysqld(Thread::thread(void*)+0x11) [0x87bd51] /lib64/libpthread.so.0 [0x2b22aca91143] /lib64/libc.so.6(__clone+0x6d) [0x2b22ad1ca8cd]
[25 Jan 2009 7:27]
Kevin Lewis
This assert has been seen many times with the new scavenger
[25 Jan 2009 7:33]
Kevin Lewis
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/63991 2972 Christopher Powers 2009-01-24 Bug #41663, "Falcon assertion (deferredIndex->virtualOffset) failed at Index.cpp:264" Don't try to chill empty deferred indexes. This patch also eliminates the assert in Bug#42274 and instead prevents the prune from happening for this record chain in the current cycle.
[26 Jan 2009 17:46]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/64062 2976 Christopher Powers 2009-01-26 Bug #42274, "Running iuds6.tst leads to assertion in Falcon" Eliminate the use count assertion in RecordLeaf::pruneRecords(). The occasional unexpected use count must still be resolved, but this is not a critical issue. The record chain can simply be skipped during the scavenge process.
[13 Feb 2009 7:23]
Bugs System
Pushed into 6.0.10-alpha (revid:alik@sun.com-20090211182317-uagkyj01fk30p1f8) (version source revid:vvaintroub@mysql.com-20090126231319-7b6yu4zqp2xfxuqg) (merge vers: 6.0.10-alpha) (pib:6)
[7 May 2009 15:53]
MC Brown
Internal/test failure. No changelog entry required.