cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
6.65k stars 518 forks source link

macOS: Crash when using Memory search #1143

Open JaimieVandenbergh opened 3 months ago

JaimieVandenbergh commented 3 months ago

Current Behavior

On Mac, Memory Search can crash Cemu with certain search inputs.

Expected Behavior

Not crashing :)

Steps to Reproduce

macOS 14.4.1, Cemu 2.0-73. Launch BotW, go to Memory Searcher, leave type as Float, enter 1134397240, hit Search. A very short way into the progress bar Cemu will crash with Signal 11.

Further experimental info:

This is not replicable on Windows. I haven't tried Linux.

One time I was replicating it didn't crash, and I got zero results. [Clear] then paste the number again and it crashed next time. Which honestly is more peculiar than the crash.

Choosing any int type doesn't seem to ever crash.

I tried 1234567890 and that didn't crash. 1134397241 did though. Numbers of shorter length than 10 digits I didn't see any crashes.

The initial reporter had his Mac blackscreen one time; I've not seen that. https://discord.com/channels/286429969104764928/1043595946719711283/1223012468016680991

System Info (Optional)

OS: macOS 14.4.1 GPU: M1

Emulation Settings (Optional)

BotW setup as per the guide, no funny stuff

Logs (Optional)

[12:03:17.730] IOSU_ACT: using account Jaimie in first slot
Error: signal 11:

-----------------------------------------
   Game info
-----------------------------------------
Game: Breath of the Wild
TitleId: 00050000101c9500
RPXHash: dcac9927 (Update: fb7911ad)

From macOS bug reporter popup,


Exception Codes:       KERN_INVALID_ADDRESS at 0x000028d27acd4a40
Exception Codes:       0x0000000000000001, 0x000028d27acd4a40

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   Cemu [64127]```
NightProg commented 3 months ago

and some value doesn't work (Cemu crash) like 3 (i am on a Intel MacOS ) even with the int type(i used the int64 type) my log.txt file :

[17:42:23.610] Failed to create graphics pipeline. Error -3
[17:42:30.156] Failed to create graphics pipeline. Error -3
[17:42:36.801] Failed to create graphics pipeline. Error -3
[17:42:41.484] Failed to create graphics pipeline. Error -3
[17:42:41.488] Failed to create graphics pipeline. Error -3
[17:42:42.527] Failed to create graphics pipeline. Error -3
[17:42:43.227] Failed to create graphics pipeline. Error -3
[17:42:46.318] Failed to create graphics pipeline. Error -1000012000
[17:42:47.872] Failed to create graphics pipeline. Error -3
[17:42:52.784] Failed to create graphics pipeline. Error -1000012000
[17:42:52.967] Failed to create graphics pipeline. Error -1000012000
[17:42:52.967] Failed to create graphics pipeline. Error -1000012000
[17:42:54.464] IOSU_ACT: using account default in first slot
[17:43:57.040] Failed to create graphics pipeline. Error -3
Error: signal 11:

-----------------------------------------
   Game info
-----------------------------------------
Game: Breath of the Wild
TitleId: 00050000101c9500
RPXHash: dcac9927 (Update: fb7911ad)