Bug #40786 | Maria crash in _lf_alloc_new | ||
---|---|---|---|
Submitted: | 17 Nov 2008 14:21 | Modified: | 27 Dec 2008 8:41 |
Reporter: | Philip Stoev | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Maria storage engine | Severity: | S1 (Critical) |
Version: | 6.0.8 | OS: | Any |
Assigned to: | Philip Stoev | CPU Architecture: | Any |
[17 Nov 2008 14:21]
Philip Stoev
[17 Nov 2008 14:43]
Philip Stoev
To reproduce, please use "classic" sysbench 0.4.8 from http://sourceforge.net/projects/sysbench and run: ./sysbench \ --test=oltp \ --mysql-host=127.0.0.1 \ --mysql-port=9306 \ --mysql-user=sb_user \ --mysql-db=sb_db \ --mysql-table-engine=maria \ --oltp-table-size=100000 \ --mysql-engine-trx=yes prepare ./sysbench \ --test=oltp \ --mysql-host=127.0.0.1 \ --mysql-port=9306 \ --mysql-user=sb_user \ --mysql-db=sb_db \ --mysql-table-engine=maria \ --max-requests=0 \ --max-time=1800 \ --num-threads=200 \ --mysql-engine-trx=yes run Note that 200 concurrent users are being simulated here.
[19 Nov 2008 15:32]
Guilhem Bichot
I installed the latest sysbench as indicated, then ran the indicated command lines. In sysbench's output, I saw a few: ALERT: failed to execute mysql_stmt_execute(): Err1062 Duplicate entry '5038' for key 'PRIMARY' FATAL: database error, exiting... but no crash, and sysbench ends saying "Done". I tested mysql-maria and mysql-6.0-maria, starting server with: ./mtr maria --start-and-exit --mysqld=--max-connections=3000 --gdb and creating database sb_db with a CREATE DATABASE. I used user "root" instead of "sb_user" for the sysbench command lines. Additionally, for mysql-maria, in the error log there are a few Warning: found too many locks at write_wait: enter write_lock I repeated the same test for 6.0-maria but without --gdb, still no problem. The table at the end of the test looks like this: -rw-rw---- 1 guilhem users 7618560 2008-11-19 16:29 sbtest.MAD -rw-rw---- 1 guilhem users 1826816 2008-11-19 16:29 sbtest.MAI and contains 100000 records. Philip, I believe I need access to your problematic machine. It could be 64-bit issue (I use linux 32-bit), or OS, or compiler (some atomic-operations code in Maria is sensitive to gcc bugs), if I can't repeat I won't be able to fix it. I was using the latest bzr trees. Compared to 6.0.8 there are a few more revisions, maybe it's would be worth for you to retry with the latest 6.0-maria?
[19 Nov 2008 15:59]
Guilhem Bichot
and also what build script or what build options you used (debug build, compiler options etc)
[20 Dec 2008 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[27 Dec 2008 8:41]
Philip Stoev
No longer repeatable with 6.0.9