Invalid opcode / segmentation fault

So I caught another crash with core dump:

lw@lukasz-home /v/crash> gdb /tmp/genotick-api core-genotick-api.5055.lukasz-home.1569145802
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
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 /tmp/genotick-api...done.
[New LWP 5714]
[New LWP 5717]
[New LWP 5055]
[New LWP 5706]
[New LWP 5709]
[New LWP 5712]
[New LWP 5692]
[New LWP 5703]
[New LWP 5698]
[New LWP 5697]
[New LWP 5699]
[New LWP 5704]
[New LWP 5722]
[New LWP 5715]
[New LWP 5716]
[New LWP 5707]
[New LWP 5718]
[New LWP 5708]
[New LWP 5695]
[New LWP 5696]
[New LWP 5719]
[New LWP 5723]
[New LWP 5701]
[New LWP 5700]
[New LWP 5705]
[New LWP 5693]
[New LWP 5702]
[New LWP 5710]
[New LWP 5713]
[New LWP 5711]
[New LWP 5694]
[New LWP 5720]
[New LWP 5721]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by /tmp/genotick-api'. Program terminated with signal SIGILL, Illegal instruction. #0 0x000055ae103af8f9 in ?? () [Current thread is 1 (Thread 0x7f9dfba52700 (LWP 5714))] warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts of file /tmp/genotick-api. Use info auto-load python-scripts [REGEXP]' to list them.

In syslog:

Sep 22 11:50:02 lukasz-home kernel: [94019.864913] traps: genotick-api[5714] trap invalid opcode ip:55ae103af8f9 sp:7f9dfba516d8 error:0 in genotick-api[55ae1032f000+226000]
Sep 22 11:50:02 lukasz-home kernel: [94019.864926] genotick-api[5717]: segfault at 7f9dfaa496d8 ip 00007f9dfaa496d8 sp 00007f9dfaa496d8 error 15

Could you run

  • bt

  • i r

  • i f

  • maintenance info sections

on that gdb binary core_file interactive session?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.