Skip to content
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

[Bug] Flatpak version crashes opening a file #743

Closed
1 task
joshas opened this issue Sep 17, 2022 · 2 comments
Closed
1 task

[Bug] Flatpak version crashes opening a file #743

joshas opened this issue Sep 17, 2022 · 2 comments

Comments

@joshas
Copy link

joshas commented Sep 17, 2022

Operating System

Linux

What's the issue you encountered?

In current Flatpak version of ImHex selecting a file from open menu or dragging and dropping file on program window ends up with a crash. Same version in AppImage format works correctly, files open without issues.

Here's error log when starting ImHex from terminal:

$ flatpak run net.werwolv.ImHex
[INFO] [main] Welcome to ImHex!
[INFO] [main] Native scaling set to: 1.0
/usr/include/c++/12.1.0/string_view:239: constexpr const std::basic_string_view<_CharT, _Traits>::value_type& std::basic_string_view<_CharT, _Traits>::operator const [with _CharT = char; _Traits = std::char_traits; const_reference = const char&; size_type = long unsigned int]: Assertion '__pos < this->_M_len' failed.
[FATAL] [main] Terminating with signal 6

How can the issue be reproduced?

Install Flatpak version of ImHex. Use open dialog to select a file and click open. Program window dissapears, as it crashes.

ImHex Version

1.23.1

ImHex Build Type

  • Nightly or built from sources

Additional context?

  • Additional information about your environment.
    Fedora Linux 35 (Workstation Edition) 64-bit, with latest updates, using Wayland compositor.

  • If possible and useful, please upload the binary you've been editing when the bug occurred.
    Does not matter what file is used, crash happens with binaries, text files, no matter of size.

@iTrooz
Copy link
Collaborator

iTrooz commented Sep 17, 2022

#561
Please try with version 1.23.2 once it's out

@iTrooz iTrooz closed this as completed Sep 17, 2022
@joshas
Copy link
Author

joshas commented Sep 17, 2022

Thank you, it works correctly now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants