invalid fastbin entry (free) detected in close_thread_tables

Bug #680408 reported by Philip Stoev
6
This bug affects 1 person
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-23T09:07:39 #3 0x000000307b6329c5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
# 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/unix/sysv/linux/libc_fatal.c:186
# 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_length=335563336)
# 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_one_connection (arg=0x2458c60) at sql_connect.cc:1138
# 2010-11-23T09:07:39 #11 0x000000307ba07761 in start_thread (arg=0x7f5d65738710) at pthread_create.c:301
# 2010-11-23T09:07:39 #12 0x000000307b6e150d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

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
Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :
Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :
Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :

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

Changed in maria:
assignee: nobody → Michael Widenius (monty)
Michael Widenius (monty)
Changed in maria:
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
Michael Widenius (monty) wrote :

Have not been able to repeat this :(

Changed in maria:
status: In Progress → Incomplete
Michael Widenius (monty)
Changed in maria:
importance: Critical → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.