libretro / mupen64plus-libretro-nx

Improved mupen64plus libretro core reimplementation
GNU General Public License v2.0
222 stars 111 forks source link

Majora's Mask Bomber's Notebook Crash #247

Open KiwiZelda opened 4 years ago

KiwiZelda commented 4 years ago

Hi all,

You'll have to forgive me - full disclosure, I'm not a coder. I have managed to get homebrew software running on my Nintendo Switch and have all kinds of fun with it, so I'm not totally ignorant... but if things get technical on this thread I may need extra explaining.

I'm running retroarch on my Switch (OS: Atmosphere 0.10.5), with the Mupen64plus Next core.

Majora's Mask is running into what I am aware is a common problem - the Bomber's Notebook. I understand that the Notebook renders at a higher resolution than the original game, which may be the source of the problem. However while others seem to report a garbled screen or a blackout, the problem I'm getting is slightly different,

If I enter the Notebook and then press B to exit within a couple of seconds, it exits fine. However if I scroll through the Notebook at all, and then press B to exit, the game/Retroarch invariably freezes and then I have to bring up the Switch menu and force close Retroarch.

I have checked and I am definitely running Mupen64plus "Next", as opposed to the old Mupen64plus. I only downloaded and installed Retroarch in the last couple months so it should be relatively up to date.

Any suggestions? Thanks

m4xw commented 4 years ago

Show me your core options and what's your audio driver in retroarch?

KiwiZelda commented 4 years ago

Hey, thanks for your interest.. The Audio Driver is switch_audren_thread. Here's a dump of the core options:

mupen64plus-169screensize = "960x540" mupen64plus-43screensize = "640x480" mupen64plus-alt-map = "False" mupen64plus-aspect = "4:3" mupen64plus-astick-deadzone = "15" mupen64plus-astick-sensitivity = "100" mupen64plus-BackgroundMode = "OnePiece" mupen64plus-BilinearMode = "standard" mupen64plus-CorrectTexrectCoords = "Off" mupen64plus-CountPerOp = "0" mupen64plus-cpucore = "dynamic_recompiler" mupen64plus-d-cbutton = "C3" mupen64plus-EnableCopyColorToRDRAM = "Async" mupen64plus-EnableCopyDepthToRDRAM = "Software" mupen64plus-EnableEnhancedHighResStorage = "False" mupen64plus-EnableEnhancedTextureStorage = "False" mupen64plus-EnableFBEmulation = "True" mupen64plus-EnableFragmentDepthWrite = "True" mupen64plus-EnableHWLighting = "False" mupen64plus-EnableLegacyBlending = "False" mupen64plus-EnableLODEmulation = "True" mupen64plus-EnableN64DepthCompare = "False" mupen64plus-EnableNativeResTexrects = "Disabled" mupen64plus-EnableOverscan = "Enabled" mupen64plus-EnableShadersStorage = "True" mupen64plus-EnableTextureCache = "True" mupen64plus-ForceDisableExtraMem = "False" mupen64plus-FrameDuping = "True" mupen64plus-Framerate = "Original" mupen64plus-FXAA = "0" mupen64plus-l-cbutton = "C2" mupen64plus-MaxTxCacheSize = "4000" mupen64plus-MultiSampling = "0" mupen64plus-NoiseEmulation = "True" mupen64plus-OverscanBottom = "0" mupen64plus-OverscanLeft = "0" mupen64plus-OverscanRight = "0" mupen64plus-OverscanTop = "0" mupen64plus-pak1 = "memory" mupen64plus-pak2 = "none" mupen64plus-pak3 = "none" mupen64plus-pak4 = "none" mupen64plus-r-cbutton = "C1" mupen64plus-rdp-plugin = "gliden64" mupen64plus-rsp-plugin = "hle" mupen64plus-txCacheCompression = "True" mupen64plus-txEnhancementMode = "None" mupen64plus-txFilterIgnoreBG = "True" mupen64plus-txFilterMode = "None" mupen64plus-txHiresEnable = "False" mupen64plus-txHiresFullAlphaChannel = "False" mupen64plus-u-cbutton = "C4" mupen64plus-virefresh = "Auto"

cheers!

m4xw commented 4 years ago

The Audio Driver is switch_audren_thread.

Try setting it to switch_thread, also you don't seem to use the latest build (thr renderer option and others are missing) Currently the bot is down tho.. I can whip up new builds on my gitlab later or so

