Bug #38044 | Falcon crash in StorageTable::compareKey at StorageTable.cpp:412 | ||
---|---|---|---|
Submitted: | 11 Jul 2008 11:01 | Modified: | 4 Oct 2008 13:40 |
Reporter: | Philip Stoev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | 6.0-falcon | OS: | Any |
Assigned to: | Christopher Powers | CPU Architecture: | Any |
[11 Jul 2008 11:01]
Philip Stoev
[11 Jul 2008 17:37]
Kevin Lewis
Chris, This call stack and debug output that Philip so competently provided shows that the index pointer is now pointing to invalid memory. So the index has been dropped while another client thread still has a pointer to it.
[25 Jul 2008 4:56]
Christopher Powers
This is reproducible using the short test case from Bug#38043: perl runall.pl --basedir=/path/to/mysql-6.0-falcon --engine=falcon \ --grammar=path/to/bug38043.yy --mysqld=--log-output=file --threads=2
[16 Aug 2008 22:07]
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/51810 2788 Christopher Powers 2008-08-16 Bug#38044 Falcon crash in StorageTable::compareKey Removed debugging code Added StorageTableShare::syncIndexes
[18 Aug 2008 3:56]
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/51817 2790 Christopher Powers 2008-08-17 Bug#38044 Falcon crash in StorageTable::compareKey - Removed debug code - Fixed compiler warnings - Fixed bug in StorageTableShare::getIndex() that caused optimization to fail
[18 Aug 2008 4:07]
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/51818 2790 Christopher Powers 2008-08-17 Bug#38044 Falcon crash in StorageTable::compareKey - Removed debug code - Fixed compiler warnings - Fixed bug in StorageTableShare::getIndex() that caused optimization to fail
[18 Aug 2008 4:47]
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/51819 2790 Christopher Powers 2008-08-17 Bug#38044 Falcon crash in StorageTable::compareKey - Removed debug code - Fixed compiler warnings - Fixed bug in StorageTableShare::getIndex() that caused optimization to fail
[18 Aug 2008 5:48]
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/51820 2787 Christopher Powers 2008-08-18 Bug#38044 Falcon crash in StorageTable::compareKey at StorageTable.cpp:412 Bug#38043 Deadlock between server and falcon when executing concurrent ALTER + DML Bug#38039 Assertion lockState == 0 failed in StorageTableShare::deleteTable SyncObject Bug#38041 Bizarre errors when ALTER ADD/DROP KEY on Falcon tables Improved index synchronization in the StorageInterface: - Falcon internal indexes no longer dependent upon server index id - Client connections lock StorageTableShare::syncIndexes to protect indexes across calls into StorageInterface - Changes to StorageTableShare::indexes are now protected by exclusive lock
[18 Aug 2008 16:56]
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/51859 2787 Christopher Powers 2008-08-18 Bug#38044 Falcon crash in StorageTable::compareKey at StorageTable.cpp:412 Bug#38043 Deadlock between server and falcon when executing concurrent ALTER + DML Bug#38039 Assertion lockState == 0 failed in StorageTableShare::deleteTable SyncObject Bug#38041 Bizarre errors when ALTER ADD/DROP KEY on Falcon tables Improved index synchronization in the StorageInterface: - Falcon internal indexes no longer dependent upon server index id - Client connections lock StorageTableShare::syncIndexes to protect indexes across calls into StorageInterface - Changes to StorageTableShare::indexes are now protected by exclusive lock
[18 Aug 2008 17:06]
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/51863 2787 Christopher Powers 2008-08-18 Bug#38044 Falcon crash in StorageTable::compareKey at StorageTable.cpp:412 Bug#38043 Deadlock between server and falcon when executing concurrent ALTER + DML Bug#38039 Assertion lockState == 0 failed in StorageTableShare::deleteTable SyncObject Bug#38041 Bizarre errors when ALTER ADD/DROP KEY on Falcon tables Improved index synchronization in the StorageInterface: - Falcon internal indexes no longer dependent upon server index id - Client connections lock StorageTableShare::syncIndexes to protect indexes across calls into StorageInterface - Changes to StorageTableShare::indexes are now protected by exclusive lock
[28 Aug 2008 4:37]
Bugs System
Pushed into 6.0.7-alpha (revid:cpowers@mysql.com-20080818054529-s9swke0xd15rx1fu) (version source revid:vvaintroub@mysql.com-20080827094944-sh582y3m7duhzrpj) (pib:3)
[14 Sep 2008 4:07]
Bugs System
Pushed into 6.0.6-alpha (revid:cpowers@mysql.com-20080818054529-s9swke0xd15rx1fu) (version source revid:hakan@mysql.com-20080716175219-8unfm2ikarselqpw) (pib:3)
[4 Oct 2008 13:40]
Jon Stephens
Documented bugfix in the 6.0.6 changelog as follows: Concurrent adding or dropping of indexes and execution of DML statements on a Falcon table could cause the server to crash.