Bug #30437 | repeatable crash with delete statement!!! | ||
---|---|---|---|
Submitted: | 15 Aug 2007 14:31 | Modified: | 16 Aug 2007 13:51 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | 6.0.2BK | OS: | Any |
Assigned to: | Christoffer Hall | CPU Architecture: | Any |
Tags: | crash |
[15 Aug 2007 14:31]
Shane Bester
[15 Aug 2007 14:43]
MySQL Verification Team
#---testcase--- drop table if exists `t1`; create table `t1`(`c1` int auto_increment not null primary key,`c2` varchar(1000),`c3` bigint,`c4` bigint,key(`c3`,`c4`))engine=falcon; insert into `t1`(`c2`,`c3`,`c4`) values ('a',123456,1); delete from `t1` where `c3` <> 123456;
[16 Aug 2007 12:40]
MySQL Verification Team
Christopher, my old 6.0.1 build doesn't crash, and neither does the build team's build. Still, Johan and myself built source yesterday, and it crashes. I used mysql.bkbits.com, the mysql-6.0-falcon tree. Perhaps it's some new bug?
[16 Aug 2007 12:48]
Christoffer Hall
My tests are done with a fresh pull. From late yesterday.
[16 Aug 2007 13:49]
Christoffer Hall
And with pull from 5 minutes ago. BK came back up.
[16 Aug 2007 16:39]
MySQL Verification Team
I still get from mysql.bkbits.net tree: (gdb) where #0 0xffffe410 in ?? () #1 0x4115918c in ?? () #2 0x0000000b in ?? () #3 0x000020d8 in ?? () #4 0x40253838 in pthread_kill () from /lib/tls/libpthread.so.0 #5 0x082f1857 in write_core () #6 0x081ebc9b in handle_segfault () #7 <signal handler called> #8 0x0833d5cf in Transaction::removeRecord () #9 0x083398d1 in Table::unlockRecord () #10 0x08339868 in Table::unlockRecord () #11 0x0832e4dc in StorageTable::unlockRow () #12 0x08325505 in StorageInterface::index_next () #13 0x0832539a in StorageInterface::read_range_first () #14 0x082aaf74 in handler::read_multi_range_first () #15 0x0829dda1 in QUICK_RANGE_SELECT::get_next () #16 0x082a3f6b in end_read_record () #17 0x0826795e in mysql_delete () #18 0x081f8337 in mysql_execute_command () #19 0x081fddf6 in mysql_parse () #20 0x081f4bbb in dispatch_command () #21 0x081f445e in do_command () #22 0x081f3507 in handle_one_connection () #23 0x40250aa7 in pthread_create () from /lib/tls/libpthread.so.0 #24 0x401e6c2e in clone () from /lib/tls/libc.so.6 (gdb) frame I cannot run mysqld in gdb on this machine, so I cannot study it more. Will try again, another time.
[16 Aug 2007 17:42]
MySQL Verification Team
christopher, this can't be a build problem. Windows debug 6.0.2BK build crashed too. Attached a trace.
Attachment: 6.0.2_win_stack.txt (text/plain), 5.09 KiB.
[16 Aug 2007 17:50]
MySQL Verification Team
"records" variable is NULL in the above dump.
[16 Aug 2007 17:59]
Kevin Lewis
Shane, you MUST test with today's code at bk-internal.mysql.com:/home/bk/mysql-5.1-falcon. I checked in a change two days ago for Bug#30364 that very well may fix this crash. That may be why nobody else can reproduce it. I cannot either. The source tree at mysql.bkbits.net is 13 days behind!