invalid fastbin entry (free) detected in close_thread_tables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Incomplete
|
Low
|
Michael Widenius |
Bug Description
The following INSERT + DELETE RQG workload causes the following crash:
2010-11-
# 2010-11-23T09:07:39 #4 0x000000307b6341a5 in abort () at abort.c:92
# 2010-11-23T09:07:39 #5 0x000000307b66fe2b in __libc_message (do_abort=2, fmt=0x307b743a78 "*** glibc detected *** %s: %s: 0x%s ***\n")
# 2010-11-23T09:07:39 at ../sysdeps/
# 2010-11-23T09:07:39 #6 0x000000307b675746 in malloc_printerr (action=3, str=0x307b741ba8 "invalid fastbin entry (free)", ptr=<value optimized out>) at malloc.c:6280
# 2010-11-23T09:07:39 #7 0x000000000064e081 in close_thread_tables (thd=0x2458c60) at sql_base.cc:1350
# 2010-11-23T09:07:39 #8 0x000000000061537c in dispatch_command (command=<value optimized out>, thd=0x2458c60, packet=0x245a570 "\001", packet_
# 2010-11-23T09:07:39 at sql_parse.cc:1701
# 2010-11-23T09:07:39 #9 0x00000000006168f1 in do_command (thd=0x2458c60) at sql_parse.cc:895
# 2010-11-23T09:07:39 #10 0x000000000060823f in handle_
# 2010-11-23T09:07:39 #11 0x000000307ba07761 in start_thread (arg=0x7f5d6573
# 2010-11-23T09:07:39 #12 0x000000307b6e150d in clone () at ../sysdeps/
It is repeatable in about 50% of the test runs within 10 minutes from the start of the test.
Changed in maria: | |
milestone: | none → 5.1 |
Changed in maria: | |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in maria: | |
importance: | Critical → Low |
To reproduce with the RQG:
perl runall.pl --duration=1000000 --mysqld= --key_buffer_ size=256M --mysqld= --myisam_ recover= BACKUP, FORCE --mysqld= --log-output= none --mysqld= --thread_ stack=256K --mysqld= --thread_ cache_size= 128 --mysqld= --table_ cache=2048 --mysqld=-- max_heap_ table_size= 64M --mysqld= --skip- external- locking --mysqld= --open- files-limit= 8000 --threads=30 --queries=100M --grammar=bug680408.yy --mysqld= --init- file=/full/ path/to/bug680408.init --basedir= /home/philips/ dreas/mariadb- 5.1.50- Linux-x86_ 64