Skip to content

[Bug] ImHex v1.37.4 randomly crashing #2229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
joshas opened this issue May 7, 2025 · 3 comments
Closed
1 task

[Bug] ImHex v1.37.4 randomly crashing #2229

joshas opened this issue May 7, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@joshas
Copy link

joshas commented May 7, 2025

Operating System

Linux

What's the issue you encountered?

ImHex closes after few seconds after starting program. Sometimes looks like that some actions trigger the crash, e.g. open any binary file and try to open "Tools" from "View" menu.

How can the issue be reproduced?

Open any binary file, click "View" -> "Tools". Program should close by itself.

ImHex Version

1.37.4

ImHex Build Type

  • Nightly or built from sources

Installation type

Flatpak

Additional context?

Flatpak version, running on Fedora Linux 41 (Workstation Edition), Wayland compositor.

/usr/include/c++/14.2.0/bits/stl_algo.h:3625: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = float]: Assertion '!(__hi < __lo)' failed.
[19:29:44] [FATAL] [main | Main] Received signal 'SIGABRT' (6)
[19:29:44] [INFO] [main | Main] Wrote crash.json file to /home/username/.var/app/net.werwolv.ImHex/config/imhex/config/crash.json
[19:29:44] [FATAL] [main | Main] Printing stacktrace using implementation 'execinfo'
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:44] [FATAL] [main | Main] (libc.so.6) | ??
[19:29:44] [FATAL] [main | Main] (libc.so.6) | ??
[19:29:44] [FATAL] [main | Main] (libc.so.6) | gsignal
[19:29:44] [FATAL] [main | Main] (libc.so.6) | abort
[19:29:44] [FATAL] [main | Main] (libstdc++.so.6) | ??
[19:29:44] [FATAL] [main | Main] (builtin.hexplug) | hex::plugin::builtin::ViewPatternEditor::drawContent()
[19:29:44] [FATAL] [main | Main] (builtin.hexplug) | hex::View::Window::draw()
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:44] [FATAL] [main | Main] (libc.so.6) | ??
[19:29:44] [FATAL] [main | Main] (libc.so.6) | __libc_start_main
[19:29:44] [FATAL] [main | Main] (imhex) | ??
[19:29:45] [INFO] [main | Main] Exit task 'Prepare exit' finished successfully
[19:29:45] [INFO] [main | Main] Exit task 'Unloading plugins' finished successfully
[19:29:45] [INFO] [main | Main] Exit task 'Deleting old files' finished successfully

@joshas joshas added the bug Something isn't working label May 7, 2025
@paxcut
Copy link
Collaborator

paxcut commented May 7, 2025

This error was reported and fixed on PR #2219. Not sure if you can get nightly builds using flatpak, but if you can please try it on the latest builds (1.38.0 wip with a build date a few days old at most) because it should be fixed there .

@joshas
Copy link
Author

joshas commented May 7, 2025

Can confirm that issue does not occur in AppImage nightly build. Any plans for Flatpak release, as current version is broken?

@joshas joshas closed this as completed May 7, 2025
@paxcut
Copy link
Collaborator

paxcut commented May 7, 2025

Can't really say when next release will be. The error occurs when the text editor window is resized (either the whole window or moving the separator bar between the upper and lower sub-windows) so one way to work around it would be to undock it and make sure not to resize it. Not the best ux but maybe imhex can be used that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants