HGL
vicious-gold

[debian+.deb install] App stops launching after reboot

Just getting
$ heroic
Illegal instruction
$ heroic
Illegal instruction
and sometimes
$ heroic
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
Segmentation fault
$ heroic
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
Segmentation fault
Reinstalling the .deb seems to temporarily fix the issue, until I reboot again. Not sure what is going on, any tips on how to drill down on debugging it?
9 Replies
vicious-gold
vicious-goldOP3w ago
I ran gdb against it:
Reading symbols from heroic...
(No debugging symbols found in heroic)
(gdb) run
Starting program: /usr/bin/heroic
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f3dce5516c0 (LWP 4772)]
[Detaching after fork from child process 4773]
[Detaching after fork from child process 4774]
[Detaching after fork from child process 4775]
[New Thread 0x7f3dcdd506c0 (LWP 4778)]
[New Thread 0x7f3dcd54f6c0 (LWP 4779)]
[New Thread 0x7f3dccd4e6c0 (LWP 4780)]
[New Thread 0x7f3dcc54d6c0 (LWP 4781)]
[New Thread 0x7f3dcbd4c6c0 (LWP 4782)]
[New Thread 0x7f3dcb54b6c0 (LWP 4783)]
[New Thread 0x7f3dcad4a6c0 (LWP 4784)]
[New Thread 0x7f3dca5496c0 (LWP 4785)]
[New Thread 0x7f3dc9d486c0 (LWP 4786)]
[New Thread 0x7f3dc95476c0 (LWP 4787)]
[New Thread 0x7f3dc8d466c0 (LWP 4788)]
[New Thread 0x7f3dcf2e96c0 (LWP 4789)]
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
[New Thread 0x7f3d404c56c0 (LWP 4790)]
[New Thread 0x7f3d3fcc46c0 (LWP 4791)]
[New Thread 0x7f3d3f4c36c0 (LWP 4792)]
[New Thread 0x7f3d3ec336c0 (LWP 4793)]
[New Thread 0x7f3d3ecc26c0 (LWP 4794)]
[New Thread 0x7f3d3dbff6c0 (LWP 4795)]

Thread 1 "heroic" received signal SIGSEGV, Segmentation fault.
0x000055f9aae05f00 in ?? ()
(gdb) bt
#0 0x000055f9aae05f00 in ?? ()
#1 0x000055f9a85208ad in ?? ()
#2 0x000055f9ae038300 in ?? ()
#3 0x000014c40008c580 in ?? ()
#4 0x00007ffe2460e810 in ?? ()
#5 0x000055f9a81d4977 in ?? ()
#6 0x00007ffe2460e810 in ?? ()
#7 0x000055f9a56eef85 in ?? ()
#8 0x000014c40445d580 in ?? ()
#9 0x000014c40445d580 in ?? ()
#10 0x000000000000008f in ?? ()
#11 0x000014c40008c580 in ?? ()
#12 0x000014c40454d360 in ?? ()
#13 0x000055f9ae60c000 in ?? ()
#14 0x000055f9ae449970 in ?? ()
#15 0x00007ffe2460e858 in ?? ()
#16 0x00007ffe2460e840 in ?? ()
#17 0x000055f9a81d4594 in ?? ()
#18 0x000000000000003c in ?? ()
#19 0x000000000000008f in ?? ()
#20 0x000014c4046cc690 in ?? ()
#21 0x0000000000000000 in ?? ()
(gdb)
Reading symbols from heroic...
(No debugging symbols found in heroic)
(gdb) run
Starting program: /usr/bin/heroic
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f3dce5516c0 (LWP 4772)]
[Detaching after fork from child process 4773]
[Detaching after fork from child process 4774]
[Detaching after fork from child process 4775]
[New Thread 0x7f3dcdd506c0 (LWP 4778)]
[New Thread 0x7f3dcd54f6c0 (LWP 4779)]
[New Thread 0x7f3dccd4e6c0 (LWP 4780)]
[New Thread 0x7f3dcc54d6c0 (LWP 4781)]
[New Thread 0x7f3dcbd4c6c0 (LWP 4782)]
[New Thread 0x7f3dcb54b6c0 (LWP 4783)]
[New Thread 0x7f3dcad4a6c0 (LWP 4784)]
[New Thread 0x7f3dca5496c0 (LWP 4785)]
[New Thread 0x7f3dc9d486c0 (LWP 4786)]
[New Thread 0x7f3dc95476c0 (LWP 4787)]
[New Thread 0x7f3dc8d466c0 (LWP 4788)]
[New Thread 0x7f3dcf2e96c0 (LWP 4789)]
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
[New Thread 0x7f3d404c56c0 (LWP 4790)]
[New Thread 0x7f3d3fcc46c0 (LWP 4791)]
[New Thread 0x7f3d3f4c36c0 (LWP 4792)]
[New Thread 0x7f3d3ec336c0 (LWP 4793)]
[New Thread 0x7f3d3ecc26c0 (LWP 4794)]
[New Thread 0x7f3d3dbff6c0 (LWP 4795)]

Thread 1 "heroic" received signal SIGSEGV, Segmentation fault.
0x000055f9aae05f00 in ?? ()
(gdb) bt
#0 0x000055f9aae05f00 in ?? ()
#1 0x000055f9a85208ad in ?? ()
#2 0x000055f9ae038300 in ?? ()
#3 0x000014c40008c580 in ?? ()
#4 0x00007ffe2460e810 in ?? ()
#5 0x000055f9a81d4977 in ?? ()
#6 0x00007ffe2460e810 in ?? ()
#7 0x000055f9a56eef85 in ?? ()
#8 0x000014c40445d580 in ?? ()
#9 0x000014c40445d580 in ?? ()
#10 0x000000000000008f in ?? ()
#11 0x000014c40008c580 in ?? ()
#12 0x000014c40454d360 in ?? ()
#13 0x000055f9ae60c000 in ?? ()
#14 0x000055f9ae449970 in ?? ()
#15 0x00007ffe2460e858 in ?? ()
#16 0x00007ffe2460e840 in ?? ()
#17 0x000055f9a81d4594 in ?? ()
#18 0x000000000000003c in ?? ()
#19 0x000000000000008f in ?? ()
#20 0x000014c4046cc690 in ?? ()
#21 0x0000000000000000 in ?? ()
(gdb)
fair-rose
fair-rose3w ago
The executable is a release build of Electron, so you're not going to get anything useful from gdb. Are you on a really old CPU? What's in /proc/cpuinfo?
vicious-gold
vicious-goldOP3w ago
AMD Ryzen 5 3600X 6-Core Processor "old" ish also:
# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Micro-Star International Co., Ltd.
Product Name: X570-A PRO (MS-7C37)
Version: 3.0
Serial Number: J916209046
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Micro-Star International Co., Ltd.
Product Name: X570-A PRO (MS-7C37)
Version: 3.0
Serial Number: J916209046
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
fair-rose
fair-rose3w ago
BIOS or motherboard info won't be relevant.
fair-rose
fair-rose3w ago
GitHub
GitHub - HenrikBengtsson/x86-64-level: x86-64-level - Get the x86-6...
x86-64-level - Get the x86-64 Microarchitecture Level on the Current Machine - HenrikBengtsson/x86-64-level
fair-rose
fair-rose3w ago
And file /usr/bin/heroic
vicious-gold
vicious-goldOP3w ago
$ ./x86-64-level
3
$ ./x86-64-level
3
vicious-gold
vicious-goldOP3w ago
vicious-gold
vicious-goldOP3w ago
lscpu ^ what really surprises me is that reinstalling fixes it

Did you find this page helpful?