Comments (10)
Found the bug, it's actually in RetroArch itself:
audio_driver_rewind_ptr
can underflow and randomly overwrite memory.
from sameboy.
Can you get a stacktrace?
from sameboy.
Is stacktrace the same thing as log? (pardon my ignorance :) )
from sameboy.
I'll assume the answer to my question is yes, please give me instructions on how to proceed otherwise.
Log 1 - RetroArch crashes when 'escape' is pressed to exit emulator, after rewinding for a couple of seconds, and waiting a couple more. https://pastebin.com/x1D2Xw9j
Log 2 - RetroArch crashes as soon as the rewind hotkey is released. https://pastebin.com/XRR5mS3Q
Log 3 - RetroArch displays glitched graphics after release of rewind key, then crashes when 'escape' key is pressed. https://pastebin.com/E2HDqPpA
Again, I do have 'Auto Save State' turned on. I suspect that has something to do with the crash on exit.
Edit: I turned off auto save, and the issue still occurs, so scratch this.
It is worth noting that exiting the emulator without attempting a rewind does not seem to trigger a crash. I do have a core override for SameBoy, it only one line - aspect_ratio_index = "21".
from sameboy.
More details that may be helpful - the ROM's crc is 6C41D3CD, and is called Batman - The Video Game (World).gb. It is loaded from a zipped archive.
I am using Windows 10 with the latest updates.
from sameboy.
I'll try to reproduce it on my Mac, probably some silly memory management issue.
from sameboy.
...But rewinding doesn't seem to work for me at all with RetroArch, holding the rewind key seems to do nothing :S
from sameboy.
Managed to reproduce a memory corruption on the macOS build after using rewind, should be easy now.
from sameboy.
Opened a relevant RetroArch issue (libretro/RetroArch#6382)
from sameboy.
Thanks for looking into it!
from sameboy.
Related Issues (20)
- Windows/Linux Version: SO MANY FEATURES MISSING
- SameBoy iOS Installation? HOT 5
- [GBS] Aladdin (Game Boy Color, 2000) - no audio
- Option to change Super Game Boy palettes HOT 1
- Hang when starting a ROM in a non-writable dir HOT 3
- Put automation results in a separate repo? HOT 3
- Library access to raw APU channel volumes HOT 4
- iOS App Feature Requests HOT 4
- IOS Rom Library HOT 3
- Custom borders feature request (libretro) HOT 1
- Cannot undo load state on the auto-loaded state (RetroArch/Libretro) HOT 2
- Better SGB+GBC support (RetroArch/libretro) HOT 4
- PCM playback buzz audible in SameBoy but not on GBA SP
- android question HOT 1
- Documentation about command line arguments HOT 1
- Controller not detected if connected while SameBoy is running. HOT 2
- Add VGM logging support
- Pocket Monsters - Pikachu has graphical issues when played on CGB mode HOT 4
- VRAM Viewer tabs not present in MacOS Sonoma
- v0.15.8 Crash `EXC_BAD_ACCESS` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sameboy.