WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
44.99k stars 1.95k forks source link

[Bug] Exploring GUI → crash (SIGSEGV) #1383

Open schrmh opened 1 year ago

schrmh commented 1 year ago

Operating System

Linux

What's the issue you encountered?

ImHex crashed when I clicked on "imnodes" within the Theme Manager. Terminal output:

[21:04:58] [INFO]  [main]       Welcome to ImHex 1.31.0!
[21:04:58] [INFO]  [main]       Compiled using commit master@f5b8021
[21:04:58] [INFO]  [main]       Running on Linux 6.5.5-x64v2-xanmod1-1 #1 SMP PREEMPT_DYNAMIC Sun, 01 Oct 2023 04:46:56 +0000 (x86_64)
[21:04:59] [INFO]  [main]       Native scaling set to: 1.0
[21:04:59] [INFO]  [main]       Using 'AMD' GPU
[21:04:59] [INFO]  [main]       Task 'Setting up environment' finished in 0 ms (success=true)
[21:04:59] [INFO]  [main]       Task 'Creating directories' finished in 4 ms (success=true)
[21:04:59] [INFO]  [main]       Task 'Migrate config to .config' finished in 0 ms (success=true)
[21:04:59] [INFO]  [main]       Task 'Loading settings' finished in 0 ms (success=true)
[21:04:59] [INFO]  [main]       Task 'Configuring UI scale' finished in 0 ms (success=true)
[21:04:59] [INFO]  [main]       Task 'Checking for updates' finished in 0 ms (success=true)
[21:05:00] [ERROR] [script_loader] Failed to initialize dotnet loader, could not load hostfxr
[21:05:00] [INFO]  [main]       Task 'Loading plugins' finished in 82 ms (success=true)
[21:05:01] [INFO]  [main]       Task 'Loading fonts' finished in 1150 ms (success=true)
[23:25:43] [FATAL] [main]       Received signal 'SIGSEGV' (11)
[23:25:43] [INFO]  [main]       Wrote crash.json file to /home/duda/.config/imhex/config/crash.json
[23:25:43] [FATAL] [main]         /usr/lib/libimhex.so.1.31.0(_ZN3hex10stacktrace13getStackTraceEv+0x56) [0x7dff64448556]
[23:25:43] [FATAL] [main]         imhex(+0x48db6) [0x630ef91e6db6]
[23:25:43] [FATAL] [main]         imhex(+0x4943f) [0x630ef91e743f]
[23:25:43] [FATAL] [main]         imhex(+0x495dd) [0x630ef91e75dd]
[23:25:43] [FATAL] [main]         imhex(+0x4969b) [0x630ef91e769b]
[23:25:43] [FATAL] [main]         /usr/lib/libc.so.6(+0x3e710) [0x7dff6265c710]
[23:25:43] [FATAL] [main]         /usr/lib/imhex/plugins/builtin.hexplug(+0x42431c) [0x7dff1e02431c]
[23:25:43] [FATAL] [main]         /usr/lib/imhex/plugins/builtin.hexplug(_ZN3hex6plugin7builtin16ViewThemeManager11drawContentEv+0x20b) [0x7dff1e0e58ab]
[23:25:43] [FATAL] [main]         imhex(+0x4c12e) [0x630ef91ea12e]
[23:25:43] [FATAL] [main]         imhex(+0x255e3) [0x630ef91c35e3]
[23:25:43] [FATAL] [main]         /usr/lib/libc.so.6(+0x27cd0) [0x7dff62645cd0]
[23:25:43] [FATAL] [main]         /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7dff62645d8a]
[23:25:43] [FATAL] [main]         imhex(+0x2d7d5) [0x630ef91cb7d5]

Before the crash I clicked on the categories before the "imnodes" one and were just exploring the GUI.

From start to crash (what I recall): I opened a file (launcher.lz from a EUR 3DS home menu to be a bit more precise). Downloaded "Nintendo Switch Magic" (and removed it again cause something appeared for a split second that I wanted to see again — I think that was an achievement). Opened Theme Manager, clicked on a few categories and closed that (cause it was a lot there and I wanted to take a look again later). Opened Created a bookmark and exported that to the home directory on the ext4 file system I use. Opened Tools from View and clicked on a few categories there (float converter, wiki term thing — which did not find a term for "hex", color picker, permission calculator, byte swapper and calculator). Did something else in a different program for a few minutes. Opened Theme Manager again and started to click on categories top to bottom.

How can the issue be reproduced?

I wasn't able to reproduce it yet.

ImHex Version

1.31.0

ImHex Build Type

Installation type

aur/imhex-bin

Additional context?

Linux myhost 6.5.5-x64v2-xanmod1-1 #1 SMP PREEMPT_DYNAMIC Sun, 01 Oct 2023 04:46:56 +0000 x86_64 GNU/Linux

Environment: X11 with FVWM3 as a window manager.

/home/duda/.config/imhex/config/crash.json doesn't exist anymore after restarting ImHex :/

github-actions[bot] commented 1 month ago

This issue is marked stale as it has been open for 11 months without activity. Please try the latest ImHex version. (Avaiable here: https://imhex.download/ for release and https://imhex.download/#nightly for development version) If the issue persists on the latest version, please make a comment on this issue again

Without response, this issue will be closed in one month.