Closed thestumbler closed 1 year ago
Hey That crash seems to be happening somewhere deep inside of macOS's dynamic linker so I'll assume this isn't an issue with my code directly.
Have you tried using the latest nightly that was built by GitHub actions? Does the same error occur there as well?
I wondered if there was a pre-built image of nightlies. I'm searching for that now.
Okay, the pre-built 1f6acc10 nightly did the trick. I think I see the mixup, based on the filename of the nightly image, this is an x86_64 compilation, and I'm running on an M1. The pre-built runs transparently under Rosetta. The version I compiled was done as a native M1 ARM program.
Here's some explaination about the issue you're getting: https://developer.apple.com/library/archive/qa/qa1884/_index.html Looks like macOS weirdness to me and not something I can do anything about
Indeed, and I'm not inclined to pursue it, either. If you later need a guinea pig with an M1 to run test, shout at me. Thanks.
Sure thank you! We probably won't officially be targetting M1s until GitHub has native macOS ARM runners available to build ImHex on but if it ever happens I'll let you know
Code wise, ImHex should run just fine on ARM
This tip got it compiled for me but now when I try to launch it the process is immediately killed. tavis@M1Pro ~/c/I/b/i/C/MacOS> ./imhex 1f6acc10 [1] 47771 killed ./imhex tavis@M1Pro ~/c/I/b/i/C/MacOS> sudo ./imhex 137 1f6acc10 Password: [1] 47813 killed sudo ./imhex tavis@M1Pro ~/c/I/b/i/C/MacOS>
Operating System
MacOS
What's the issue you encountered?
Upon building branch 1f6acc10 on MacOs Ventura 13.1, the resulting executable fails to run with an
EXC_BAD_ACCESS Code Signature Invalid
error. This could well be my mistake, as I've never compiled a program into an app before, and I might be missing an obvious step. The problem report follows:How can the issue be reproduced?
Built the application using the instructions, trying to run the resulting app caused a crash.
ImHex Version
nightly 1f6acc10
ImHex Build Type
Installation type
cloned git repository, compiled per the instructions
Additional context?
No response