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

[Crash] SIGSEGV when pattern evaluation tries to raise some errors. #1611

Closed
1 task done
MinekPo1 opened this issue Mar 23, 2024 · 6 comments
Closed
1 task done

[Crash] SIGSEGV when pattern evaluation tries to raise some errors. #1611

MinekPo1 opened this issue Mar 23, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@MinekPo1
Copy link

MinekPo1 commented Mar 23, 2024

Operating System

Linux

What's the issue you encountered?

SIGSEGV when pattern evaluation tries to raise some errors.

How can the issue be reproduced?

  • Enter u8 arr[while(!std::mem::eof())] @ 0x00; as a pattern
  • evaluate the pattern

ImHex Version

1.33.1

ImHex Build Type

  • Nightly or built from sources

Installation type

FlatPak

Additional context?

note that the sample does not have any errors and thus does not crash if you include sys.mem

@MinekPo1 MinekPo1 added the bug Something isn't working label Mar 23, 2024
@MinekPo1 MinekPo1 changed the title [Bug] [Crash] SIGSEGV when pattern evaluation tries to raise some errors. Mar 23, 2024
@MinekPo1
Copy link
Author

Reproduced the issue on nightly

@jumanji144
Copy link
Collaborator

Thanks, i confirmed the bug and will be working on a fix

@MinekPo1
Copy link
Author

MinekPo1 commented Mar 23, 2024

I think this is a duplicate of/related to PatternLanguage#79? Honestly I forgot to check for duplicates, sorry, though I doubt I would have found that one anyway. Similarly to how @wolfgang42 found, the issue disappears on web.

@MinekPo1
Copy link
Author

Yeah, pretty sure the SIGSEGV is caused by the pattern language impl, the cli also crashes, I'm gonna leave it to a contributor if this issue should be closed or not

@jumanji144
Copy link
Collaborator

I can confirm this is a bug native to the pattern language, therefore you can either re-open it on the PatternLanugage repo, or i can mark it as a duplicate of WerWolv/PatternLanguage#79

@MinekPo1
Copy link
Author

I think a duplicate is more appropriate , I'm trying to add some more info to WerWolv/PatternLanguage#79

@MinekPo1 MinekPo1 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 23, 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

2 participants