Bug #40888 maria: Server crashes in sysbench OLTP_RW test at lf_alloc-pin.c:513
Submitted: 20 Nov 2008 15:43 Modified: 8 Jan 2009 10:38
Reporter: Alexey Stroganov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Maria storage engine Severity:S1 (Critical)
Version:6.0.8-release OS:Any
Assigned to: Sergei Golubchik CPU Architecture:Any

[20 Nov 2008 15:43] Alexey Stroganov
Description:
The crash with following backtrace was observed in OLTP_RW sysbench test:

#0  0x0000000000a909d4 in _lf_alloc_new (pins=0x1df3400) at lf_alloc-pin.c:513
#1  0x0000000000a8f91f in lf_hash_insert (hash=0x11e6780, pins=0x401eac20, data=0xffffffffffffffff) at lf_hash.c:373
#2  0x0000000000a11334 in trnman_new_trn (wt=0x1b5efa8) at trnman.c:344
#3  0x0000000000a23f1c in ha_maria::external_lock (this=0x2aab4d611248, thd=0x1b5db80, lock_type=0) at ha_maria.cc:2189
#4  0x000000000073c1aa in handler::ha_external_lock (this=0x1df3400, thd=0x401eac20, lock_type=-1) at handler.cc:5298
#5  0x00000000006422ab in mysql_lock_tables (thd=0x1b5db80, tables=<value optimized out>, count=<value optimized out>,
    flags=<value optimized out>, need_reopen=0x401eae27) at lock.cc:411
#6  0x000000000068d832 in lock_tables (thd=0x1b5db80, tables=0x0, count=<value optimized out>, flags=0,
    need_reopen=0x401eae27) at sql_base.cc:4465
#7  0x0000000000694295 in open_and_lock_tables_derived (thd=0x1b5db80, tables=0x1d40380, derived=true, flags=0)
    at sql_base.cc:4166
#8  0x0000000000656b77 in execute_sqlcom_select (thd=0x1b5db80, all_tables=0x1d40380) at mysql_priv.h:1620
#9  0x000000000065a9de in mysql_execute_command (thd=0x1b5db80) at sql_parse.cc:2066
#10 0x00000000006d4029 in Prepared_statement::execute (this=0x1d3eca0, expanded_query=<value optimized out>,
    open_cursor=false) at sql_prepare.cc:3578
#11 0x00000000006d6ffc in Prepared_statement::execute_loop (this=0x1d3eca0, expanded_query=0x401ec470, open_cursor=false,
    packet=<value optimized out>, packet_end=<value optimized out>) at sql_prepare.cc:3245
#12 0x00000000006d76a5 in mysql_stmt_execute (thd=0x1b5db80, packet_arg=0x1b60ff1 "\003", packet_length=15)
    at sql_prepare.cc:2467
#13 0x000000000065febe in dispatch_command (command=COM_STMT_EXECUTE, thd=0x1b5db80, packet=0x1b60ff1 "\003",
    packet_length=19) at sql_parse.cc:960
#14 0x0000000000652a72 in handle_one_connection (arg=<value optimized out>) at sql_connect.cc:1156
#15 0x00002afff11de193 in start_thread () from /lib64/libpthread.so.0
#16 0x00002afff1a5645d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()
Current language:  auto; currently c

How to repeat:
I am going to provide test case and instructions a bit later.
[15 Dec 2008 10:08] Bugs System
Pushed into 6.0.9-alpha  (revid:serg@mysql.com-20081205105151-tqxe1q4g3wqz0mk7) (version source revid:guilhem@mysql.com-20081213204800-0nubni3t4ihn4hv9) (pib:5)
[8 Jan 2009 10:38] MC Brown
Test case failure. No documentation needed.