Bug #39296 | LOAD DATA LOCAL INFILE leads to crash in Bdb::mark() | ||
---|---|---|---|
Submitted: | 7 Sep 2008 20:04 | Modified: | 9 Jan 2009 14:13 |
Reporter: | Hakan Küçükyılmaz | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | 6.0-falcon-team bzr | OS: | Any |
Assigned to: | Kelly Long | CPU Architecture: | Any |
Tags: | falcon, LOAD DATA INFILE |
[7 Sep 2008 20:04]
Hakan Küçükyılmaz
[7 Sep 2008 20:41]
Hakan Küçükyılmaz
Crash is at void Bdb::mark(TransId transId) { ASSERT(useCount > 0); ASSERT(lockType == Exclusive); ASSERT(!dbb->isReadOnly); dbb is null
[9 Sep 2008 21:38]
Kelly Long
Using hashTable array value without acquiring hashTableLock first in Cache.cpp code.
[9 Sep 2008 22:41]
Kevin Lewis
Kelly committed and pushed this change; revno: 2812 revision-id: klong@mysql.com-20080909205757-4muonehvc87iajya parent: vvaintroub@mysql.com-20080906051438-pw74r0tusp0oyimy committer: Kelly Long <klong@mysql.com> branch nick: mysql-6.0-falcon-team-bug39296 timestamp: Tue 2008-09-09 14:57:57 -0600 message: Fix bug 39296. some code cleanup: don't do explicit unlock if just before return(). fix white space - indenting Moved some code that was duplicated to be inside getFreeBuffer(). One copy.
[9 Sep 2008 22:43]
Kevin Lewis
bzr diff -p1 -r2811..2812
Attachment: 39296.patch.txt (text/plain), 5.37 KiB.
[9 Sep 2008 22:44]
Kevin Lewis
The code changes look good to me.
[9 Jan 2009 14:13]
MC Brown
A note has been added to the 6.0.7 changelog: Running LOAD DATA INFILE on a large source data into a Falcon table with millions of rows, a crash could occur.