Bug #26330 falcon crashes in Table::fetchNext
| Submitted: | 13 Feb 2007 16:11 | Modified: | 17 Sep 2007 17:02 |
|---|---|---|---|
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Falcon storage engine | Severity: | S3 (Non-critical) |
| Version: | 5.2.3-falcon-alpha-debug | OS: | Linux (suse9.3 x86) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | assertion, crash | ||
[13 Feb 2007 16:11]
Shane Bester
[13 Feb 2007 16:11]
Shane Bester
see header of file for compile instructions + host,user,database,port
Attachment: testcase.c (text/plain), 7.03 KiB.
[14 Feb 2007 12:26]
Hakan Küçükyılmaz
Verified as described.
Backtrace is:
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 1127549872 (LWP 13112)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x40182541 in raise () from /lib/tls/libc.so.6
#2 0x08457822 in Error::debugBreak () at Error.cpp:93
#3 0x0845787f in Error::error (
string=0x8764598 "assertion failed at line %d in file %s\n")
at Error.cpp:70
#4 0x0845790f in Error::assertionFailed (fileName=0x875d358 "Table.cpp",
line=481) at Error.cpp:77
#5 0x084207ab in Table::fetchNext (this=0x405247d8, start=11159)
at Table.cpp:481
#6 0x08411653 in StorageDatabase::next (this=0x404fa5d4,
storageTable=0x417bf034, recordNumber=11159) at StorageDatabase.cpp:243
#7 0x08415b33 in StorageTable::next (this=0x417bf034, recordNumber=11159)
at StorageTable.cpp:110
#8 0x0840f444 in NfsStorageTable::rnd_next (this=0x8a0e6b0,
buf=0x8a0e818 "\006\201 ") at ha_falcon.cpp:421
#9 0x0834f625 in rr_sequential (info=0x89ee908) at records.cc:362
#10 0x082cd0ce in sub_select (join=0x89ed2c8, join_tab=0x89ee8c8,
end_of_records=false) at sql_select.cc:10543
#11 0x082cd429 in do_select (join=0x89ed2c8, fields=0x89e50c8, table=0x0,
procedure=0x0) at sql_select.cc:10301
#12 0x082e0de0 in JOIN::exec (this=0x89ed2c8) at sql_select.cc:1909
#13 0x082e1137 in mysql_select (thd=0x89e4d58, rref_pointer_array=0x89e5158,
tables=0x89ecd50, wild_num=0, fields=@0x89e50c8, conds=0x89ed170,
og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0,
select_options=2147764736, result=0x89ed2b8, unit=0x89e4e00,
select_lex=0x89e503c) at sql_select.cc:2074
#14 0x082e1411 in handle_select (thd=0x89e4d58, lex=0x89e4d98,
result=0x89ed2b8, setup_tables_done_option=0) at sql_select.cc:256
#15 0x08276a72 in execute_sqlcom_select (thd=0x89e4d58, all_tables=0x89ecd50)
at sql_parse.cc:5344
#16 0x0827c483 in mysql_execute_command (thd=0x89e4d58) at sql_parse.cc:2699
#17 0x0828411c in mysql_parse (thd=0x89e4d58,
inBuf=0x89ecb78 "select c1 from t1 where c2='oltszrfpbvpmqqcinjwvpzqvbtjalvlzhzsneusbiaovlanwhyhmobhjqpkxpygacapulgcjscflqtbtizfwmeolqxzfshkwlysyovnhvimylodqartwoepufwkxwwuw'", length=157) at sql_parse.cc:6162
#18 0x08284b27 in dispatch_command (command=COM_QUERY, thd=0x89e4d58,
packet=0x8c629d1 "", packet_length=158) at sql_parse.cc:1857
#19 0x08285b8e in do_command (thd=0x89e4d58) at sql_parse.cc:1626
#20 0x0828603f in handle_one_connection (arg=0x89e4d58) at sql_parse.cc:1232
#21 0x40284297 in start_thread () from /lib/tls/libpthread.so.0
#22 0x4021937e in clone () from /lib/tls/libc.so.6
#23 0x43350bb0 in ?? ()
Regards, Hakan
[18 Feb 2007 20:13]
Jim Starkey
The "test case" does random operations in multiple threads, making it virtually useless for either reproducing a bug or demonstrating that the bug has been fixed. If you'd like a fix in the foreseeable future, please try to make a deterministic test case.
[19 Feb 2007 5:39]
Shane Bester
put back into analyzing and re-assigning to myself to make a better testcase.
[13 Apr 2007 19:25]
Hakan Küçükyılmaz
Shane, please consider to get a "semi" random test case for this bug. For instance you can look into my heavily modified version of BUG#26324. Best regards, Hakan
[17 Sep 2007 17:02]
Hakan Küçükyılmaz
Does not crash anymore. Tested with latest Falcon code. Test case ran full 5600 seconds without crash or hang on my Linux laptop. Best regards, Hakan
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.