mysqld执行的函数栈

我是在mysql中的row_search_for_mysql的函数设置断点,该函数式存储引擎入口函数

 mysqld执行的函数栈_第1张图片

    以上为调试程序的当前上所有的线程,线程的函数栈信息如下

Thread 25 (Thread 0x7fffdfa0e700 (LWP 8232)):
#0 row_search_for_mysql (buf=0x2112930 "\377", mode=1, prebuilt=0x213a008, match_mode=0, direction=0)
at /home/centos2/code/mysql5616/storage/innobase/row/row0sel.cc:3659
#1 0x0000000000aece6a in ha_innobase::index_read (this=0x2110e10, buf=0x2112930 "\377", key_ptr=0x0, key_len=0, 
find_flag=HA_READ_AFTER_KEY) at /home/centos2/code/mysql5616/storage/innobase/handler/ha_innodb.cc:7501
#2 0x0000000000aedb74 in ha_innobase::index_first (this=0x2110e10, buf=0x2112930 "\377")
at /home/centos2/code/mysql5616/storage/innobase/handler/ha_innodb.cc:7868
#3 0x0000000000aedd6d in ha_innobase::rnd_next (this=0x2110e10, buf=0x2112930 "\377")
at /home/centos2/code/mysql5616/storage/innobase/handler/ha_innodb.cc:7965
#4 0x0000000000640c1d in handler::ha_rnd_next (this=0x2110e10, buf=0x2112930 "\377")
at /home/centos2/code/mysql5616/sql/handler.cc:2686
#5 0x000000000098da06 in rr_sequential (info=0x21053b8) at /home/centos2/code/mysql5616/sql/records.cc:478
#6 0x00000000007b09be in join_init_read_record (tab=0x2105328)
at /home/centos2/code/mysql5616/sql/sql_executor.cc:2395
#7 0x00000000007ae049 in sub_select (join=0x2104550, join_tab=0x2105328, end_of_records=false)
at /home/centos2/code/mysql5616/sql/sql_executor.cc:1256
#8 0x00000000007ada42 in do_select (join=0x2104550) at /home/centos2/code/mysql5616/sql/sql_executor.cc:933
#9 0x00000000007ab8f3 in JOIN::exec (this=0x2104550) at /home/centos2/code/mysql5616/sql/sql_executor.cc:194
#10 0x000000000080d5f6 in mysql_execute_select (thd=0x192a750, select_lex=0x192d080, free_join=true)
at /home/centos2/code/mysql5616/sql/sql_select.cc:1100
#11 0x000000000080d90d in mysql_select (thd=0x192a750, tables=0x2103f10, wild_num=1, fields=..., conds=0x0, 
order=0x192d248, group=0x192d180, having=0x0, select_options=2147748608, result=0x2104528, unit=0x192ca38, 
select_lex=0x192d080) at /home/centos2/code/mysql5616/sql/sql_select.cc:1221
#12 0x000000000080b933 in handle_select (thd=0x192a750, result=0x2104528, setup_tables_done_option=0)
at /home/centos2/code/mysql5616/sql/sql_select.cc:110
#13 0x00000000007e5823 in execute_sqlcom_select (thd=0x192a750, all_tables=0x2103f10)
---Type <return> to continue, or q <return> to quit---
at /home/centos2/code/mysql5616/sql/sql_parse.cc:5094
#14 0x00000000007de11f in mysql_execute_command (thd=0x192a750) at /home/centos2/code/mysql5616/sql/sql_parse.cc:2642
#15 0x00000000007e7f44 in mysql_parse (thd=0x192a750, rawbuf=0x2103d20 "select * from tab1", length=18, 
parser_state=0x7fffdfa0d680) at /home/centos2/code/mysql5616/sql/sql_parse.cc:6235
#16 0x00000000007db0f4 in dispatch_command (command=COM_QUERY, thd=0x192a750, packet=0x20fbaa1 "", packet_length=18)
at /home/centos2/code/mysql5616/sql/sql_parse.cc:1334
#17 0x00000000007da21e in do_command (thd=0x192a750) at /home/centos2/code/mysql5616/sql/sql_parse.cc:1036
#18 0x00000000007a110d in do_handle_one_connection (thd_arg=0x192a750)
at /home/centos2/code/mysql5616/sql/sql_connect.cc:982
#19 0x00000000007a0c15 in handle_one_connection (arg=0x192a750) at /home/centos2/code/mysql5616/sql/sql_connect.cc:898
#20 0x0000000000e120bf in pfs_spawn_thread (arg=0x1fb8490)
at /home/centos2/code/mysql5616/storage/perfschema/pfs.cc:1858
#21 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#22 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 24 (Thread 0x7fffdfa4f700 (LWP 8228)):
#0 0x000000373ec0f4b5 in sigwait () from /lib64/libpthread.so.0
#1 0x000000000062543d in signal_hand (arg=0x0) at /home/centos2/code/mysql5616/sql/mysqld.cc:3180
#2 0x0000000000e120bf in pfs_spawn_thread (arg=0x1fad900)
at /home/centos2/code/mysql5616/storage/perfschema/pfs.cc:1858
#3 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#4 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 23 (Thread 0x7fffce1fc700 (LWP 8227)):
#0 0x000000373ec0b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b689de in os_cond_wait_timed (cond=0x1fb3170, fast_mutex=0x1fb3130, abstime=0x7fffce1fbda0)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:177
---Type <return> to continue, or q <return> to quit---
#2 0x0000000000b69244 in os_event_wait_time_low (event=0x1fb3130, time_in_usec=5000000, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:723
#3 0x0000000000c6f312 in ib_wqueue_timedwait (wq=0x1fae828, wait_in_usecs=5000000)
at /home/centos2/code/mysql5616/storage/innobase/ut/ut0wqueue.cc:154
#4 0x0000000000d4d043 in fts_optimize_thread (arg=0x1fae828)
at /home/centos2/code/mysql5616/storage/innobase/fts/fts0opt.cc:2996
#5 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#6 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 22 (Thread 0x7fffcebfd700 (LWP 8226)):
#0 0x000000373ec0b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b689de in os_cond_wait_timed (cond=0x1f92950, fast_mutex=0x1f92910, abstime=0x7fffcebfce50)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:177
#2 0x0000000000b69244 in os_event_wait_time_low (event=0x1f92910, time_in_usec=10000000, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:723
#3 0x0000000000d0e261 in dict_stats_thread (arg=0x0)
at /home/centos2/code/mysql5616/storage/innobase/dict/dict0stats_bg.cc:349
#4 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#5 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7fffcf5fe700 (LWP 8225)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19486f0, fast_mutex=0x19486b0)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19486b0, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000cc1b5e in buf_dump_thread (arg=0x0)
at /home/centos2/code/mysql5616/storage/innobase/buf/buf0dump.cc:594
#4 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#5 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7fffcffff700 (LWP 8224)):
#0 0x000000373e8e1453 in select () from /lib64/libc.so.6
#1 0x0000000000b69dfd in os_thread_sleep (tm=1000000)
at /home/centos2/code/mysql5616/storage/innobase/os/os0thread.cc:258
#2 0x0000000000cc935a in page_cleaner_sleep_if_needed (next_loop_time=1432129649617)
at /home/centos2/code/mysql5616/storage/innobase/buf/buf0flu.cc:2373
#3 0x0000000000cc944f in buf_flush_page_cleaner_thread (arg=0x0)
at /home/centos2/code/mysql5616/storage/innobase/buf/buf0flu.cc:2414
#4 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#5 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7fffdcb9f700 (LWP 8223)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x1948540, fast_mutex=0x1948500)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x1948500, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000c2b907 in srv_purge_coordinator_suspend (slot=0x1948310, rseg_history_len=0)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0srv.cc:2631
#4 0x0000000000c2be19 in srv_purge_coordinator_thread (arg=0x0)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0srv.cc:2748
#5 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#6 0x000000373e8e89dd in clone () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 18 (Thread 0x7fffdd5a0700 (LWP 8222)):
#0 0x000000373e8e1453 in select () from /lib64/libc.so.6
#1 0x0000000000b69dfd in os_thread_sleep (tm=1000000)
at /home/centos2/code/mysql5616/storage/innobase/os/os0thread.cc:258
#2 0x0000000000c2aec2 in srv_master_sleep () at /home/centos2/code/mysql5616/storage/innobase/srv/srv0srv.cc:2294
#3 0x0000000000c2afed in srv_master_thread (arg=0x0)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0srv.cc:2338
#4 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#5 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7fffddfa1700 (LWP 8221)):
#0 0x000000373ec0b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b689de in os_cond_wait_timed (cond=0x1948660, fast_mutex=0x1948620, abstime=0x7fffddfa0de0)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:177
#2 0x0000000000b69244 in os_event_wait_time_low (event=0x1948620, time_in_usec=5000000, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:723
#3 0x0000000000c29945 in srv_monitor_thread (arg=0x0)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0srv.cc:1532
#4 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#5 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7fffde9a2700 (LWP 8220)):
#0 0x000000373ec0b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b689de in os_cond_wait_timed (cond=0x19485d0, fast_mutex=0x1948590, abstime=0x7fffde9a1df0)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:177
#2 0x0000000000b69244 in os_event_wait_time_low (event=0x1948590, time_in_usec=1000000, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:723
#3 0x0000000000c29f57 in srv_error_monitor_thread (arg=0x0)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0srv.cc:1763
#4 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#5 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7fffdf42c700 (LWP 8219)):
#0 0x000000373ec0b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b689de in os_cond_wait_timed (cond=0x1f8ef10, fast_mutex=0x1f8eed0, abstime=0x7fffdf42be30)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:177
#2 0x0000000000b69244 in os_event_wait_time_low (event=0x1f8eed0, time_in_usec=1000000, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:723
#3 0x0000000000b4874a in lock_wait_timeout_thread (arg=0x0)
at /home/centos2/code/mysql5616/storage/innobase/lock/lock0wait.cc:503
#4 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#5 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7fffe0450700 (LWP 8216)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b04a0, fast_mutex=0x19b0460)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19b0460, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=9, message1=0x7fffe044fe40, 
message2=0x7fffe044fe38, type=0x7fffe044fe30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=9)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182eca8)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fffe0e51700 (LWP 8215)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b0410, fast_mutex=0x19b03d0)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19b03d0, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=8, message1=0x7fffe0e50e40, 
message2=0x7fffe0e50e38, type=0x7fffe0e50e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=8)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182eca0)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fffe1852700 (LWP 8214)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b0380, fast_mutex=0x19b0340)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19b0340, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=7, message1=0x7fffe1851e40, 
message2=0x7fffe1851e38, type=0x7fffe1851e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=7)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182ec98)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fffe2253700 (LWP 8213)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b02f0, fast_mutex=0x19b02b0)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19b02b0, reset_sig_count=2)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=6, message1=0x7fffe2252e40, 
message2=0x7fffe2252e38, type=0x7fffe2252e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=6)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182ec90)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fffe2c54700 (LWP 8212)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b0260, fast_mutex=0x19b0220)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19b0220, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=5, message1=0x7fffe2c53e40, 
message2=0x7fffe2c53e38, type=0x7fffe2c53e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=5)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182ec88)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fffe3655700 (LWP 8211)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b01d0, fast_mutex=0x19b0190)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19b0190, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=4, message1=0x7fffe3654e40, 
message2=0x7fffe3654e38, type=0x7fffe3654e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=4)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182ec80)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fffe4056700 (LWP 8210)):
---Type <return> to continue, or q <return> to quit---
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b0140, fast_mutex=0x19b0100)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19b0100, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=3, message1=0x7fffe4055e40, 
message2=0x7fffe4055e38, type=0x7fffe4055e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=3)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182ec78)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fffe4a57700 (LWP 8209)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b00b0, fast_mutex=0x19b0070)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19b0070, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=2, message1=0x7fffe4a56e40, 
message2=0x7fffe4a56e38, type=0x7fffe4a56e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=2)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182ec70)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fffe5458700 (LWP 8208)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19b0020, fast_mutex=0x19affe0)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19affe0, reset_sig_count=3)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=1, message1=0x7fffe5457e40, 
message2=0x7fffe5457e38, type=0x7fffe5457e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=1)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182ec68)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ffff7fe7700 (LWP 8207)):
#0 0x000000373ec0b5bc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000000000b68ae3 in os_cond_wait (cond=0x19aff90, fast_mutex=0x19aff50)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:214
#2 0x0000000000b6905d in os_event_wait_low (event=0x19aff50, reset_sig_count=1)
at /home/centos2/code/mysql5616/storage/innobase/os/os0sync.cc:610
#3 0x0000000000b67588 in os_aio_simulated_handle (global_segment=0, message1=0x7ffff7fe6e40, 
message2=0x7ffff7fe6e38, type=0x7ffff7fe6e30) at /home/centos2/code/mysql5616/storage/innobase/os/os0file.cc:5456
#4 0x0000000000d1ffbb in fil_aio_wait (segment=0)
at /home/centos2/code/mysql5616/storage/innobase/fil/fil0fil.cc:5757
#5 0x0000000000c2e969 in io_handler_thread (arg=0x182ec60)
at /home/centos2/code/mysql5616/storage/innobase/srv/srv0start.cc:481
#6 0x000000373ec079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x000000373e8e89dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7fe9720 (LWP 8204)):
#0 0x000000373e8df1b3 in poll () from /lib64/libc.so.6
#1 0x000000000062ab08 in handle_connections_sockets () at /home/centos2/code/mysql5616/sql/mysqld.cc:6233
#2 0x0000000000629c46 in mysqld_main (argc=6, argv=0x184ca98) at /home/centos2/code/mysql5616/sql/mysqld.cc:5652
#3 0x000000000061e494 in main (argc=5, argv=0x7fffffffe538) at /home/centos2/code/mysql5616/sql/main.cc:25

 

你可能感兴趣的:(mysqld执行的函数栈)