KiwiZelda commented 4 years ago

Thanks again, So I changed the audio driver to switch_thread and problem still persists. I'm now downloading retroarch from the official site again in hopes that it is a slightly newer version than the one I already have, though I think there's a chance it might not be any newer. If you can link to a newer build whenever you get a minute, that would be awesome. What's the best way to install a newer build once I have one? Uninstall and fresh install? Or just replace one file on the switch SD?

KiwiZelda commented 4 years ago

Hey again @m4xw I see you added the 'more infos needed' label to the thread... Which info do you need from me? I'm still wondering how best to update retroarch without losing my save files / core maps etc.. plus I'm not sure if the new version I got from the official site is the latest build you were referring to.. any advice would be greatly appreciated :D thanks

m4xw commented 3 years ago

I need crash reports / logs

KiwiZelda commented 3 years ago

Ok here's one, I just generated it... as you can see I loaded the game, loaded my save state, saved the state again, and then the log ends there. What I did at the end was enter the bomber's notebook, browse around and then try to exit. Everything froze as usual and then I got the message that Retroarch closed because an error occured. Doesn't look like this showed up on the log though :/ any suggestions? I can generate more logs if you want but they'll be the same I fear

KiwiZelda commented 3 years ago

https://gist.github.com/KiwiZelda/d1fe996e9d84ab2d3a20021d948dea83 maybe try that link if the above one doesn't work

m4xw commented 3 years ago

Can you try just opening the pause menu and holding analog in any direction and make it spin for a minute

m4xw commented 3 years ago

Can you give this a shot https://git.m4xw.net/libretro/cores/mupen64plus-libretro-nx/-/pipelines/5349/builds

KiwiZelda commented 3 years ago

Can you try just opening the pause menu and holding analog in any direction and make it spin for a minute

https://gist.github.com/KiwiZelda/0f0084df53dfba1f1b3cc4d959998034 Interesting, it looks a bit different than the last log but I don't really understand it

KiwiZelda commented 3 years ago

Can you give this a shot https://git.m4xw.net/libretro/cores/mupen64plus-libretro-nx/-/pipelines/5349/builds

Just to be sure, are any of those builds for Switch? Is it the nx one? Also, what is the best way to install a new build without losing my save data etc? Just copy the application file onto the SD to replace the old one?

m4xw commented 3 years ago

Yes, the libnx build, click on the pipeline, on the right side is browse, then download. elf is for debug purposes. replace the core in /retroarch/cores/, make a backup copy if u like, it's probably tomorrow's update

m4xw commented 3 years ago

Just... Never nuke your cores folder

KiwiZelda commented 3 years ago

Yes, the libnx build, click on the pipeline, on the right side is browse, then download. elf is for debug purposes. replace the core in /retroarch/cores/, make a backup copy if u like, it's probably tomorrow's update

Thanks, replaced the core as you directed. Unfortunately it doens't seem to have changed anything :( this is the log: https://gist.github.com/KiwiZelda/39beb4bf7f925a5641a7b8ad8e600eb5 I opened the game, mucked around with settings a bit until I realised I needed to load my old controls remap, did that, then went to the bomber's notebook and same thing happened as usual. Ho hum

m4xw commented 3 years ago

Whats the state of this issue?

KiwiZelda commented 3 years ago

Thanks for checking in! The issue was never resolved, though I did manage to finish the game by taking screenshots of the bombers notebook so I could refer to it without using it in game. Pretty curious as to how this issue could be resolved, but I don't mind if we never find out. Thanks for your help either way

m4xw commented 3 years ago

Did you try on the latest ver?

KiwiZelda commented 3 years ago

I got the latest Retroarch and Mupen64 Next... at the time. I guess it might be outdated by now! I also haven't updated my Switch FW or homebrew FW since then. Unfortunately I'm a bit busy to update any of these things now, sorry!

m4xw commented 3 years ago

ok np

m4xw commented 3 years ago

I was able to reproduce this just now, once.

Atmosphère Crash Report (v1.5): Result: 0xA8 (2168-0000)

