Skip to content

Instantly share code, notes, and snippets.

@nirbhayc
Created May 25, 2016 10:04
Show Gist options
  • Save nirbhayc/a7691baacc94f1248580b750ae62037c to your computer and use it in GitHub Desktop.
Save nirbhayc/a7691baacc94f1248580b750ae62037c to your computer and use it in GitHub Desktop.
Thread 1 (Thread 0x7f9897f3e700 (LWP 3536)):
#0 0x00007f98956cc621 in __pthread_kill (threadid=<optimized out>, signo=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:61
#1 0x00007f989791dc2f in my_write_core (sig=11) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/mysys/stacktrace.c:456
#2 0x00007f98972ce554 in handle_fatal_signal (sig=11) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/signal_handler.cc:273
#3 <signal handler called>
#4 0x00007f989703e04b in I_P_List_iterator<TABLE, I_P_List<TABLE, All_share_tables, I_P_List_null_counter, I_P_List_no_push_back<TABLE> > >::I_P_List_iterator (this=0x7f9897f3bdf0, a=...) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_plist.h:181
#5 0x00007f9897182d85 in TABLE_SHARE::visit_subgraph (this=0x7f9888b47e88, wait_for_flush=0x7f9897f3bef0, gvisitor=0x7f9897f3be80) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/table.cc:3937
#6 0x00007f9897182cbf in Wait_for_flush::accept_visitor (this=0x7f9897f3bef0, gvisitor=0x7f9897f3be80) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/table.cc:3896
#7 0x00007f98971ce7cc in MDL_context::visit_subgraph (this=0x7f988c2db168, gvisitor=0x7f9897f3be80) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/mdl.cc:2454
#8 0x00007f98971ce81b in MDL_context::find_deadlock (this=0x7f988c2db168) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/mdl.cc:2482
#9 0x00007f98971830f1 in TABLE_SHARE::wait_for_old_version (this=0x7f9888b47e88, thd=0x7f988c2db070, abstime=0x7f9897f3bf80, deadlock_weight=100) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/table.cc:4027
#10 0x00007f989725536d in tdc_wait_for_old_version (thd=0x7f988c2db070, db=0x7f988c2f9760 "test", table_name=0x7f988c2f9148 "t1", wait_timeout=31536000, deadlock_weight=100, refresh_version=18446744073709551615) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/table_cache.cc:990
#11 0x00007f989702cab8 in open_table (thd=0x7f988c2db070, table_list=0x7f988c2f9180, ot_ctx=0x7f9897f3c430) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_base.cc:1912
#12 0x00007f989702f4c0 in open_and_process_table (thd=0x7f988c2db070, lex=0x7f988c2de9b0, tables=0x7f988c2f9180, counter=0x7f9897f3c4c4, flags=4096, prelocking_strategy=0x7f9897f3c560, has_prelocking_list=false, ot_ctx=0x7f9897f3c430) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_base.cc:3470
#13 0x00007f9897030545 in open_tables (thd=0x7f988c2db070, options=..., start=0x7f9897f3c4a8, counter=0x7f9897f3c4c4, flags=4096, prelocking_strategy=0x7f9897f3c560) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_base.cc:3983
#14 0x00007f9897031781 in open_and_lock_tables (thd=0x7f988c2db070, options=..., tables=0x7f988c2f9180, derived=false, flags=4096, prelocking_strategy=0x7f9897f3c560) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_base.cc:4646
#15 0x00007f98971f8c27 in open_and_lock_tables (thd=0x7f988c2db070, tables=0x7f988c2f9180, derived=false, flags=4096, prelocking_strategy=0x7f9897f3c560) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_base.h:243
#16 0x00007f98971f9871 in flush_tables_with_read_lock (thd=0x7f988c2db070, all_tables=0x7f988c2f9180) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_reload.cc:535
#17 0x00007f9897098ed8 in mysql_execute_command (thd=0x7f988c2db070) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_parse.cc:4795
#18 0x00007f98970a01c0 in mysql_parse (thd=0x7f988c2db070, rawbuf=0x7f988c2f9088 "flush tables t1, t2 with read lock", length=34, parser_state=0x7f9897f3d1b0) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_parse.cc:7306
#19 0x00007f989708ee92 in dispatch_command (command=COM_QUERY, thd=0x7f988c2db070, packet=0x7f988c146071 "flush tables t1, t2 with read lock", packet_length=34) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_parse.cc:1490
#20 0x00007f989708dbe4 in do_command (thd=0x7f988c2db070) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_parse.cc:1112
#21 0x00007f98971c213a in do_handle_one_connection (thd_arg=0x7f988c2db070) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_connect.cc:1349
#22 0x00007f98971c1e9e in handle_one_connection (arg=0x7f988c2db070) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/sql/sql_connect.cc:1261
#23 0x00007f98975e9716 in pfs_spawn_thread (arg=0x7f988c336670) at /home/nirbhay/project/git-repo/maria/bugs/10.2.b5535/storage/perfschema/pfs.cc:1860
#24 0x00007f98956c7182 in start_thread (arg=0x7f9897f3e700) at pthread_create.c:312
#25 0x00007f9894dea47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment