Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.36-galera, 5.5.37-galera
Description
tokudb_bugs.xa-3 test fails with following bt :
[New LWP 64569]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/mariadb/nirbhay/repo/testing/maria-5.5-galera/install/bin/mysqld --defaul'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f7afc931f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
#0 0x00007f7afc931f8c in pthread_kill () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x0000000000d1bab4 in my_write_core (sig=6) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/mysys/stacktrace.c:457
#2 0x00000000007f91a3 in handle_fatal_signal (sig=6) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/signal_handler.cc:262
#3 <signal handler called>
#4 0x00007f7afbf9c425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x00007f7afbf9fb8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x00007f7af6c92a7c in toku_do_backtrace_abort () at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/tokudb/ft-index/portability/toku_assert.cc:191
#7 0x00007f7af6c92b7a in toku_do_assert_fail (expr_as_string=0x7fffaa009b30 "Handlerton: error==0 ", function=0x7f7af6cd3161 <tokudb_end(handlerton*, ha_panic_function)::_FUNCTION_> "tokudb_end", file=0x7f7af6cd0fc0 "/home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/tokudb/hatoku_hton.cc", line=603, caller_errno=0) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/tokudb/ft-index/portability/toku_assert.cc:212
#8 0x00007f7af6baa593 in env_crash (db_env=0x7f7afb453480, msg=0x7fffaa009b30 "Handlerton: error==0 ", fun=0x7f7af6cd3161 <tokudb_end(handlerton*, ha_panic_function)::_FUNCTION_> "tokudb_end", file=0x7f7af6cd0fc0 "/home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/tokudb/hatoku_hton.cc", line=603, caller_errno=0) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/tokudb/ft-index/src/ydb.cc:2263
#9 0x00007f7af6b984b1 in toku_hton_assert_fail (expr_as_string=0x7f7af6ccf80d "error==0", fun=0x7f7af6cd3161 <tokudb_end(handlerton*, ha_panic_function)::_FUNCTION_> "tokudb_end", file=0x7f7af6cd0fc0 "/home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/tokudb/hatoku_hton.cc", line=603, caller_errno=0) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/tokudb/hatoku_hton.cc:219
#10 0x00007f7af6b999d5 in tokudb_end (hton=0x7f7af5fb6860, type=HA_PANIC_CLOSE) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/tokudb/hatoku_hton.cc:603
#11 0x00000000007fa941 in ha_finalize_handlerton (plugin=0x7f7afa7e3c58) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/handler.cc:420
#12 0x000000000063236c in plugin_deinitialize (plugin=0x7f7afa7e3c58, ref_check=true) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/sql_plugin.cc:1165
#13 0x000000000063276f in reap_plugins () at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/sql_plugin.cc:1242
#14 0x000000000063452c in plugin_shutdown () at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/sql_plugin.cc:1918
#15 0x0000000000566dca in clean_up (print_message=true) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/mysqld.cc:1948
#16 0x0000000000566c48 in unireg_abort (exit_code=1) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/mysqld.cc:1878
#17 0x000000000056bf7d in init_server_components () at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/mysqld.cc:4728
#18 0x000000000056e309 in mysqld_main (argc=90, argv=0x7f7afb4145b0) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/mysqld.cc:5623
#19 0x0000000000564310 in main (argc=15, argv=0x7fffaa00b138) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/sql/main.cc:25
Thread 30 (Thread 0x7f7afb3ff700 (LWP 64569)):
#0 0x00007f7afc9310fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x0000000000d238a9 in safe_cond_timedwait (cond=0x1dd0b80 <COND_checkpoint>, mp=0x1dd0ac0 <LOCK_checkpoint>, abstime=0x7f7afb3fed60, file=0xea6550 "/home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/maria/ma_servicethread.c", line=119) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/mysys/thr_mutex.c:547
#2 0x00000000009e7de8 in inline_mysql_cond_timedwait (that=0x1dd0b80 <COND_checkpoint>, mutex=0x1dd0ac0 <LOCK_checkpoint>, abstime=0x7f7afb3fed60, src_file=0xea6550 "/home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/maria/ma_servicethread.c", src_line=119) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/include/mysql/psi/mysql_thread.h:1017
#3 0x00000000009e82e0 in my_service_thread_sleep (control=0x146acb0 <checkpoint_control>, sleep_time=29000000000) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/maria/ma_servicethread.c:118
#4 0x00000000009dc01e in ma_checkpoint_background (arg=0x1e) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/maria/ma_checkpoint.c:705
#5 0x0000000000cd5fcf in pfs_spawn_thread (arg=0x7f7afa737940) at /home/mariadb/nirbhay/repo/testing/maria-5.5-galera/storage/perfschema/pfs.cc:1015
#6 0x00007f7afc92ce9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007f7afc059cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8 0x0000000000000000 in ?? ()