Process Info: Process Name: hbloader Program ID: 010049900f546000 Process ID: 00000000000000b0 Process Flags: 00000073 User Exception Address: 0000000059a2a000 Exception Info: Type: Undefined Instruction Address: 000000017d027bfc (retroarch_switch + 0xf1bbfc) Opcode: d4200000 Crashed Thread Info: Thread ID: 000000000000397e Stack Region: 0000000008048000-0000000008069000 Registers: X[00]: 0000000000000000 X[01]: 0000000011111111 X[02]: 00000001495c60f4 X[03]: 000000008008be38 X[04]: 00000000000be380 X[05]: 0000000184c950e0 X[06]: 0000000011110000 X[07]: 0000000080083e30 X[08]: 0000000000000083 X[09]: 000000018452f880 X[10]: 0000000080083e30 X[11]: 0000000000000000 X[12]: 00000005da73f2e0 X[13]: 000000017ef13000 X[14]: 000000017ef11000 X[15]: 000000018871a500 X[16]: 0000000000c818e8 X[17]: 0000000003100000 X[18]: 000000017c3a6000 (retroarch_switch + 0x29a000) X[19]: 0000000000000000 X[20]: 00000000fffaec59 X[21]: 00000000ffffffff X[22]: 00000001495c60f4 X[23]: 0000000000000000 X[24]: 000000008009509c X[25]: 0000000000000000 X[26]: 00000000800811f4 X[27]: 000000017c7155a8 (retroarch_switch + 0x6095a8) X[28]: 0000000000000000 FP: 0000000187596000 LR: 000000017e3fc340 (retroarch_switch + 0x22f0340) SP: 0000000008067b70 PC: 000000017d027bfc (retroarch_switch + 0xf1bbfc) Stack Trace: ReturnAddress[00]: 0000000000000aaa Stack Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000008067b70 98 a3 71 88 01 00 00 00 00 40 f1 7e 01 00 00 00 000008067b80 60 10 37 7c 01 00 00 00 00 00 00 00 00 00 00 00 000008067b90 00 20 f1 7e 01 00 00 00 00 a0 1a 84 01 00 00 00 000008067ba0 b8 b6 39 7c 01 00 00 00 3f 91 00 00 40 12 37 80 000008067bb0 00 09 00 00 00 00 00 00 00 00 80 00 00 00 00 00 000008067bc0 d0 7d 06 08 00 00 00 00 f8 7d 06 08 00 00 00 00 000008067bd0 54 d3 e6 02 00 00 00 00 3c 00 00 00 00 00 00 00 000008067be0 00 00 00 00 00 00 00 00 20 68 fc 7e 01 00 00 00 000008067bf0 00 00 00 04 00 00 00 00 00 80 00 00 00 00 00 00 000008067c00 70 40 c9 84 01 00 00 00 28 68 fc 7e 01 00 00 00 000008067c10 1e 00 c2 00 00 00 00 00 08 40 c9 84 01 00 00 00 000008067c20 28 68 fc 7e 01 00 00 00 a8 40 c9 84 01 00 00 00 000008067c30 28 68 fc 7e 01 00 00 00 00 00 00 00 00 00 00 00 000008067c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000008067c50 58 40 c9 84 01 00 00 00 00 00 00 00 00 00 00 00 000008067c60 f0 bd b8 7d 00 00 00 00 04 be b8 7d 00 00 00 00 TLS Address: 0000000059a2aa00 TLS Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000059a2aa00 04 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 000059a2aa10 02 00 00 00 82 00 00 00 00 00 00 00 00 00 00 00 000059a2aa20 53 46 43 4f 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa30 82 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa40 00 00 00 00 00 00 00 00 39 1e 0f 00 00 00 00 00 000059a2aa50 c7 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aaa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aab0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aad0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aaf0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Module Info: Number of Modules: 1 Module 00: Address: 000000017c10c000-000000017e9de000 Name: retroarch_switch Build Id: 8E64240190518B64D21C9953D01C7B6693D14A79000000000000000000000000 Thread Report: Number of Threads: 05 Threads[00]: Thread ID: 00000000000038ad Registers: X[00]: 00000005a1707c8c X[01]: 00000005a1707b90 X[02]: 0000000000000001 X[03]: ffffffffffffffff X[04]: 00000000008e002f X[05]: 0000000000000001 X[06]: 0000000000000000 X[07]: 00000000ffffffff X[08]: 0000000000000000 X[09]: 0000000000000000 X[10]: 0000000000000000 X[11]: 0000000000000000 X[12]: 0000000000000000 X[13]: 0000000000000000 X[14]: 0000000000000000 X[15]: 0000000000000000 X[16]: 0000000000000000 X[17]: 0000000000000000 X[18]: 0000000000000000 X[19]: 0000000000000000 X[20]: 0000000000000000 X[21]: 0000000000000000 X[22]: 0000000000000000 X[23]: 0000000000000000 X[24]: 0000000000000000 X[25]: 0000000000000000 X[26]: 0000000000000000 X[27]: 0000000000000000 X[28]: 0000000000000000 FP: 00000005a1707ba0 LR: 000000017e998590 (retroarch_switch + 0x288c590) SP: 00000005a1707b50 PC: 000000017e997f24 (retroarch_switch + 0x288bf24) Stack Trace: ReturnAddress[00]: 000000017e998cc0 (retroarch_switch + 0x288ccc0) ReturnAddress[01]: 000000017e9928d8 (retroarch_switch + 0x28868d8) ReturnAddress[02]: 000000017e992958 (retroarch_switch + 0x2886958) ReturnAddress[03]: 000000017e994988 (retroarch_switch + 0x2888988) ReturnAddress[04]: 000000017e57a870 (retroarch_switch + 0x246e870) ReturnAddress[05]: 000000017e57ff40 (retroarch_switch + 0x2473f40) ReturnAddress[06]: 000000017e5805d4 (retroarch_switch + 0x24745d4) ReturnAddress[07]: 000000017e58b5d0 (retroarch_switch + 0x247f5d0) ReturnAddress[08]: 000000017e7b5120 (retroarch_switch + 0x26a9120) ReturnAddress[09]: 000000017e5eec14 (retroarch_switch + 0x24e2c14) ReturnAddress[10]: 000000017c37960c (retroarch_switch + 0x26d60c) ReturnAddress[11]: 0000000000000000 TLS Address: 0000000059a2a200 TLS Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000059a2a200 00 00 01 00 09 00 00 00 00 50 10 00 90 7c 70 a1 000059a2a210 53 46 43 4f 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a220 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a230 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 000059a2a240 00 00 83 00 1e 00 10 c0 00 00 00 00 00 00 00 00 000059a2a250 10 00 83 00 90 7c 70 a1 05 00 10 00 00 00 00 00 000059a2a260 00 00 00 00 18 00 00 00 b8 ad b8 7d 00 00 18 00 000059a2a270 00 00 00 01 00 00 00 00 b0 00 00 00 00 00 00 00 000059a2a280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a2a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a2b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a2c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a2d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a2e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a2f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Threads[01]: Thread ID: 000000000000397b Stack Region: 0000000008000000-0000000008021000 Registers: X[00]: 0000000598486a84 X[01]: 0000000598486e08 X[02]: 00000000008b801c X[03]: ffffffffffffffff X[04]: 0000000000000000 X[05]: 0000000000000000 X[06]: 0000000000000000 X[07]: 0000000000000000 X[08]: 0000000000000000 X[09]: 0000000000000000 X[10]: 0000000000000000 X[11]: 0000000000000000 X[12]: 0000000000000000 X[13]: 0000000000000000 X[14]: 0000000000000000 X[15]: 0000000000000000 X[16]: 0000000000000000 X[17]: 0000000000000000 X[18]: 0000000000000000 X[19]: 0000000000000000 X[20]: 0000000000000000 X[21]: 0000000000000000 X[22]: 0000000000000000 X[23]: 0000000000000000 X[24]: 0000000000000000 X[25]: 0000000000000000 X[26]: 0000000000000000 X[27]: 0000000000000000 X[28]: 0000000000000000 FP: 000000000801fee0 LR: 000000017e988108 (retroarch_switch + 0x287c108) SP: 000000000801fee0 PC: 000000017e997f44 (retroarch_switch + 0x288bf44) Stack Trace: ReturnAddress[00]: 000000017e99dccc (retroarch_switch + 0x2891ccc) ReturnAddress[01]: 000000017c155f84 (retroarch_switch + 0x49f84) ReturnAddress[02]: 000000017c31217c (retroarch_switch + 0x20617c) ReturnAddress[03]: 000000017e99de08 (retroarch_switch + 0x2891e08) ReturnAddress[04]: 000000017e98863c (retroarch_switch + 0x287c63c) ReturnAddress[05]: 0000000000000000 Stack Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 00000801fee0 00 ff 01 08 00 00 00 00 cc dc 99 7e 01 00 00 00 00000801fef0 00 00 00 00 00 00 00 00 e0 51 07 7f 01 00 00 00 00000801ff00 10 ff 01 08 00 00 00 00 84 5f 15 7c 01 00 00 00 00000801ff10 50 ff 01 08 00 00 00 00 7c 21 31 7c 01 00 00 00 00000801ff20 40 6e 48 98 05 00 00 00 04 ac b8 7d 00 00 00 00 00000801ff30 60 21 31 7c 01 00 00 00 40 6e 48 98 05 00 00 00 00000801ff40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000801ff50 70 ff 01 08 00 00 00 00 08 de 99 7e 01 00 00 00 00000801ff60 f0 ab b8 7d 00 00 00 00 00 de 99 7e 01 00 00 00 00000801ff70 a0 ff 01 08 00 00 00 00 3c 86 98 7e 01 00 00 00 00000801ff80 d0 ff 01 08 00 00 00 00 08 a5 a2 59 00 00 00 00 00000801ff90 00 c0 bf 84 01 00 00 00 00 00 00 00 00 00 00 00 00000801ffa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000801ffb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000801ffc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00000801ffd0 60 6e 48 98 05 00 00 00 c0 dd 99 7e 01 00 00 00 TLS Address: 0000000059a2a400 TLS Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000059a2a400 00 00 00 00 09 00 00 00 00 00 00 00 00 00 00 00 000059a2a410 53 46 43 4f 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a4a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a4b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a4c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a4d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a4e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a4f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Threads[02]: Thread ID: 000000000000397c Stack Region: 0000000008022000-0000000008025000 Registers: X[00]: 0000000008023f0c X[01]: 0000000008023e10 X[02]: 0000000000000001 X[03]: ffffffffffffffff X[04]: 0000000000900028 X[05]: 0000000000000001 X[06]: 0000000000000000 X[07]: 00000000ffffffff X[08]: 0000000000000000 X[09]: 0000000000000000 X[10]: 0000000000000000 X[11]: 0000000000000000 X[12]: 0000000000000000 X[13]: 0000000000000000 X[14]: 0000000000000000 X[15]: 0000000000000000 X[16]: 0000000000000000 X[17]: 0000000000000000 X[18]: 0000000000000000 X[19]: 0000000000000000 X[20]: 0000000000000000 X[21]: 0000000000000000 X[22]: 0000000000000000 X[23]: 0000000000000000 X[24]: 0000000000000000 X[25]: 0000000000000000 X[26]: 0000000000000000 X[27]: 0000000000000000 X[28]: 0000000000000000 FP: 0000000008023e20 LR: 000000017e998590 (retroarch_switch + 0x288c590) SP: 0000000008023dd0 PC: 000000017e997f24 (retroarch_switch + 0x288bf24) Stack Trace: ReturnAddress[00]: 000000017e998cc0 (retroarch_switch + 0x288ccc0) ReturnAddress[01]: 000000017e98b4e4 (retroarch_switch + 0x287f4e4) ReturnAddress[02]: 000000017c317488 (retroarch_switch + 0x20b488) ReturnAddress[03]: 000000017e98863c (retroarch_switch + 0x287c63c) ReturnAddress[04]: 0000000000000000 Stack Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000008023dd0 0c 3f 02 08 00 00 00 00 00 a0 07 7f 01 00 00 00 000008023de0 f0 3d 02 08 00 00 00 00 30 57 19 7c 01 00 00 00 000008023df0 40 3f 02 08 00 00 00 00 64 73 31 7c 01 00 00 00 000008023e00 d0 3f 02 08 00 00 00 00 c0 8a d8 99 05 00 00 00 000008023e10 28 00 90 00 01 00 00 00 00 00 00 00 00 00 00 00 000008023e20 f0 3e 02 08 00 00 00 00 c0 8c 99 7e 01 00 00 00 000008023e30 98 3f 02 08 00 00 00 00 94 3f 02 08 00 00 00 00 000008023e40 00 24 f4 00 00 00 00 00 a8 84 c4 7e 01 00 00 00 000008023e50 98 3f 02 08 00 00 00 00 94 3f 02 08 00 00 00 00 000008023e60 6c 13 00 00 00 00 00 00 c8 8a d8 99 05 00 00 00 000008023e70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000008023e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000008023e90 10 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 000008023ea0 0c 3f 02 08 00 00 00 00 10 3f 02 08 00 00 00 00 000008023eb0 20 3e 02 08 00 00 00 00 ff ff ff ff ff ff ff ff 000008023ec0 e0 3d 02 08 00 00 00 00 e4 3e 02 08 00 00 00 00 TLS Address: 0000000059a2a600 TLS Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000059a2a600 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 000059a2a610 53 46 43 4f 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a620 00 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 000059a2a630 10 8b d8 99 05 00 00 00 98 3f 02 08 00 00 08 00 000059a2a640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a650 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a670 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a690 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a6a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a6b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a6c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a6d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a6e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a6f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Threads[03]: Thread ID: 000000000000397d Stack Region: 0000000008026000-0000000008047000 Registers: X[00]: 00000005ca4eafe4 X[01]: 00000005ca4eae78 X[02]: 0000000000918029 X[03]: 000000012a05eff8 X[04]: 000000001164c648 X[05]: 000000005faef736 X[06]: 0000000000000001 X[07]: aaaaaaaaaaaaaaab X[08]: 0000000000000000 X[09]: 0000000000000000 X[10]: 0000000000000000 X[11]: 0000000000000000 X[12]: 0000000000000000 X[13]: 0000000000000000 X[14]: 0000000000000000 X[15]: 0000000000000000 X[16]: 0000000000000000 X[17]: 0000000000000000 X[18]: 0000000000000000 X[19]: 0000000000000000 X[20]: 0000000000000000 X[21]: 0000000000000000 X[22]: 0000000000000000 X[23]: 0000000000000000 X[24]: 0000000000000000 X[25]: 0000000000000000 X[26]: 0000000000000000 X[27]: 0000000000000000 X[28]: 0000000000000000 FP: 0000000008045ea0 LR: 000000017e988108 (retroarch_switch + 0x287c108) SP: 0000000008045ea0 PC: 000000017e997f44 (retroarch_switch + 0x288bf44) Stack Trace: ReturnAddress[00]: 000000017e99dccc (retroarch_switch + 0x2891ccc) ReturnAddress[01]: 000000017c312464 (retroarch_switch + 0x206464) ReturnAddress[02]: 000000017c15ac98 (retroarch_switch + 0x4ec98) ReturnAddress[03]: 000000017c31217c (retroarch_switch + 0x20617c) ReturnAddress[04]: 000000017e99de08 (retroarch_switch + 0x2891e08) ReturnAddress[05]: 000000017e98863c (retroarch_switch + 0x287c63c) ReturnAddress[06]: 0000000000000000 Stack Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000008045ea0 c0 5e 04 08 00 00 00 00 cc dc 99 7e 01 00 00 00 000008045eb0 40 4b 4c 00 00 00 00 00 70 ae 4e ca 05 00 00 00 000008045ec0 d0 5e 04 08 00 00 00 00 64 24 31 7c 01 00 00 00 000008045ed0 10 5f 04 08 00 00 00 00 98 ac 15 7c 01 00 00 00 000008045ee0 90 a8 84 9a 05 00 00 00 10 e0 44 ce 05 00 00 00 000008045ef0 28 b6 c4 84 01 00 00 00 00 88 04 00 00 00 00 00 000008045f00 36 f7 ae 5f 00 00 00 00 48 c6 64 11 00 00 00 00 000008045f10 50 5f 04 08 00 00 00 00 7c 21 31 7c 01 00 00 00 000008045f20 d0 d6 d1 9a 05 00 00 00 14 6a b8 7d 00 00 00 00 000008045f30 60 21 31 7c 01 00 00 00 d0 d6 d1 9a 05 00 00 00 000008045f40 00 00 00 00 00 00 00 00 00 01 c2 00 00 01 c5 00 000008045f50 70 5f 04 08 00 00 00 00 08 de 99 7e 01 00 00 00 000008045f60 00 6a b8 7d 00 00 00 00 00 de 99 7e 01 00 00 00 000008045f70 a0 5f 04 08 00 00 00 00 3c 86 98 7e 01 00 00 00 000008045f80 d0 5f 04 08 00 00 00 00 08 a9 a2 59 00 00 00 00 000008045f90 00 c0 bf 84 01 00 00 00 00 00 00 00 00 00 00 00 TLS Address: 0000000059a2a800 TLS Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000059a2a800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a810 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a830 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a870 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a8a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a8b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a8c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a8d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a8e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2a8f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Threads[04]: Thread ID: 000000000000397e Stack Region: 0000000008048000-0000000008069000 Registers: X[00]: 0000000000000000 X[01]: 0000000011111111 X[02]: 00000001495c60f4 X[03]: 000000008008be38 X[04]: 00000000000be380 X[05]: 0000000184c950e0 X[06]: 0000000011110000 X[07]: 0000000080083e30 X[08]: 0000000000000083 X[09]: 000000018452f880 X[10]: 0000000080083e30 X[11]: 0000000000000000 X[12]: 00000005da73f2e0 X[13]: 000000017ef13000 X[14]: 000000017ef11000 X[15]: 000000018871a500 X[16]: 0000000000c818e8 X[17]: 0000000003100000 X[18]: 000000017c3a6000 (retroarch_switch + 0x29a000) X[19]: 0000000000000000 X[20]: 00000000fffaec59 X[21]: 00000000ffffffff X[22]: 00000001495c60f4 X[23]: 0000000000000000 X[24]: 000000008009509c X[25]: 0000000000000000 X[26]: 00000000800811f4 X[27]: 000000017c7155a8 (retroarch_switch + 0x6095a8) X[28]: 0000000000000000 FP: 0000000187596000 LR: 000000017e3fc340 (retroarch_switch + 0x22f0340) SP: 0000000008067b70 PC: 000000017d027bfc (retroarch_switch + 0xf1bbfc) Stack Trace: ReturnAddress[00]: 0000000000000aaa Stack Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000008067b70 98 a3 71 88 01 00 00 00 00 40 f1 7e 01 00 00 00 000008067b80 60 10 37 7c 01 00 00 00 00 00 00 00 00 00 00 00 000008067b90 00 20 f1 7e 01 00 00 00 00 a0 1a 84 01 00 00 00 000008067ba0 b8 b6 39 7c 01 00 00 00 3f 91 00 00 40 12 37 80 000008067bb0 00 09 00 00 00 00 00 00 00 00 80 00 00 00 00 00 000008067bc0 d0 7d 06 08 00 00 00 00 f8 7d 06 08 00 00 00 00 000008067bd0 54 d3 e6 02 00 00 00 00 3c 00 00 00 00 00 00 00 000008067be0 00 00 00 00 00 00 00 00 20 68 fc 7e 01 00 00 00 000008067bf0 00 00 00 04 00 00 00 00 00 80 00 00 00 00 00 00 000008067c00 70 40 c9 84 01 00 00 00 28 68 fc 7e 01 00 00 00 000008067c10 1e 00 c2 00 00 00 00 00 08 40 c9 84 01 00 00 00 000008067c20 28 68 fc 7e 01 00 00 00 a8 40 c9 84 01 00 00 00 000008067c30 28 68 fc 7e 01 00 00 00 00 00 00 00 00 00 00 00 000008067c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000008067c50 58 40 c9 84 01 00 00 00 00 00 00 00 00 00 00 00 000008067c60 f0 bd b8 7d 00 00 00 00 04 be b8 7d 00 00 00 00 TLS Address: 0000000059a2aa00 TLS Dump: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 000059a2aa00 04 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 000059a2aa10 02 00 00 00 82 00 00 00 00 00 00 00 00 00 00 00 000059a2aa20 53 46 43 4f 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa30 82 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa40 00 00 00 00 00 00 00 00 39 1e 0f 00 00 00 00 00 000059a2aa50 c7 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aa90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aaa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aab0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aad0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000059a2aaf0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

KiwiZelda commented 3 years ago

Oh wow nice, hope someone a bit more clued up than me can make use of that..!

bzct commented 3 years ago

What's the status on this? I was able to get through OoT's random freezes, but this issue makes MM simply unplayable. I noticed the tag for more info needed, how can I assist?

KiwiZelda commented 3 years ago

Thanks for checking in! The issue was never resolved, though I did manage to finish the game by taking screenshots of the bombers notebook so I could refer to it without using it in game. Pretty curious as to how this issue could be resolved, but I don't mind if we never find out. Thanks for your help either way

^this is where it's still at for me. I recommend taking screenshots of the notebook, it allowed me to complete the game. As for whether you can provide more info that can help someone solve this issue, I hope so too! But I guess we'll have to wait and see if someone more savvy can weigh in on that

m4xw commented 3 years ago

So its still a issue?

KiwiZelda commented 3 years ago

Well it's not resolved. I'm over it, because found a workaround, but it looks like bzct is still finding it an issue.

KiwiZelda commented 3 years ago

Especially if two people are having the same problem. Suggests something needs fixing

m4xw commented 3 years ago

No shit, but its not a issue of the libretro core. I am only tracking it because its majoras to begin with ;) Curious if the oot fixes help here but its only x64 right now. Theres a reason decade-old bugs exist.

KiwiZelda commented 3 years ago

Ah yep, roger that :)

m4xw commented 3 years ago

Spoke to gillou and it might be triggering the brk in do_unalignedwritestub, should be fixed if its that soon. I will try to get a build up!

m4xw commented 3 years ago

Temporary potential workaround, please test! https://git.libretro.com/libretro/mupen64plus-libretro-nx/-/jobs/390750

jonascarpay commented 3 years ago

I'm also having this issue, I was able to reproduce it on 2cc1cefbe26a9ae7f24e92e0d69a6f669fe54ffc

m4xw commented 3 years ago

I got one report that it supposedly only happens on exit with the change from today, can u confirm? Fwiw its just a stopgap, gillou already fixed it just a few days ago but will need a bit to get it in here, then we can check again I guess.

m4xw commented 3 years ago

Theres still a chance its something else, but do_unalignedwritestub is one of the culprits

jonascarpay commented 3 years ago

Doing some quick tests just now, it does seem like it only happens on exit. I didn't really test the old behavior enough to know if it only crashed on exit before as well.

jonascarpay commented 3 years ago

I'll keep an eye out for the patch you mentioned. Let me know if there's anything else you'd like me to try.

m4xw commented 3 years ago

Doing some quick tests just now, it does seem like it only happens on exit. I didn't really test the old behavior enough to know if it only crashed on exit before as well.

