Bug #26475 | delete causing crash | ||
---|---|---|---|
Submitted: | 19 Feb 2007 6:56 | Modified: | 20 Jul 2007 12:15 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | 6.0.0-alpha | OS: | Linux (suse9.3 x86) |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash |
[19 Feb 2007 6:56]
Shane Bester
[19 Feb 2007 7:00]
MySQL Verification Team
testcase
Attachment: bug26475.c (text/plain), 4.93 KiB.
[19 Feb 2007 7:02]
MySQL Verification Team
i left out that after the delete statement there is a "commit" happening.
[18 Apr 2007 6:55]
Hakan Küçükyılmaz
Can't repeat this anymore: waiting for worker threads to finish... hakan@lu0011:~/work/mysql/testing$
[18 Apr 2007 13:21]
MySQL Verification Team
i also can no longer repeat a crash on mysql-6.0.0-falcon-alpha-linux-i686 using this testcase. i had tried at 15 and 50 threads, with no crash.
[18 Apr 2007 13:47]
MySQL Verification Team
I lied. It still crashes at 50 threads. 0x81fbb65 handle_segfault + 541 0x83dda41 _ZN6Record6addRefEv + 11 0x8382230 _ZN15StorageDatabase9deleteRowEP17StorageConnectionP5Tablei + 88 0x838578c _ZN12StorageTable9deleteRowEi + 44 0x837c657 _ZN15NfsStorageTable10delete_rowEPKc + 171 0x82e541f _ZN7handler13ha_delete_rowEPKc + 33 0x828c580 _Z12mysql_deleteP3THDP13st_table_listP4ItemP11st_sql_listyyb + 3056 0x820ada4 _Z21mysql_execute_commandP3THD + 11894 0x821142b _Z11mysql_parseP3THDPcj + 299 0x8206871 _Z16dispatch_command19enum_server_commandP3THDPcj + 2073 0x820604c _Z10do_commandP3THD + 612 0x8204c15 handle_one_connection + 253 0x40250aa7 _end + 933645719 0x401e6c2e _end + 933211934 New value of fp=(nil) failed sanity check, terminating stack trace! Please read http://dev.mysql.com/doc/mysql/en/using-stack-trace.html and follow instructions on how to resolve the stack trace. Resolved stack trace is much more helpful in diagnosing the problem, so please do resolve it Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x91064a0 = delete from t1 limit 10 thd->thread_id=51
[26 Jun 2007 18:54]
Jim Starkey
Falcon transaction behavior has changed since this was posted. Falcon now hangs on second and subsequent connection pending the first connection to commit or rollback. The crash occurs neither running the blob updates manually or by the supplied test program.
[3 Jul 2007 8:39]
MySQL Verification Team
I confirm that falcon doesn't crash using the supplied testcase. I even tried at 50 threads and it ran for an hour with no crash. Seems fixed indeed.
[20 Jul 2007 12:15]
MC Brown
A note has been added to the 6.0.1 changelog: DELETE statements could cause a crash when many simultaneous threads are running.