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] Opening project, when other file/project is opened causes SegFault #1687

Open
1 task
glpnk opened this issue May 18, 2024 · 0 comments
Open
1 task
Labels
bug Something isn't working

Comments

@glpnk
Copy link

glpnk commented May 18, 2024

Operating System

Windows/Linux

What's the issue you encountered?

Opening project, when different project or file is opened, crashes ImHex (SIGSEGV).

File naming explanation:

  • project: ImHex project with at least 1 file
  • new [file]: non project file
  • old [file]: file included in project

OS dependent things:

  • Drag-n-Drop file order:
    • Windows: When selecting multiple files, the file you drag becomes the first one;
    • Gnome: files in alphabetical order (or depends on ordering method)

How can the issue be reproduced?

Pattern in project file not required.

Issue may be reproduced in different ways:

  1. Drag-n-Drop "old" file and project
  2. Open/Drop old file, then project
  3. Open project, then open same project again

Sometimes opening new file, then project may crash app

Sometimes table in Pattern data window disappears

ImHex Version

1.33.2, nightly

ImHex Build Type

  • Nightly or built from sources

Installation type

any

Additional context?

OS: Windows, Linux, Web

On web opening project crashes tab

1.30.1 on Windows not crashing this way

Release 1.33.2 is harder to crash than nightly

Thanks to Discord members for helping with testing

@glpnk glpnk added the bug Something isn't working label May 18, 2024
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

1 participant