linux - Which line the program running on with a backtrace info? -


there backtrace info:

======= backtrace: ========= /lib64/libc.so.6(+0x7bc07)[0x7f959bba4c07] /lib64/libc.so.6(+0x7d23a)[0x7f959bba623a] /lib64/libspice-server.so.1(+0x2108e)[0x7f959c8d508e] /lib64/libspice-server.so.1(+0x227a3)[0x7f959c8d67a3] /usr/libexec/qemu-kvm(qemu_iohandler_poll+0xc6)[0x7f95a10571e6] /usr/libexec/qemu-kvm(main_loop_wait+0x188)[0x7f95a105b748] /usr/libexec/qemu-kvm(main+0x1240)[0x7f95a0f7ce30] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f959bb4aaf5] /usr/libexec/qemu-kvm(+0xb2ced)[0x7f95a0f80ced] 

i create kvm instance spice, crashed , got message log.

now, want know line did make crash. no link symbol table /lib64/libspice-server.so.1.

i can address offset +0x2108e. way find out line did crash?

btw, tutorial debug library?

thanks.

any way find out line did crash?

your libc.so.6 , libspice-server.so.1 (apparently) fully-stripped.

you'll want install debuginfo packages both libraries, , use addr2line translate addresses symbol/file/line, so:

addr2line -fe /lib64/libc.so.6 0x7bc07 0x7d23a 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -