-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Amiberry crashes after pressing start on Intel MacBook Pro Mac OS 15.2 #1555
Comments
I cannot recreate this here, with the latest version (in fact, not after it was fixed with commit 964add6). What's more interesting, is what I see in the Apple crash log above: the function it crashed, was reported to be the one I patched in that commit. And the patch, was basically disabling everything in that function for macOS. So, it seems very weird that it would crash there again. :-/ I only have an old Mac Mini from 2011 to test with here, which is patched with OpenCore to run macOS 15.2 (very, very slowly). Still, I could recreate the crash before the fix, and not after (and that's still the case), so maybe we can see if anyone else can recreate it as well for now. |
Following these instructions I've compiled my own exe from source and the emulation starts. It's the v7 release. https://github.com/BlitterStudio/amiberry/wiki/Compile-from-source |
Oh, that's interesting - that would mean that there's something different in the binary produced by the Github runners. But it still doesn't explain why I can no longer recreate it here... :-/ |
I get exactly same crash on my Mac mini 2018 3,2 GHz 6-Core Intel Core i7 with 32GB RAM:
|
I am getting the same issue here on 7.0.1 . I tried 5.7.4 and it started fine. |
Unfortunately, v5.x cannot compare to this, as it has a very different codebase in the CPU and chipset emulation area. |
Hi, So my crash dump is similar to the person that opened this issue. I too have a macbook pro. If I am reading it right it is this call sequence that is crashing is. If you like get me a debug compiled version. I can run it and maybe even step through it. It has been a while since I have done C++. Have been in the Java camp the last 26 years. 0 Amiberry 0x109c145e7 init_fpucw_x87() + 55 <-- crashing in here Translated Report (Full Report Below)Process: Amiberry [6951] Date/Time: 2025-01-17 21:35:36.4772 +1300 Sleep/Wake UUID: 4E51FBB0-EC08-42DC-A361-0D90761AC588 Time Awake Since Boot: 67000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 VM Region Info: 0 is not in any region. Bytes before following region: 4456980480 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread Thread 1:: SDLTimer Thread 2: Thread 3: Thread 4: Thread 5:: caulk.messenger.shared:17 Thread 6:: caulk.messenger.shared:high Thread 7: Thread 8: Thread 9: Thread 10:: com.apple.NSEventThread Thread 11:: drawing Thread 12: Thread 13: Thread 0 crashed with X86 Thread State (64-bit): Logical CPU: 4 Thread 0 instruction stream: Binary Images: External Modification Summary: VM Region Summary:
REGION TYPE SIZE COUNT (non-coalesced) Full Report{"app_name":"Amiberry","timestamp":"2025-01-17 21:35:37.00 +1300","app_version":"7.0.1","slice_uuid":"0c03769a-2cac-31c9-b02c-451cf9ebf5b9","build_version":"7.0.1","platform":1,"bundleID":"com.blitterstudio.Amiberry","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.2 (24C101)","roots_installed":0,"name":"Amiberry","incident_id":"F6545EC4-3D32-4B63-A0AD-8FBADD1A058B"}
], ] Model: MacBookPro16,4, BootROM 2069.40.2.0.0 (iBridge: 22.16.12093.0.0,0), 8 processors, 8-Core Intel Core i9, 2.4 GHz, 32 GB, SMC |
Hi, Okay, googled the error and found a reference in how to read a crash report on the apple site. It is an invalid memory access. It is data reference rather than instruction. The exception reports address as 0, so it is likely to be dereferencing a null pointer. Info on configuration was an A500 with a 1.3 rom from Amiga Forever. Ben |
Hi, So I turned on the logger and it is the call to "VM: uae_vm_alloc(4096, 0, 7) mmap failed (13)" this is permission I suspect it is in file vm.cpp line 203 that is failing to allocate memory. I wrote this program with what I think this is what it is passing to mmap but it works #include <sys/mman.h> int main() { |
Describe the bug
Amiberry v7 RC2 crashes immediately after clicking start.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Amiberry should start.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration
Roms
Error
Desktop (please complete the following information):
OS: Mac OS
Version Sequoia 15.2
MacBook Pro 2020
Processor 2 GHz Quad-core Intel Core I5
Graphics Intel Iris Plus Graphics 1536mb
Memory 16GB
Additional context
Add any other context about the problem here.
Log file
Amiberry.log
Love Amiberry? Please consider supporting it:
👉 https://ko-fi.com/midwan
The text was updated successfully, but these errors were encountered: