Skip to content
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

Gambatte crashes when handling a broken ROM #108

Open
alice-mkh opened this issue Sep 15, 2018 · 0 comments
Open

Gambatte crashes when handling a broken ROM #108

alice-mkh opened this issue Sep 15, 2018 · 0 comments

Comments

@alice-mkh
Copy link

alice-mkh commented Sep 15, 2018

The following ROM crashes it: gb-crasher.zip

I don't know what this file is, but it looks like just junk data.

Backtrace:

#0  0x00007fffdba4b3bd in gambatte::Memory::nontrivial_read (this=this@entry=0x555556112860, p=<optimized out>, cc=cc@entry=0) at libgambatte/src/mem/memptrs.h:73
#1  0x00007fffdba4017b in gambatte::Memory::read (cc=0, p=256, this=0x555556112860) at libgambatte/src/cpu.cpp:518
#2  gambatte::CPU::process (this=this@entry=0x555556112860, cycles=<optimized out>) at libgambatte/src/cpu.cpp:511
#3  0x00007fffdba4827e in gambatte::CPU::runFor (this=0x555556112860, cycles=<optimized out>) at libgambatte/src/cpu.cpp:46
#4  0x00007fffdba483de in gambatte::GB::runFor (this=this@entry=0x7fffdba7f430 <gb>, videoBuf=<optimized out>, pitch=<optimized out>, 
    soundBuf=soundBuf@entry=0x7fffdba7b280 <retro_run::sound_buf>, samples=@0x7fffffffb9d4: 2064) at libgambatte/src/gambatte.cpp:50

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant