root@KSourceServer:/usr/bin# gdb qq
GNU gdb (Debian 8.3.1-1) 8.3.1
Copyright (C) 2019 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 qq...
(No debugging symbols found in qq)
(gdb) r
Starting program: /usr/bin/qq
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[1025/140416.968220:INFO:main.cpp(333)] ======================cmdline:/usr/bin/qq======================
[New Thread 0x7ffff5887700 (LWP 18031)]
[New Thread 0x7ffff5086700 (LWP 18032)]
[New Thread 0x7ffff4885700 (LWP 18033)]
[New Thread 0x7ffff4084700 (LWP 18034)]
[New Thread 0x7ffff3883700 (LWP 18035)]
[New Thread 0x7ffff3082700 (LWP 18036)]
[New Thread 0x7ffff2881700 (LWP 18037)]
[New Thread 0x7ffff2080700 (LWP 18038)]
[New Thread 0x7ffff107e700 (LWP 18040)]
[New Thread 0x7ffff187f700 (LWP 18039)]
[New Thread 0x7ffff087d700 (LWP 18041)]
[New Thread 0x7fffeeccd700 (LWP 18042)]
[New Thread 0x7fffee4cc700 (LWP 18043)]
[New Thread 0x7fffedccb700 (LWP 18044)]
[New Thread 0x7fffed4ca700 (LWP 18045)]
[New Thread 0x7fffeccc9700 (LWP 18046)]
[New Thread 0x7fffec4c8700 (LWP 18047)]
[New Thread 0x7fffebcc7700 (LWP 18048)]
[New Thread 0x7fffeb4c6700 (LWP 18049)]
[New Thread 0x7fffeacc5700 (LWP 18050)]
[New Thread 0x7fffea4c4700 (LWP 18051)]
[New Thread 0x7fffe9cc3700 (LWP 18052)]
[New Thread 0x7fffe94c2700 (LWP 18053)]
[New Thread 0x7fffe8cc1700 (LWP 18054)]
[New Thread 0x7fffe84c0700 (LWP 18055)]
[New Thread 0x7fffe7cbf700 (LWP 18056)]
[New Thread 0x7fffe74be700 (LWP 18057)]
[New Thread 0x7fffe6cbd700 (LWP 18058)]
Thread 1 "qq" received signal SIGSEGV, Segmentation fault.
0x00007ffff7d0ad83 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff7d0ad83 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff7d0b130 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007ffff7d0b1bf in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x0000555555fce812 in ?? ()
#4 0x0000555555ff9b79 in ?? ()
#5 0x0000555555fe2e77 in ?? ()
#6 0x0000555555e5e27c in ?? ()
#7 0x00007ffff6f83bbb in __libc_start_main (main=0x555555e5dc50, argc=1, argv=0x7fffffffe5c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe5b8) at ../csu/libc-start.c:308
#8 0x0000555555b4752a in ?? ()
(gdb)
也没个调试信息,啥都看不见 23333