iptux-src / iptux

A software for sharing in LAN
GNU General Public License v2.0
445 stars 130 forks source link

the generated backtrace has no symbol when killed by SIGSEGV #531

Closed lidaobing closed 8 months ago

lidaobing commented 8 months ago
$ /usr/local/bin/iptux &
[1] 570779
$ [2024-03-14 01:24:14.421][iptux-140196805038528][WARN ]iptux/UiModels.cpp:240:palTreeModelFillFromGroupInfo:gtk_icon_theme_load_icon failed: [0] Icon 'A~�' not present in theme Yaru

$ kill -11 `pgrep iptux`
*** Aborted at 1710393874 (unix time) try "date -d @1710393874" if you are using GNU date ***
$ PC: @                0x0 (unknown)
*** SIGSEGV (@0x3e9000208ae) received by PID 570779 (TID 0x7f821cc351c0) from PID 133294; stack trace: ***
    @     0x7f821e16d046 (unknown)
    @     0x7f821da42520 (unknown)
    @     0x7f821db18bcf __poll
    @     0x7f821e2311f6 (unknown)
    @     0x7f821e1d93e3 g_main_context_iteration
    @     0x7f821e400fb5 g_application_run
    @     0x564dceee3e28 main
    @     0x7f821da29d90 (unknown)
    @     0x7f821da29e40 __libc_start_main
    @     0x564dceee4135 _start
    @                0x0 (unknown)

[1]+  Segmentation fault      (core dumped) /usr/local/bin/iptux
lidaobing commented 8 months ago

new result:

$ /usr/local/bin/iptux &
[1] 577181
$ kill -11 `pgrep iptux`
Error: signal 11:
$ /usr/local/bin/iptux(+0x4c772)[0x55a7bcf86772]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7ff0b8642520]
/lib/x86_64-linux-gnu/libc.so.6(__poll+0x4f)[0x7ff0b8718bcf]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xab1f6)[0x7ff0b8e311f6]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x7ff0b8dd93e3]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_application_run+0x1a5)[0x7ff0b9000fb5]
/usr/local/bin/iptux(_ZN5iptux11Application3runEiPPc+0x46)[0x55a7bcf88426]
/usr/local/bin/iptux(main+0x307)[0x55a7bcf86b16]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7ff0b8629d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7ff0b8629e40]
/usr/local/bin/iptux(_start+0x25)[0x55a7bcf85f55]

[1]+  Exit 1                  /usr/local/bin/iptux
$ echo '/usr/local/bin/iptux(_ZN5iptux11Application3runEiPPc+0x46)[0x55a7bcf88426]' | c++filt
/usr/local/bin/iptux(iptux::Application::run(int, char**)+0x46)[0x55a7bcf88426]