Advertisement
Guest User

Untitled

a guest
Mar 24th, 2015
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 10.92 KB | None | 0 0
  1. (gdb) info reg
  2. rax            0xfffffffffffffdfc       -516
  3. rbx            0x68     104
  4. rcx            0xffffffffffffffff       -1
  5. rdx            0xa3     163
  6. rsi            0x189    393
  7. rdi            0xc039e4 12597732
  8. rbp            0x7fffffffdb60   0x7fffffffdb60
  9. rsp            0x7fffffffdad0   0x7fffffffdad0
  10. r8             0xc0a740 12625728
  11. r9             0xffffffff       4294967295
  12. r10            0x7fffffffdb40   140737488345920
  13. r11            0x206    518
  14. r12            0xa3     163
  15. r13            0x7fffffffdb40   140737488345920
  16. r14            0xffffffffffffff92       -110
  17. r15            0x0      0
  18. rip            0x7ffff68f67ce   0x7ffff68f67ce <pthread_cond_timedwait@@GLIBC_2.3.2+318>
  19. eflags         0x206    [ PF IF ]
  20. cs             0x33     51
  21. ss             0x2b     43
  22. ds             0x0      0
  23. es             0x0      0
  24. fs             0x0      0
  25. gs             0x0      0
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. (gdb) bt full
  36. #0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
  37. No locals.
  38. #1  0x0000000000408075 in mainloop () at src/main.c:425
  39.         gti = 0xc05180 <subscription_status_timer>
  40.         cb = 0x43fa2c <subscription_reschedule_cb>
  41.         ts = {tv_sec = 1427219266, tv_nsec = 0}
  42. #2  0x0000000000409a34 in main (argc=2, argv=0x7fffffffe768) at src/main.c:922
  43.         i = 2
  44.         set = {__val = {16386, 0 <repeats 15 times>}}
  45.         adapter_mask = 4294967295
  46.         log_level = 7
  47.         log_options = 818
  48.         log_debug = 0x56b7d5 "all"
  49.         log_trace = 0x0
  50.         gid = 4294967295
  51.         uid = 4294967295
  52.         buf = "/home/hts\000\376\003\000\000\000\000p\345\377\377\377\177\000\000\240\344\377\377\377\177\000\000\000\000\000\000\000\000\000\000\b\254\376\367\377\177\000\000\000\240\376\367\377\177\000\000G\327{\367\377\177\000\000x}\002\366\377\177\000\000\234>\336\367\377\177\000\000\000\000\000\000\001\000\000\000.N=\366\000\000\000\000\f\000\000\000\000\000\000\000\016\000\000\000\000\000\000\000ا\376\367\377\177\000\000\026H\336\367\377\177\000\000\001\000\000\000\000\000\000\000\020\345\377\377\377\177\000\000(\255\001\366\377\177\000\000 \346\377\377\377\177\000\000\250q\002\366\377\177\000\000\070\365\330\003\000\000\000\000\020\346\377\377\377\177", '\000' <repeats 18 times>, "x"...
  53.         pidfile = 0x0
  54.         opt_help = 0
  55.         opt_version = 0
  56.         opt_fork = 0
  57.         opt_firstrun = 0
  58.         opt_stderr = 1
  59.         opt_syslog = 0
  60.         opt_uidebug = 0
  61.         opt_abort = 0
  62.         opt_noacl = 0
  63.         opt_fileline = 0
  64.         opt_threadid = 0
  65.         opt_ipv6 = 0
  66.         opt_satip_rtsp = 0
  67.         opt_tsfile_tuner = 0
  68.         opt_dump = 0
  69.         opt_xspf = 0
  70.         opt_dbus = 0
  71.         opt_dbus_session = 0
  72.         opt_nobackup = 0
  73.         opt_nobat = 0
  74.         opt_config = 0x0
  75.         opt_user = 0x0
  76.         opt_group = 0x0
  77.         opt_logpath = 0x0
  78.         opt_log_debug = 0x0
  79.         opt_log_trace = 0x0
  80.         opt_pidpath = 0x56b0c1 "/var/run/tvheadend.pid"
  81.         opt_dvb_adapters = 0x0
  82.         opt_bindaddr = 0x0
  83.         opt_subscribe = 0x0
  84.         opt_user_agent = 0x0
  85.         opt_satip_xml = {max = 10, num = 0, str = 0xc14010}
  86.         opt_tsfile = {max = 10, num = 0, str = 0xc14070}
  87.         cmdline_opts = {{sopt = 0 '\000', lopt = 0x0, desc = 0x56b0d8 "Generic Options", type = OPT_BOOL, param = 0x0}, {sopt = 104 'h', lopt = 0x56b0e8 "help", desc = 0x56b0ed "Show this page", type = OPT_BOOL, param = 0x7fffffffdbe0}, {sopt = 118 'v',
  88.             lopt = 0x56b0fc "version", desc = 0x56b104 "Show version infomation", type = OPT_BOOL, param = 0x7fffffffdbe4}, {sopt = 0 '\000', lopt = 0x0, desc = 0x56b11c "Service Configuration", type = OPT_BOOL, param = 0x0}, {sopt = 99 'c', lopt = 0x56b132 "config",
  89.             desc = 0x56b139 "Alternate config path", type = OPT_STR, param = 0x7fffffffdc58}, {sopt = 66 'B', lopt = 0x56b14f "nobackup", desc = 0x56b158 "Do not backup config tree at upgrade", type = OPT_BOOL, param = 0x7fffffffdc28}, {sopt = 102 'f',
  90.             lopt = 0x56b17d "fork", desc = 0x56b182 "Fork and run as daemon", type = OPT_BOOL, param = 0x7fffffffdbe8}, {sopt = 117 'u', lopt = 0x56b199 "user", desc = 0x56b19e "Run as user", type = OPT_STR, param = 0x7fffffffdc60}, {sopt = 103 'g',
  91.             lopt = 0x56b1aa "group", desc = 0x56b1b0 "Run as group", type = OPT_STR, param = 0x7fffffffdc68}, {sopt = 112 'p', lopt = 0x56b1bd "pid", desc = 0x56b1c1 "Alternate pid path", type = OPT_STR, param = 0x7fffffffdc88}, {sopt = 67 'C',
  92.             lopt = 0x56b1d4 "firstrun", desc = 0x56b1e0 "If no user account exists then create one with\nno username and no password. Use with care as\nit will allow world-wide administrative access\nto your Tvheadend installation until you edit\nthe access-con"...,
  93.             type = OPT_BOOL, param = 0x7fffffffdbec}, {sopt = 85 'U', lopt = 0x56b2ca "dbus", desc = 0x56b2cf "Enable DBus", type = OPT_BOOL, param = 0x7fffffffdc20}, {sopt = 101 'e', lopt = 0x56b2db "dbus_session",
  94.             desc = 0x56b2e8 "DBus - use the session message bus instead system one", type = OPT_BOOL, param = 0x7fffffffdc24}, {sopt = 97 'a', lopt = 0x56b31e "adapters", desc = 0x56b328 "Only use specified DVB adapters (comma separated)", type = OPT_STR,
  95.             param = 0x7fffffffdc90}, {sopt = 0 '\000', lopt = 0x56b35a "satip_rtsp", desc = 0x56b368 "SAT>IP RTSP port number for server\n(default: -1 = disable, 0 = webconfig, standard port is 554)", type = OPT_INT, param = 0x7fffffffdc10}, {sopt = 0 '\000',
  96.             lopt = 0x56b3c8 "satip_xml", desc = 0x56b3d8 "URL with the SAT>IP server XML location", type = OPT_STR_LIST, param = 0x7fffffffdd20}, {sopt = 0 '\000', lopt = 0x0, desc = 0x56b400 "Server Connectivity", type = OPT_BOOL, param = 0x0}, {sopt = 54 '6',
  97.             lopt = 0x56b414 "ipv6", desc = 0x56b419 "Listen on IPv6", type = OPT_BOOL, param = 0x7fffffffdc0c}, {sopt = 98 'b', lopt = 0x56b428 "bindaddr", desc = 0x56b431 "Specify bind address", type = OPT_STR, param = 0x7fffffffdc98}, {sopt = 0 '\000',
  98.             lopt = 0x56b446 "http_port", desc = 0x56b450 "Specify alternative http port", type = OPT_INT, param = 0xc0a65c <tvheadend_webui_port>}, {sopt = 0 '\000', lopt = 0x56b46e "http_root", desc = 0x56b478 "Specify alternative http webroot", type = OPT_STR,
  99.             param = 0xc0a648 <tvheadend_webroot>}, {sopt = 0 '\000', lopt = 0x56b499 "htsp_port", desc = 0x56b4a3 "Specify alternative htsp port", type = OPT_INT, param = 0xc0a658 <tvheadend_htsp_port>}, {sopt = 0 '\000', lopt = 0x56b4c1 "htsp_port2",
  100. ---Type <return> to continue, or q <return> to quit---
  101.             desc = 0x56b4cc "Specify extra htsp port", type = OPT_INT, param = 0xc0a660 <tvheadend_htsp_port_extra>}, {sopt = 0 '\000', lopt = 0x56b4e4 "useragent", desc = 0x56b4f0 "Specify User-Agent header for the http client", type = OPT_STR,
  102.             param = 0x7fffffffdca8}, {sopt = 0 '\000', lopt = 0x56b51e "xspf", desc = 0x56b523 "Use xspf playlist instead M3U", type = OPT_BOOL, param = 0x7fffffffdc1c}, {sopt = 0 '\000', lopt = 0x0, desc = 0x56b541 "Debug Options", type = OPT_BOOL, param = 0x0}, {
  103.             sopt = 100 'd', lopt = 0x56b54f "stderr", desc = 0x56b556 "Enable debug on stderr", type = OPT_BOOL, param = 0x7fffffffdbf0}, {sopt = 115 's', lopt = 0x56b56d "syslog", desc = 0x56b574 "Enable debug to syslog", type = OPT_BOOL, param = 0x7fffffffdbf4}, {
  104.             sopt = 108 'l', lopt = 0x56b58b "logfile", desc = 0x56b593 "Enable debug to file", type = OPT_STR, param = 0x7fffffffdc70}, {sopt = 0 '\000', lopt = 0x56b5a8 "debug", desc = 0x56b5ae "Enable debug subsystems", type = OPT_STR, param = 0x7fffffffdc78}, {
  105.             sopt = 0 '\000', lopt = 0x56af63 "trace", desc = 0x56b5c6 "Enable trace subsystems", type = OPT_STR, param = 0x7fffffffdc80}, {sopt = 0 '\000', lopt = 0x56b5de "fileline", desc = 0x56b5e8 "Add file and line numbers to debug", type = OPT_BOOL,
  106.             param = 0x7fffffffdc04}, {sopt = 0 '\000', lopt = 0x56b60b "threadid", desc = 0x56b614 "Add the thread ID to debug", type = OPT_BOOL, param = 0x7fffffffdc08}, {sopt = 0 '\000', lopt = 0x56b62f "uidebug",
  107.             desc = 0x56b638 "Enable webUI debug (non-minified JS)", type = OPT_BOOL, param = 0x7fffffffdbf8}, {sopt = 65 'A', lopt = 0x56b65d "abort", desc = 0x56b663 "Immediately abort", type = OPT_BOOL, param = 0x7fffffffdbfc}, {sopt = 68 'D', lopt = 0x56b675 "dump",
  108.             desc = 0x56b67a "Enable coredumps for daemon", type = OPT_BOOL, param = 0x7fffffffdc18}, {sopt = 0 '\000', lopt = 0x56b696 "noacl", desc = 0x56b6a0 "Disable all access control checks", type = OPT_BOOL, param = 0x7fffffffdc00}, {sopt = 0 '\000',
  109.             lopt = 0x56b6c2 "nobat", desc = 0x56b6c8 "Disable DVB bouquets", type = OPT_BOOL, param = 0x7fffffffdc2c}, {sopt = 106 'j', lopt = 0x56b6dd "join", desc = 0x56b6e8 "Subscribe to a service permanently", type = OPT_STR, param = 0x7fffffffdca0}, {
  110.             sopt = 0 '\000', lopt = 0x0, desc = 0x56b70b "TODO: testing", type = OPT_BOOL, param = 0x0}, {sopt = 0 '\000', lopt = 0x56b719 "tsfile_tuners", desc = 0x56b727 "Number of tsfile tuners", type = OPT_INT, param = 0x7fffffffdc14}, {sopt = 0 '\000',
  111.             lopt = 0x56b73f "tsfile", desc = 0x56b746 "tsfile input (mux file)", type = OPT_STR_LIST, param = 0x7fffffffdd30}}
  112.  
  113.  
  114.            
  115.            
  116.            
  117.            
  118.            
  119.            
  120.            
  121.            
  122.            
  123.            
  124. (gdb) disassemble $pc-32,$pc+32
  125. Dump of assembler code from 0x7ffff68f67ae to 0x7ffff68f67ee:
  126.    0x00007ffff68f67ae <pthread_cond_timedwait@@GLIBC_2.3.2+286>:        add    %al,(%rax)
  127.    0x00007ffff68f67b0 <pthread_cond_timedwait@@GLIBC_2.3.2+288>:        mov    $0x100,%edx
  128.    0x00007ffff68f67b5 <pthread_cond_timedwait@@GLIBC_2.3.2+293>:        mov    $0xffffffff,%r9d
  129.    0x00007ffff68f67bb <pthread_cond_timedwait@@GLIBC_2.3.2+299>:        cmove  %edx,%eax
  130.    0x00007ffff68f67be <pthread_cond_timedwait@@GLIBC_2.3.2+302>:        or     %eax,%esi
  131.    0x00007ffff68f67c0 <pthread_cond_timedwait@@GLIBC_2.3.2+304>:        mov    %r12,%rdx
  132.    0x00007ffff68f67c3 <pthread_cond_timedwait@@GLIBC_2.3.2+307>:        add    $0x4,%rdi
  133.    0x00007ffff68f67c7 <pthread_cond_timedwait@@GLIBC_2.3.2+311>:        mov    $0xca,%eax
  134.    0x00007ffff68f67cc <pthread_cond_timedwait@@GLIBC_2.3.2+316>:        syscall
  135. => 0x00007ffff68f67ce <pthread_cond_timedwait@@GLIBC_2.3.2+318>:        mov    %rax,%r14
  136.    0x00007ffff68f67d1 <pthread_cond_timedwait@@GLIBC_2.3.2+321>:        mov    (%rsp),%edi
  137.    0x00007ffff68f67d4 <pthread_cond_timedwait@@GLIBC_2.3.2+324>:        callq  0x7ffff68f8e80 <__pthread_disable_asynccancel>
  138.    0x00007ffff68f67d9 <pthread_cond_timedwait@@GLIBC_2.3.2+329>:        mov    0x8(%rsp),%rdi
  139.    0x00007ffff68f67de <pthread_cond_timedwait@@GLIBC_2.3.2+334>:        mov    $0x1,%esi
  140.    0x00007ffff68f67e3 <pthread_cond_timedwait@@GLIBC_2.3.2+339>:        xor    %eax,%eax
  141.    0x00007ffff68f67e5 <pthread_cond_timedwait@@GLIBC_2.3.2+341>:        lock cmpxchg %esi,(%rdi)
  142.    0x00007ffff68f67e9 <pthread_cond_timedwait@@GLIBC_2.3.2+345>:        jne    0x7ffff68f68f6 <pthread_cond_timedwait@@GLIBC_2.3.2+614>
  143. End of assembler dump.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement