Bug #34322 Running falcon_bug_22154.test is hitting assertion
Submitted: 5 Feb 2008 18:46 Modified: 29 Aug 2008 20:37
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Falcon storage engine Severity:S3 (Non-critical)
Version:mysql-6.0-falcon-team bk OS:Linux (x86_64)
Assigned to: Assigned Account CPU Architecture:Any

[5 Feb 2008 18:46] Hakan Küçükyılmaz
Description:
Running falcon_bug_22154.test is hitting assertion.

How to repeat:
A slightly modified version of falcon_bug_22154.test is hitting an assertion. Please note that you need at least 4GB of RAM to successfully run this test. I will attach the modified version of falcon_bug_22154 to the bug report.

(gdb) f 4
#4  0x000000000082286c in SerialLogControl::nextRecord (this=0x43c86880)
    at SerialLogControl.cpp:313
313             ASSERT(*input >= (LOW_BYTE_FLAG | srlEnd) && *input <
(LOW_BYTE_FLAG | srlMax));

(gdb) bt
#0  0x00000033bdc0c44e in raise () from /lib64/tls/libpthread.so.0
#1  0x00000000007ecca2 in Error::debugBreak () at Error.cpp:92
#2  0x00000000007ecc2d in Error::error (string=Variable "string" is not
available.
) at Error.cpp:69
#3  0x00000000007ecc8c in Error::assertionFailed (
    fileName=0x4 <Address 0x4 out of bounds>, line=12578) at
Error.cpp:76
#4  0x000000000082286c in SerialLogControl::nextRecord (this=0x43c86880)
    at SerialLogControl.cpp:313
#5  0x0000000000827490 in SerialLogTransaction::commit
(this=0x2a97d26aa0)
    at SerialLogTransaction.cpp:84
#6  0x0000000000827634 in SerialLogTransaction::doAction (this=0x310a)
    at SerialLogTransaction.cpp:154
#7  0x000000000084c5b8 in Gopher::gopherThread (this=0x2a95785d28)
    at Gopher.cpp:66
#8  0x000000000084c4a5 in Gopher::gopherThread (arg=0x310a) at
Gopher.cpp:37
#9  0x00000000007c37c4 in Thread::thread (this=0x2a957910b8) at
Thread.cpp:161
#10 0x00000000007c3765 in Thread::thread (parameter=0x310a) at
Thread.cpp:140
#11 0x00000033bdc06137 in start_thread ()
from /lib64/tls/libpthread.so.0
#12 0x00000033bcfc7533 in clone () from /lib64/tls/libc.so.6
[5 Feb 2008 18:48] Hakan Küçükyılmaz
falcon_bug_22154.test and corresponding result file

Attachment: falcon_bug_22154.tar.gz (application/x-gzip, text), 4.18 KiB.

[6 Feb 2008 22:44] Hakan Küçükyılmaz
(gdb) f 4
#4  0x0000000000822a0c in SerialLogControl::nextRecord (this=0x43285880)
    at SerialLogControl.cpp:313
313             ASSERT(*input >= (LOW_BYTE_FLAG | srlEnd) && *input < (LOW_BYTE_FLAG | srlMax));
(gdb) p *input
$1 = 100 'd'

(gdb) p input
$2 = (
    const UCHAR *) 0x2a96b86e00 "d398¼Hello WorldHello World398Hello World398¼Hello WorldHello World398Hello World398¼Hello WorldHello World398Hello World398¼Hello WorldHello World398Hello World398¼Hello WorldHello World398Hello Worl"...
(gdb)
[7 Feb 2008 13:32] Vladislav Vaintroub
Running the test 5 times in a row on Windows x64 hits the same assertion.

ntdll.dll!DbgBreakPoint() 	
 	mysqld.exe!Error::debugBreak()  Line 94	C++
 	mysqld.exe!Error::error(const char * string=0x0000000140d325f0, ...)  Line 71	C++
 	mysqld.exe!Error::assertionFailed(const char * fileName=0x0000000140d63d20, int line=313)  Line 77	C++
>	mysqld.exe!SerialLogControl::nextRecord()  Line 313 + 0x37 bytes	C++
 	mysqld.exe!SerialLogTransaction::commit()  Line 84 + 0x1a bytes	C++
 	mysqld.exe!SerialLogTransaction::doAction()  Line 155	C++
 	mysqld.exe!Gopher::gopherThread()  Line 67	C++
 	mysqld.exe!Gopher::gopherThread(void * arg=0x0000000002a81b80)  Line 38	C++
 	mysqld.exe!Thread::thread()  Line 163	C++
 	mysqld.exe!Thread::thread(void * parameter=0x0000000002a8cf90)  Line 141	C++
 	kernel32.dll!BaseThreadInitThunk()  + 0xd bytes	
 	ntdll.dll!RtlUserThreadStart()  + 0x21 bytes
[29 Aug 2008 20:37] Vladislav Vaintroub
duplicate of Bug#36631