Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) info reg
- rax 0xfffffffffffffdfc -516
- rbx 0x68 104
- rcx 0xffffffffffffffff -1
- rdx 0xa3 163
- rsi 0x189 393
- rdi 0xc039e4 12597732
- rbp 0x7fffffffdb60 0x7fffffffdb60
- rsp 0x7fffffffdad0 0x7fffffffdad0
- r8 0xc0a740 12625728
- r9 0xffffffff 4294967295
- r10 0x7fffffffdb40 140737488345920
- r11 0x206 518
- r12 0xa3 163
- r13 0x7fffffffdb40 140737488345920
- r14 0xffffffffffffff92 -110
- r15 0x0 0
- rip 0x7ffff68f67ce 0x7ffff68f67ce <pthread_cond_timedwait@@GLIBC_2.3.2+318>
- eflags 0x206 [ PF IF ]
- cs 0x33 51
- ss 0x2b 43
- ds 0x0 0
- es 0x0 0
- fs 0x0 0
- gs 0x0 0
- (gdb) bt full
- #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
- No locals.
- #1 0x0000000000408075 in mainloop () at src/main.c:425
- gti = 0xc05180 <subscription_status_timer>
- cb = 0x43fa2c <subscription_reschedule_cb>
- ts = {tv_sec = 1427219266, tv_nsec = 0}
- #2 0x0000000000409a34 in main (argc=2, argv=0x7fffffffe768) at src/main.c:922
- i = 2
- set = {__val = {16386, 0 <repeats 15 times>}}
- adapter_mask = 4294967295
- log_level = 7
- log_options = 818
- log_debug = 0x56b7d5 "all"
- log_trace = 0x0
- gid = 4294967295
- uid = 4294967295
- 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"...
- pidfile = 0x0
- opt_help = 0
- opt_version = 0
- opt_fork = 0
- opt_firstrun = 0
- opt_stderr = 1
- opt_syslog = 0
- opt_uidebug = 0
- opt_abort = 0
- opt_noacl = 0
- opt_fileline = 0
- opt_threadid = 0
- opt_ipv6 = 0
- opt_satip_rtsp = 0
- opt_tsfile_tuner = 0
- opt_dump = 0
- opt_xspf = 0
- opt_dbus = 0
- opt_dbus_session = 0
- opt_nobackup = 0
- opt_nobat = 0
- opt_config = 0x0
- opt_user = 0x0
- opt_group = 0x0
- opt_logpath = 0x0
- opt_log_debug = 0x0
- opt_log_trace = 0x0
- opt_pidpath = 0x56b0c1 "/var/run/tvheadend.pid"
- opt_dvb_adapters = 0x0
- opt_bindaddr = 0x0
- opt_subscribe = 0x0
- opt_user_agent = 0x0
- opt_satip_xml = {max = 10, num = 0, str = 0xc14010}
- opt_tsfile = {max = 10, num = 0, str = 0xc14070}
- 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',
- 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",
- 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',
- 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',
- 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',
- 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"...,
- 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",
- 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,
- 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',
- 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',
- 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',
- 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,
- 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",
- ---Type <return> to continue, or q <return> to quit---
- 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,
- 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}, {
- 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}, {
- 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}, {
- 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,
- 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",
- 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",
- 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',
- 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}, {
- 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',
- lopt = 0x56b73f "tsfile", desc = 0x56b746 "tsfile input (mux file)", type = OPT_STR_LIST, param = 0x7fffffffdd30}}
- (gdb) disassemble $pc-32,$pc+32
- Dump of assembler code from 0x7ffff68f67ae to 0x7ffff68f67ee:
- 0x00007ffff68f67ae <pthread_cond_timedwait@@GLIBC_2.3.2+286>: add %al,(%rax)
- 0x00007ffff68f67b0 <pthread_cond_timedwait@@GLIBC_2.3.2+288>: mov $0x100,%edx
- 0x00007ffff68f67b5 <pthread_cond_timedwait@@GLIBC_2.3.2+293>: mov $0xffffffff,%r9d
- 0x00007ffff68f67bb <pthread_cond_timedwait@@GLIBC_2.3.2+299>: cmove %edx,%eax
- 0x00007ffff68f67be <pthread_cond_timedwait@@GLIBC_2.3.2+302>: or %eax,%esi
- 0x00007ffff68f67c0 <pthread_cond_timedwait@@GLIBC_2.3.2+304>: mov %r12,%rdx
- 0x00007ffff68f67c3 <pthread_cond_timedwait@@GLIBC_2.3.2+307>: add $0x4,%rdi
- 0x00007ffff68f67c7 <pthread_cond_timedwait@@GLIBC_2.3.2+311>: mov $0xca,%eax
- 0x00007ffff68f67cc <pthread_cond_timedwait@@GLIBC_2.3.2+316>: syscall
- => 0x00007ffff68f67ce <pthread_cond_timedwait@@GLIBC_2.3.2+318>: mov %rax,%r14
- 0x00007ffff68f67d1 <pthread_cond_timedwait@@GLIBC_2.3.2+321>: mov (%rsp),%edi
- 0x00007ffff68f67d4 <pthread_cond_timedwait@@GLIBC_2.3.2+324>: callq 0x7ffff68f8e80 <__pthread_disable_asynccancel>
- 0x00007ffff68f67d9 <pthread_cond_timedwait@@GLIBC_2.3.2+329>: mov 0x8(%rsp),%rdi
- 0x00007ffff68f67de <pthread_cond_timedwait@@GLIBC_2.3.2+334>: mov $0x1,%esi
- 0x00007ffff68f67e3 <pthread_cond_timedwait@@GLIBC_2.3.2+339>: xor %eax,%eax
- 0x00007ffff68f67e5 <pthread_cond_timedwait@@GLIBC_2.3.2+341>: lock cmpxchg %esi,(%rdi)
- 0x00007ffff68f67e9 <pthread_cond_timedwait@@GLIBC_2.3.2+345>: jne 0x7ffff68f68f6 <pthread_cond_timedwait@@GLIBC_2.3.2+614>
- End of assembler dump.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement