Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 3614 www-data 10 -10 331760 41300 2996 R 124,4 0,1 251:28.87 nginx-debug
- 3648 www-data 10 -10 331508 41320 2996 R 124,4 0,1 475:29.61 nginx-debug
- 3482 www-data 10 -10 331776 41532 2972 R 91,7 0,1 257:57.64 nginx-debug
- 3483 www-data 10 -10 331596 41444 2976 R 91,7 0,1 154:32.64 nginx-debug
- 3481 www-data 10 -10 331744 41464 2996 R 85,1 0,1 84:18.20 nginx-debug
- 3645 www-data 10 -10 331776 41564 2996 R 85,1 0,1 147:35.56 nginx-debug
- root@lol ~ # gdb --pid 3481
- GNU gdb (Debian 7.7.1+dfsg-5) 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".
- Attaching to process 3481
- Reading symbols from /usr/sbin/nginx-debug...Reading symbols from /usr/lib/debug//usr/sbin/nginx-debug...done.
- done.
- Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
- 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 3526]
- [New LWP 3524]
- [New LWP 3522]
- [New LWP 3520]
- [New LWP 3518]
- [New LWP 3516]
- [New LWP 3514]
- [New LWP 3511]
- [New LWP 3509]
- [New LWP 3507]
- [New LWP 3505]
- [New LWP 3504]
- [New LWP 3503]
- [New LWP 3502]
- [New LWP 3501]
- [New LWP 3500]
- [New LWP 3499]
- [New LWP 3498]
- [New LWP 3497]
- [New LWP 3496]
- [New LWP 3495]
- [New LWP 3494]
- [New LWP 3493]
- [New LWP 3492]
- [New LWP 3491]
- [New LWP 3490]
- [New LWP 3489]
- [New LWP 3488]
- [New LWP 3487]
- [New LWP 3486]
- [New LWP 3485]
- [New LWP 3484]
- [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/libcrypt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libcrypt-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libcrypt.so.1
- Reading symbols from /lib/x86_64-linux-gnu/libpcre.so.3...(no debugging symbols found)...done.
- Loaded symbols for /lib/x86_64-linux-gnu/libpcre.so.3
- Reading symbols from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging symbols found)...done.
- Loaded symbols for /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
- Reading symbols from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no debugging symbols found)...done.
- Loaded symbols for /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
- Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
- Loaded symbols for /lib/x86_64-linux-gnu/libz.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
- Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
- Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
- Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
- Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.19.so...done.
- done.
- Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
- syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
- 38 ../sysdeps/unix/sysv/linux/x86_64/syscall.S: Нет такого файла или каталога.
- (gdb) source nginx.gdb
- (gdb) ddl
- Cannot access memory at address 0x38
- (gdb) source nginx2.gdb
- nginx2.gdb:5: Error in sourced command file:
- Cannot access memory at address 0x30
- (gdb) quit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement