1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
| $ sudo gdb gdb /tmp/core.0.10585.1653385146 GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1 Copyright (C) 2018 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 gdb...Reading symbols from /usr/lib/debug/.build-id/aa/405dd866e17b9353dd22ef4350c9f765bed9aa.debug...done. done. [New LWP 10585] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `gdb -p 28121'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65 65 ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or directory. (gdb) bt #0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65 #1 0x0000560b9bc52469 in gdb_abspath (path=path@entry=0x560b9dd723c0 "system-supplied DSO at 0x7ffc9cd80000") at ./gdb/common/pathstuff.c:143 #2 0x0000560b9bd97d03 in objfile::objfile (this=0x560b9d077640, abfd=0x560b9ddc52b0, name=0x560b9dd723c0 "system-supplied DSO at 0x7ffc9cd80000", flags_=...) at ./gdb/objfiles.c:400 #3 0x0000560b9bdff2f9 in symbol_file_add_with_addrs (abfd=abfd@entry=0x560b9ddc52b0, name=0x560b9dd723c0 "system-supplied DSO at 0x7ffc9cd80000", add_flags=..., addrs=addrs@entry=0x560b9cdee4d0, flags=..., parent=parent@entry=0x0) at ./gdb/symfile.c:1153 #4 0x0000560b9bdff9e5 in symbol_file_add_from_bfd (abfd=abfd@entry=0x560b9ddc52b0, name=<optimized out>, add_flags=..., addrs=addrs@entry=0x560b9cdee4d0, flags=..., flags@entry=..., parent=parent@entry=0x0) at ./gdb/symfile.c:1263 #5 0x0000560b9bbb08f2 in symbol_file_add_from_memory (templ=templ@entry=0x560b9cebeb50, addr=<optimized out>, size=<optimized out>, name=name@entry=0x560b9dd723c0 "system-supplied DSO at 0x7ffc9cd80000", from_tty=from_tty@entry=0) at ./gdb/symfile-mem.c:133 #6 0x0000560b9bbb0a3f in add_vsyscall_page (target=<optimized out>, from_tty=<optimized out>) at ./gdb/symfile-mem.c:205 #7 0x0000560b9bd9a41d in generic_observer_notify (args=0x7ffd04f1f450, subject=<optimized out>) at ./gdb/observer.c:167 #8 observer_notify_inferior_created (objfile=<optimized out>, from_tty=from_tty@entry=1) at ./observer.inc:426 #9 0x0000560b9bd58861 in post_create_inferior (target=<optimized out>, from_tty=from_tty@entry=1) at ./gdb/infcmd.c:501 #10 0x0000560b9bd5ac3c in setup_inferior (from_tty=from_tty@entry=1) at ./gdb/infcmd.c:2660 #11 0x0000560b9bd5ad3c in attach_post_wait (from_tty=1, mode=ATTACH_POST_WAIT_STOP, args=<optimized out>) at ./gdb/infcmd.c:2689 #12 0x0000560b9bcbe00d in do_my_continuations_1 (err=0, pmy_chain=<synthetic pointer>) at ./gdb/continuations.c:59 #13 do_my_continuations (err=0, list=<optimized out>) at ./gdb/continuations.c:83 #14 do_all_inferior_continuations (err=err@entry=0) at ./gdb/continuations.c:125 #15 0x0000560b9bd54c97 in inferior_event_handler (event_type=<optimized out>, client_data=<optimized out>) at ./gdb/inf-loop.c:59 #16 0x0000560b9bd6bd5c in fetch_inferior_event (client_data=<optimized out>) at ./gdb/infrun.c:3973 #17 0x0000560b9bd274fd in gdb_wait_for_event (block=block@entry=0) at ./gdb/event-loop.c:859 #18 0x0000560b9bd276ef in gdb_do_one_event () at ./gdb/event-loop.c:322 #19 0x0000560b9bd277a6 in gdb_do_one_event () at ./gdb/event-loop.c:353 #20 0x0000560b9be34d3c in wait_sync_command_done () at ./gdb/top.c:503 #21 0x0000560b9be34d7a in maybe_wait_sync_command_done (was_sync=<optimized out>, was_sync@entry=0) at ./gdb/top.c:520 #22 0x0000560b9bd8290f in catch_command_errors (command=0x560b9bd5ae80 <attach_command(char const*, int)>, arg=arg@entry=0x7ffd04f2089f "28121", from_tty=1) at ./gdb/main.c:381 #23 0x0000560b9bd83cbc in captured_main_1 (context=<optimized out>) at ./gdb/main.c:1061 #24 captured_main (data=<optimized out>) at ./gdb/main.c:1147 #25 gdb_main (args=<optimized out>) at ./gdb/main.c:1173 #26 0x0000560b9bb8decb in main (argc=<optimized out>, argv=<optimized out>) at ./gdb/gdb.c:32
|