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] including std/core and std/mem at in the same file crashes imhex #1641

Open
1 task done
Calcoph opened this issue Apr 28, 2024 · 2 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@Calcoph
Copy link

Calcoph commented Apr 28, 2024

Operating System

Windows

What's the issue you encountered?

If I try to include both std/core.pat and std/mem.pat imhex crashes.

How can the issue be reproduced?

  1. type in the pattern editor:
#include <std/core.pat>
#include <std/mem.pat>
  1. Press "run".

ImHex Version

1.33.0 a7033b6

ImHex Build Type

  • Nightly or built from sources

Installation type

MSI

Additional context?

No response

@Calcoph Calcoph added the bug Something isn't working label Apr 28, 2024
@glpnk
Copy link

glpnk commented Apr 28, 2024

Use import statements now

import std.core;
import std.mem;

Also, segfault happens on Linux too

@paxcut
Copy link
Contributor

paxcut commented Apr 28, 2024

I have known about problems including those two files for a while which is caused by all files using import internally, but it didn't crash imhex before.

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

3 participants