Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@rtp1:~# ps xa|grep rtp
- 2189 ? Rsl 172:25 rtpproxy -F -l X.X.X.X -L 19999 -m 30625 -M 37499 -p /var/run/rtpproxy3.pid -s unix:/var/run/rtpproxy3.sock -d INFO
- 2198 ? Ssl 173:09 rtpproxy -F -l X.X.X.X -L 19999 -m 37500 -M 44374 -p /var/run/rtpproxy4.pid -s unix:/var/run/rtpproxy4.sock -d INFO
- 14809 ? Ssl 56:11 rtpproxy -F -l X.X.X.X -L 19999 -m 23750 -M 30624 -p /var/run/rtpproxy2.pid -s unix:/var/run/rtpproxy2.sock -d INFO
- 14836 ? Ssl 39:03 rtpproxy -F -l X.X.X.X -L 19999 -m 16875 -M 23749 -p /var/run/rtpproxy1.pid -s unix:/var/run/rtpproxy1.sock -d INFO
- 17860 pts/1 S+ 0:00 grep --color=auto rtp
- root@rtp1:~# whereis rtpproxy
- rtpproxy: /usr/src/rtpproxy-2.0.0/rtpproxy.8 /usr/src/rtpproxy-2.0.0/rtpproxy.sh /usr/src/rtpproxy-2.0.0/rtpproxy.init /usr/bin/rtpproxy /usr/share/man/man8/rtpproxy.8
- root@rtp1:~# gdb /usr/bin/rtpproxy 2189
- GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
- Copyright (C) 2014 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from /usr/bin/rtpproxy...done.
- Attaching to program: /usr/bin/rtpproxy, process 2189
- Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
- Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.
- done.
- [New LWP 2197]
- [New LWP 2196]
- [New LWP 2195]
- [New LWP 2194]
- [New LWP 2193]
- [New LWP 2192]
- [New LWP 2191]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
- Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
- Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
- Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done.
- done.
- Loaded symbols for /lib64/ld-linux-x86-64.so.2
- 0x00007fb59520793d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
- 81 ../sysdeps/unix/syscall-template.S: No such file or directory.
- (gdb) bt full
- #0 0x00007fb59520793d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
- No locals.
- #1 0x00007fb595238bc4 in usleep (useconds=useconds@entry=4958) at ../sysdeps/unix/sysv/linux/usleep.c:32
- ts = {tv_sec = 0, tv_nsec = 4958000}
- #2 0x00000000004039d5 in main (argc=<optimized out>, argv=<optimized out>) at main.c:738
- eval = <optimized out>
- clk = <optimized out>
- ncycles_ref = 105082976
- counter = 105075942
- eptime = <optimized out>
- add_delay = 0.0049583556600989358
- cf = {stable = 0x7fb595e2a010, sessinfo = {pfds_rtp = 0x225c5b0, pfds_rtcp = 0x2269c90, sessions = 0x2234130, nsessions = 2, lock = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0,
- __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}, bindaddr_list = 0x22773c0, bindaddr_lock = {__data = {
- __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0},
- rtp_servers = 0x2241810, rtp_nsessions = 0, sessions_active = 1, sessions_created = 473464, nofile_limit_warned = 0, timeout_handler = 0x2234030, port_table_idx = 67, glock = {__data = {__lock = 0,
- __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}
- buf = "2189\n\000\000\000\063\b\000\000\001\000\000\000ȱ啵\177\000\000x,\356\334\377\177\000\000P,\356\334\377\177\000\000\000\353䕵\177\000\000\001\000\000\000\000\000\000\000 \265啵\177\000\000ȱ啵\177\000\000a\031ĕ\265\177", '\000' <repeats 11 times>, "\353䕵\177\000\000\001", '\000' <repeats 15 times>, "\001\000\000\000\377\177\000\000ȱ啵\177\000\000\240\273\222\225\265\177\000\000\240\243q\225\265\177\000\000\240\273\222\225\265\177\000\000`\240啵\177\000\000\000\000\000\000\000\000\000\000 \265啵\177\000\000\300+\356\334\377\177\000\000\260+\356\334\377\177\000\000.N=\366\000\000\000\000\a\023@\000\000\000\000\000\377\377\377\377\000\000\000\000\220-\356\334"...
- loop_error = {a = 0.040000000000000036, b = 0.95999999999999996, lastval = -0.00832886798021297, minval = 0, maxval = 0, peak_detect = 0}
- phase_detector = {target_clk = 105082977, phi_round = 0}
- usleep_time = 4958
- sparam = {__sched_priority = -588362015}
- __FUNCTION__ = "main"
- (gdb) quit
- A debugging session is active.
- Inferior 1 [process 2189] will be detached.
- Quit anyway? (y or n) y
- Detaching from program: /usr/bin/rtpproxy, process 2189
- root@rtp1:~# ps xa|grep rtp
- 2189 ? Ssl 172:25 rtpproxy -F -l X.X.X.X -L 19999 -m 30625 -M 37499 -p /var/run/rtpproxy3.pid -s unix:/var/run/rtpproxy3.sock -d INFO
- 2198 ? Ssl 173:10 rtpproxy -F -l X.X.X.X -L 19999 -m 37500 -M 44374 -p /var/run/rtpproxy4.pid -s unix:/var/run/rtpproxy4.sock -d INFO
- 14809 ? Ssl 56:47 rtpproxy -F -l X.X.X.X -L 19999 -m 23750 -M 30624 -p /var/run/rtpproxy2.pid -s unix:/var/run/rtpproxy2.sock -d INFO
- 14836 ? Ssl 39:03 rtpproxy -F -l X.X.X.X -L 19999 -m 16875 -M 23749 -p /var/run/rtpproxy1.pid -s unix:/var/run/rtpproxy1.sock -d INFO
- 17868 pts/1 S+ 0:00 grep --color=auto rtp
- root@rtp1:~# gdb /usr/bin/rtpproxy 2198
- GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
- Copyright (C) 2014 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from /usr/bin/rtpproxy...done.
- Attaching to program: /usr/bin/rtpproxy, process 2198
- Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
- Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.
- done.
- [New LWP 2206]
- [New LWP 2205]
- [New LWP 2204]
- [New LWP 2203]
- [New LWP 2202]
- [New LWP 2201]
- [New LWP 2199]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
- Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
- Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
- Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done.
- done.
- Loaded symbols for /lib64/ld-linux-x86-64.so.2
- 0x00007f0f57f7a93d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
- 81 ../sysdeps/unix/syscall-template.S: No such file or directory.
- (gdb) quit
- A debugging session is active.
- Inferior 1 [process 2198] will be detached.
- Quit anyway? (y or n) y
- Detaching from program: /usr/bin/rtpproxy, process 2198
- root@rtp1:~# gdb /usr/bin/rtpproxy 14809
- GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
- Copyright (C) 2014 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from /usr/bin/rtpproxy...done.
- Attaching to program: /usr/bin/rtpproxy, process 14809
- Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
- Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.
- done.
- [New LWP 14821]
- [New LWP 14820]
- [New LWP 14818]
- [New LWP 14817]
- [New LWP 14816]
- [New LWP 14812]
- [New LWP 14810]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
- Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
- Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
- Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done.
- done.
- Loaded symbols for /lib64/ld-linux-x86-64.so.2
- 0x00007ff2469c593d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
- 81 ../sysdeps/unix/syscall-template.S: No such file or directory.
- (gdb) bt full
- #0 0x00007ff2469c593d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
- No locals.
- #1 0x00007ff2469f6bc4 in usleep (useconds=useconds@entry=4945) at ../sysdeps/unix/sysv/linux/usleep.c:32
- ts = {tv_sec = 0, tv_nsec = 4945000}
- #2 0x00000000004039d5 in main (argc=<optimized out>, argv=<optimized out>) at main.c:738
- eval = <optimized out>
- clk = <optimized out>
- ncycles_ref = 105089925
- counter = 17619198
- eptime = <optimized out>
- add_delay = 0.0049459414116407698
- cf = {stable = 0x7ff2475e8010, sessinfo = {pfds_rtp = 0xaf55b0, pfds_rtcp = 0xb02c90, sessions = 0xacd130, nsessions = 0, lock = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0,
- __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}, bindaddr_list = 0xb103c0, bindaddr_lock = {__data = {
- __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0},
- rtp_servers = 0xada810, rtp_nsessions = 0, sessions_active = 0, sessions_created = 113265, nofile_limit_warned = 0, timeout_handler = 0xacd030, port_table_idx = 1659, glock = {__data = {__lock = 0,
- __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}
- buf = "14809\n\000\000\063\b\000\000\001\000\000\000ȑaG\362\177\000\000\250z\255\062\377\177\000\000\200z\255\062\377\177\000\000\000\313`G\362\177\000\000\001\000\000\000\000\000\000\000 \225aG\362\177\000\000ȑaG\362\177\000\000a\371?G\362\177", '\000' <repeats 11 times>, "\313`G\362\177\000\000\001", '\000' <repeats 15 times>, "\001\000\000\000\377\177\000\000ȑaG\362\177\000\000\240\233\016G\362\177\000\000\240\203\355F\362\177\000\000\240\233\016G\362\177\000\000`\200aG\362\177\000\000\000\000\000\000\000\000\000\000 \225aG\362\177\000\000\360y\255\062\377\177\000\000\340y\255\062\377\177\000\000.N=\366\000\000\000\000\a\023@"...
- loop_error = {a = 0.040000000000000036, b = 0.95999999999999996, lastval = -0.010811717671846128, minval = 0, maxval = 0, peak_detect = 0}
- phase_detector = {target_clk = 105089926, phi_round = 0}
- usleep_time = 4945
- sparam = {__sched_priority = 850230858}
- __FUNCTION__ = "main"
- (gdb) quit
- A debugging session is active.
- Inferior 1 [process 14809] will be detached.
- Quit anyway? (y or n) y
- Detaching from program: /usr/bin/rtpproxy, process 14809
- root@rtp1:~# gdb /usr/bin/rtpproxy 14836
- GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
- Copyright (C) 2014 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from /usr/bin/rtpproxy...done.
- Attaching to program: /usr/bin/rtpproxy, process 14836
- Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
- Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.
- done.
- [New LWP 14847]
- [New LWP 14844]
- [New LWP 14843]
- [New LWP 14842]
- [New LWP 14841]
- [New LWP 14838]
- [New LWP 14837]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
- Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
- Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
- Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done.
- done.
- Loaded symbols for /lib64/ld-linux-x86-64.so.2
- 0x00007f13834b193d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
- 81 ../sysdeps/unix/syscall-template.S: No such file or directory.
- (gdb) bt full
- #0 0x00007f13834b193d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
- No locals.
- #1 0x00007f13834e2bc4 in usleep (useconds=useconds@entry=4931) at ../sysdeps/unix/sysv/linux/usleep.c:32
- ts = {tv_sec = 0, tv_nsec = 4931000}
- #2 0x00000000004039d5 in main (argc=<optimized out>, argv=<optimized out>) at main.c:738
- eval = <optimized out>
- clk = <optimized out>
- ncycles_ref = 105093128
- counter = 17622181
- eptime = <optimized out>
- add_delay = 0.0049311221517517566
- cf = {stable = 0x7f13840d4010, sessinfo = {pfds_rtp = 0x6ed5b0, pfds_rtcp = 0x6fac90, sessions = 0x6c5130, nsessions = 0, lock = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0,
- __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}, bindaddr_list = 0x7083c0, bindaddr_lock = {__data = {
- __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0},
- rtp_servers = 0x6d2810, rtp_nsessions = 0, sessions_active = 0, sessions_created = 113195, nofile_limit_warned = 0, timeout_handler = 0x6c5030, port_table_idx = 1599, glock = {__data = {__lock = 0,
- __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}
- buf = "14836\n\000\000\063\b\000\000\001\000\000\000\310Q\020\204\023\177\000\000H\255:\223\377\177\000\000 \255:\223\377\177\000\000\000\213\017\204\023\177\000\000\001\000\000\000\000\000\000\000 U\020\204\023\177\000\000\310Q\020\204\023\177\000\000a\271\356\203\023\177", '\000' <repeats 11 times>, "\213\017\204\023\177\000\000\001", '\000' <repeats 15 times>, "\001\000\000\000\377\177\000\000\310Q\020\204\023\177\000\000\240[\275\203\023\177\000\000\240C\234\203\023\177\000\000\240[\275\203\023\177\000\000`@\020\204\023\177\000\000\000\000\000\000\000\000\000\000 U\020\204\023\177\000\000\220\254:\223\377\177\000\000\200\254:\223\377\177\000\000.N=\366\000\000\000\000"...
- loop_error = {a = 0.040000000000000036, b = 0.95999999999999996, lastval = -0.013775569649648725, minval = 0, maxval = 0, peak_detect = 0}
- phase_detector = {target_clk = 105093129, phi_round = 0}
- usleep_time = 4931
- sparam = {__sched_priority = -1824862646}
- __FUNCTION__ = "main"
- (gdb) quit
- A debugging session is active.
- Inferior 1 [process 14836] will be detached.
- Quit anyway? (y or n)
- Please answer y or n.
- A debugging session is active.
- Inferior 1 [process 14836] will be detached.
- Quit anyway? (y or n) y
- Detaching from program: /usr/bin/rtpproxy, process 14836
Advertisement
Add Comment
Please, Sign In to add comment