It would mostly crash if u quickly open and close. But it also happened when scrolling

KiwiZelda commented 3 years ago

Doing some quick tests just now, it does seem like it only happens on exit. I didn't really test the old behavior enough to know if it only crashed on exit before as well.

For sure it only crashed on exit for me, back when I was playing it and originally had the problem. Unfortunately can't test the new fix for you but really hope someone can

KiwiZelda commented 3 years ago

Doing some quick tests just now, it does seem like it only happens on exit. I didn't really test the old behavior enough to know if it only crashed on exit before as well.

It would mostly crash if u quickly open and close. But it also happened when scrolling

Interestingly, for me it would crash on exit, not generally when I was scrolling, and actually if I opened and closed quickly it would NOT crash. So it was kind of the reverse of what you are saying here, at least for me

m4xw commented 3 years ago

and thats why sample size 1 is a bad thing heh.

m4xw commented 3 years ago

Sadly still a thing

fpi1337 commented 3 years ago

Is it just related to the switch version or does this happen in general? If it's the first case, helping you is much harder :-\

KiwiZelda commented 3 years ago

Is it just related to the switch version or does this happen in general? If it's the first case, helping you is much harder :-\

Unfortunately I've only tried it on switch. Can anyone else answer this?

gjimenezf commented 3 years ago

I have the same issue too, when I try to exit from the notebook RetroArch freeze. Tell me if I can help

Arjo2004 commented 2 years ago

Is it just related to the switch version or does this happen in general? If it's the first case, helping you is much harder :-\

Unfortunately I've only tried it on switch. Can anyone else answer this?

If it matters, I tried it on Lakka on switch using Mupen64next and it seemed to work there, but still crashing in Retroarch for Switch

zerofalcon commented 2 years ago

https://youtu.be/CniKhk6X2oo

Nexxol commented 2 years ago

Any fix?

KiwiZelda commented 2 years ago

Any fix?

I think the video linked directly above by zerofalcon might have been useful, I can't remember. Worth checking it out

KiwiZelda commented 2 years ago

Oops did not mean to close the issue, that was an accident

KiwiZelda commented 2 years ago

Any fix?

The other thing you can do is what I did. Screenshot the notebook every so often (then reset after game crashes) and play through the rest of the game without referring to it except when you really need to