Thread 25 (Thread 0xb4819b90 (LWP 24241)): #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8fcdfe0, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x08329f09 in open_table (thd=0x8fcdfe0, table_list=0x8fdf200, mem_root=0xb48180bc, refresh=0xb4818113, flags=0) at sql_base.cc:2826 #5 0x0832b2f3 in open_tables (thd=0x8fcdfe0, start=0xb4818174, counter=0xb4818160, flags=0) at sql_base.cc:4571 #6 0x0832bb0f in open_and_lock_tables_derived (thd=0x8fcdfe0, tables=0x8fdf200, derived=false) at sql_base.cc:4977 #7 0x082e27dc in simple_open_n_lock_tables (thd=0x8fcdfe0, tables=0x8fdf200) at mysql_priv.h:1550 #8 0x082da118 in mysql_execute_command (thd=0x8fcdfe0) at sql_parse.cc:3502 #9 0x082df7f4 in mysql_parse (thd=0x8fcdfe0, inBuf=0x8fdf160 "LOCK TABLE `A` READ", length=19, found_semicolon=0xb48190a4) at sql_parse.cc:5933 #10 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8fcdfe0, packet=0x8fd7101 "LOCK TABLE `A` READ", packet_length=19) at sql_parse.cc:1213 #11 0x082e19f3 in do_command (thd=0x8fcdfe0) at sql_parse.cc:854 #12 0x082cd323 in handle_one_connection (arg=0x8fcdfe0) at sql_connect.cc:1115 #13 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 24 (Thread 0xb484ab90 (LWP 24239)): #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8fc1f70, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x08329f09 in open_table (thd=0x8fc1f70, table_list=0x8fd0130, mem_root=0xb48490bc, refresh=0xb4849113, flags=0) at sql_base.cc:2826 #5 0x0832b2f3 in open_tables (thd=0x8fc1f70, start=0xb4849174, counter=0xb4849160, flags=0) at sql_base.cc:4571 #6 0x0832bb0f in open_and_lock_tables_derived (thd=0x8fc1f70, tables=0x8fd0130, derived=false) at sql_base.cc:4977 #7 0x082e27dc in simple_open_n_lock_tables (thd=0x8fc1f70, tables=0x8fd0130) at mysql_priv.h:1550 #8 0x082da118 in mysql_execute_command (thd=0x8fc1f70) at sql_parse.cc:3502 #9 0x082df7f4 in mysql_parse (thd=0x8fc1f70, inBuf=0x8fd0090 "LOCK TABLE `A` READ", length=19, found_semicolon=0xb484a0a4) at sql_parse.cc:5933 #10 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8fc1f70, packet=0x8fc8031 "LOCK TABLE `A` READ", packet_length=19) at sql_parse.cc:1213 #11 0x082e19f3 in do_command (thd=0x8fc1f70) at sql_parse.cc:854 #12 0x082cd323 in handle_one_connection (arg=0x8fc1f70) at sql_connect.cc:1115 #13 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 23 (Thread 0xb487bb90 (LWP 24237)): #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8fb0f18, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x08329f09 in open_table (thd=0x8fb0f18, table_list=0x8fb2998, mem_root=0xb487a0bc, refresh=0xb487a113, flags=0) at sql_base.cc:2826 #5 0x0832b2f3 in open_tables (thd=0x8fb0f18, start=0xb487a174, counter=0xb487a160, flags=0) at sql_base.cc:4571 #6 0x0832bb0f in open_and_lock_tables_derived (thd=0x8fb0f18, tables=0x8fb2998, derived=false) at sql_base.cc:4977 #7 0x082e27dc in simple_open_n_lock_tables (thd=0x8fb0f18, tables=0x8fb2998) at mysql_priv.h:1550 #8 0x082da118 in mysql_execute_command (thd=0x8fb0f18) at sql_parse.cc:3502 #9 0x082df7f4 in mysql_parse (thd=0x8fb0f18, inBuf=0x8fb28f8 "LOCK TABLE `A` READ", length=19, found_semicolon=0xb487b0a4) at sql_parse.cc:5933 #10 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8fb0f18, packet=0x8fbbfc1 "LOCK TABLE `A` READ", packet_length=19) at sql_parse.cc:1213 #11 0x082e19f3 in do_command (thd=0x8fb0f18) at sql_parse.cc:854 #12 0x082cd323 in handle_one_connection (arg=0x8fb0f18) at sql_connect.cc:1115 #13 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 ---Type to continue, or q to quit--- Thread 22 (Thread 0xb48acb90 (LWP 24235)): #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8fab520, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x08329f09 in open_table (thd=0x8fab520, table_list=0x8fb4ff0, mem_root=0xb48ab0bc, refresh=0xb48ab113, flags=0) at sql_base.cc:2826 #5 0x0832b2f3 in open_tables (thd=0x8fab520, start=0xb48ab174, counter=0xb48ab160, flags=0) at sql_base.cc:4571 #6 0x0832bb0f in open_and_lock_tables_derived (thd=0x8fab520, tables=0x8fb4ff0, derived=false) at sql_base.cc:4977 #7 0x082e27dc in simple_open_n_lock_tables (thd=0x8fab520, tables=0x8fb4ff0) at mysql_priv.h:1550 #8 0x082da118 in mysql_execute_command (thd=0x8fab520) at sql_parse.cc:3502 #9 0x082df7f4 in mysql_parse (thd=0x8fab520, inBuf=0x8fb4f50 "LOCK TABLE `A` READ", length=19, found_semicolon=0xb48ac0a4) at sql_parse.cc:5933 #10 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8fab520, packet=0x8facef1 "LOCK TABLE `A` READ", packet_length=19) at sql_parse.cc:1213 #11 0x082e19f3 in do_command (thd=0x8fab520) at sql_parse.cc:854 #12 0x082cd323 in handle_one_connection (arg=0x8fab520) at sql_connect.cc:1115 #13 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 21 (Thread 0xb48ddb90 (LWP 24233)): #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8f84348, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x08329f09 in open_table (thd=0x8f84348, table_list=0x8f92508, mem_root=0xb48dc0bc, refresh=0xb48dc113, flags=0) at sql_base.cc:2826 #5 0x0832b2f3 in open_tables (thd=0x8f84348, start=0xb48dc174, counter=0xb48dc160, flags=0) at sql_base.cc:4571 #6 0x0832bb0f in open_and_lock_tables_derived (thd=0x8f84348, tables=0x8f92508, derived=false) at sql_base.cc:4977 #7 0x082e27dc in simple_open_n_lock_tables (thd=0x8f84348, tables=0x8f92508) at mysql_priv.h:1550 #8 0x082da118 in mysql_execute_command (thd=0x8f84348) at sql_parse.cc:3502 #9 0x082df7f4 in mysql_parse (thd=0x8f84348, inBuf=0x8f92468 "LOCK TABLE `A` READ", length=19, found_semicolon=0xb48dd0a4) at sql_parse.cc:5933 #10 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8f84348, packet=0x8f8a409 "LOCK TABLE `A` READ", packet_length=19) at sql_parse.cc:1213 #11 0x082e19f3 in do_command (thd=0x8f84348) at sql_parse.cc:854 #12 0x082cd323 in handle_one_connection (arg=0x8f84348) at sql_connect.cc:1115 #13 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 20 (Thread 0xb490eb90 (LWP 24231)): #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8f9f4d0, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x08329f09 in open_table (thd=0x8f9f4d0, table_list=0x8fa0f50, mem_root=0xb490d0bc, refresh=0xb490d113, flags=0) at sql_base.cc:2826 #5 0x0832b2f3 in open_tables (thd=0x8f9f4d0, start=0xb490d174, counter=0xb490d160, flags=0) at sql_base.cc:4571 #6 0x0832bb0f in open_and_lock_tables_derived (thd=0x8f9f4d0, tables=0x8fa0f50, derived=false) at sql_base.cc:4977 #7 0x082e27dc in simple_open_n_lock_tables (thd=0x8f9f4d0, tables=0x8fa0f50) at mysql_priv.h:1550 #8 0x082da118 in mysql_execute_command (thd=0x8f9f4d0) at sql_parse.cc:3502 #9 0x082df7f4 in mysql_parse (thd=0x8f9f4d0, inBuf=0x8fa0eb0 "LOCK TABLE `A` READ", length=19, found_semicolon=0xb490e0a4) at sql_parse.cc:5933 #10 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8f9f4d0, packet=0x8f5d5b9 "LOCK TABLE `A` READ", packet_length=19) at sql_parse.cc:1213 #11 0x082e19f3 in do_command (thd=0x8f9f4d0) at sql_parse.cc:854 #12 0x082cd323 in handle_one_connection (arg=0x8f9f4d0) at sql_connect.cc:1115 #13 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 19 (Thread 0xb493fb90 (LWP 24229)): ---Type to continue, or q to quit--- #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8f70ca0, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x08329f09 in open_table (thd=0x8f70ca0, table_list=0x8f72720, mem_root=0xb493e0bc, refresh=0xb493e113, flags=0) at sql_base.cc:2826 #5 0x0832b2f3 in open_tables (thd=0x8f70ca0, start=0xb493e174, counter=0xb493e160, flags=0) at sql_base.cc:4571 #6 0x0832bb0f in open_and_lock_tables_derived (thd=0x8f70ca0, tables=0x8f72720, derived=false) at sql_base.cc:4977 #7 0x082e27dc in simple_open_n_lock_tables (thd=0x8f70ca0, tables=0x8f72720) at mysql_priv.h:1550 #8 0x082da118 in mysql_execute_command (thd=0x8f70ca0) at sql_parse.cc:3502 #9 0x082df7f4 in mysql_parse (thd=0x8f70ca0, inBuf=0x8f72680 "LOCK TABLE `A` READ", length=19, found_semicolon=0xb493f0a4) at sql_parse.cc:5933 #10 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8f70ca0, packet=0x8f659c9 "LOCK TABLE `A` READ", packet_length=19) at sql_parse.cc:1213 #11 0x082e19f3 in do_command (thd=0x8f70ca0) at sql_parse.cc:854 #12 0x082cd323 in handle_one_connection (arg=0x8f70ca0) at sql_connect.cc:1115 #13 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 18 (Thread 0xb4970b90 (LWP 24227)): #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8f5af80, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x08329f09 in open_table (thd=0x8f5af80, table_list=0x8f6ed20, mem_root=0xb496f0bc, refresh=0xb496f113, flags=0) at sql_base.cc:2826 #5 0x0832b2f3 in open_tables (thd=0x8f5af80, start=0xb496f174, counter=0xb496f160, flags=0) at sql_base.cc:4571 #6 0x0832bb0f in open_and_lock_tables_derived (thd=0x8f5af80, tables=0x8f6ed20, derived=false) at sql_base.cc:4977 #7 0x082e27dc in simple_open_n_lock_tables (thd=0x8f5af80, tables=0x8f6ed20) at mysql_priv.h:1550 #8 0x082da118 in mysql_execute_command (thd=0x8f5af80) at sql_parse.cc:3502 #9 0x082df7f4 in mysql_parse (thd=0x8f5af80, inBuf=0x8f6ec80 "LOCK TABLE `A` READ", length=19, found_semicolon=0xb49700a4) at sql_parse.cc:5933 #10 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8f5af80, packet=0x8f78be1 "LOCK TABLE `A` READ", packet_length=19) at sql_parse.cc:1213 #11 0x082e19f3 in do_command (thd=0x8f5af80) at sql_parse.cc:854 #12 0x082cd323 in handle_one_connection (arg=0x8f5af80) at sql_connect.cc:1115 #13 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #14 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 17 (Thread 0xb49a1b90 (LWP 24225)): #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8f2f820, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x082b88ec in wait_for_locked_table_names (thd=0x8f2f820, table_list=0xb499fe38) at lock.cc:1103 #5 0x08327dff in reopen_table (table=0x8f562a8) at sql_base.cc:3036 #6 0x0832853a in reopen_tables (thd=0x8f2f820, get_locks=true, mark_share_as_old=true) at sql_base.cc:3305 #7 0x08328e18 in close_cached_tables (thd=0x8f2f820, tables=0x0, have_lock=false, wait_for_refresh=true, wait_for_placeholders=false) at sql_base.cc:996 #8 0x082cf474 in reload_acl_and_cache (thd=0x8f2f820, options=4, tables=0x0, write_to_binlog=0xb49a07a4) at sql_parse.cc:6882 #9 0x082dbd25 in mysql_execute_command (thd=0x8f2f820) at sql_parse.cc:3944 #10 0x082df7f4 in mysql_parse (thd=0x8f2f820, inBuf=0x8fa30f0 "FLUSH TABLES", length=12, found_semicolon=0xb49a10a4) at sql_parse.cc:5933 #11 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8f2f820, packet=0x8f475f1 "FLUSH TABLES", packet_length=12) at sql_parse.cc:1213 #12 0x082e19f3 in do_command (thd=0x8f2f820) at sql_parse.cc:854 #13 0x082cd323 in handle_one_connection (arg=0x8f2f820) at sql_connect.cc:1115 #14 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #15 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 16 (Thread 0xb49d2b90 (LWP 24223)): ---Type to continue, or q to quit--- #0 0xb7f2d410 in __kernel_vsyscall () #1 0xb7f0aaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x0872ba03 in safe_cond_wait (cond=0x8a34660, mp=0x8a340e0, file=0x885ca6d "sql_base.cc", line=2162) at thr_mutex.c:237 #3 0x0831b53d in wait_for_condition (thd=0x8f58c10, mutex=0x8a340e0, cond=0x8a34660) at sql_base.cc:2162 #4 0x082b88ec in wait_for_locked_table_names (thd=0x8f58c10, table_list=0xb49d0e38) at lock.cc:1103 #5 0x08327dff in reopen_table (table=0x8f3a9c8) at sql_base.cc:3036 #6 0x0832853a in reopen_tables (thd=0x8f58c10, get_locks=true, mark_share_as_old=true) at sql_base.cc:3305 #7 0x08328e18 in close_cached_tables (thd=0x8f58c10, tables=0x0, have_lock=false, wait_for_refresh=true, wait_for_placeholders=false) at sql_base.cc:996 #8 0x082cf474 in reload_acl_and_cache (thd=0x8f58c10, options=4, tables=0x0, write_to_binlog=0xb49d17a4) at sql_parse.cc:6882 #9 0x082dbd25 in mysql_execute_command (thd=0x8f58c10) at sql_parse.cc:3944 #10 0x082df7f4 in mysql_parse (thd=0x8f58c10, inBuf=0x8fa54e0 "FLUSH TABLES", length=12, found_semicolon=0xb49d20a4) at sql_parse.cc:5933 #11 0x082e058e in dispatch_command (command=COM_QUERY, thd=0x8f58c10, packet=0x8f7d369 "FLUSH TABLES", packet_length=12) at sql_parse.cc:1213 #12 0x082e19f3 in do_command (thd=0x8f58c10) at sql_parse.cc:854 #13 0x082cd323 in handle_one_connection (arg=0x8f58c10) at sql_connect.cc:1115 #14 0xb7f064fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #15 0xb7e14e5e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 11 (Thread 0xb4a03b90 (LWP 24210)): Signal handler Thread 10 (Thread 0xb2d7cb90 (LWP 24209)): InnoDB master thread Thread 9 (Thread 0xb357db90 (LWP 24208)): srv_error_monitor_thread Thread 8 (Thread 0xb3d7eb90 (LWP 24207)): srv_lock_timeout_and_monitor_thread Thread 6 (Thread 0xb520fb90 (LWP 24205)): InnoDB I/O thread. Thread 5 (Thread 0xb5a10b90 (LWP 24204)): InnoDB I/O thread. Thread 4 (Thread 0xb6211b90 (LWP 24203)): InnoDB I/O thread. Thread 3 (Thread 0xb7d3bb90 (LWP 24202)): InnoDB I/O thread. Thread 1 (Thread 0xb7d3c6b0 (LWP 24198)): Main (gdb)