libretro/virtualjaguar-libretro

[Android] core crashed after load content

duskgao opened this issue · 9 comments

both nightly build & PlayStore build would crashed with the virtualjaguar core last half a month

confirmed, happens on Windows too and sadly the first broken commit is this one:
2ee290f

Rayman was working fine before that

it still works fine on Linux, including that game.

It doesn't on Android and on windows...

On Sun, Sep 27, 2015, 6:42 AM Twinaphex notifications@github.com wrote:

it still works fine on Linux, including that game.


Reply to this email directly or view it on GitHub
#14 (comment)
.

Guess we could start debugging it on Windows.

Crashes on Linux too. Nothing works.

@marc34: confirmed, also crashes using Linux Mint 17.2 x64, kernel 3.16.

I couldn't complete a git bisect, i got to this commit and couldn't even compile to test: f407105

I couldn't compile the commit posted above either (2ee290f), but I can confirm that the commit immediately prior to that (ffec5c7) compiles fine and the core doesn't crash.

Hope it helps.

the convert (reference/ to pointer) done by this commit
2ee290f
forgot few point.

here is what i used to get core working again on my linux

http://pastebin.com/3LfVnVUP

Thanks for correcting my mistakes, I did a bad rush job at converting that code to C. I think I forgot to respect pointers to pointers here and there.

I pushed a commit of your diff patch and gave you credit, thanks.

Would you perhaps also be willing to look at 4DO? I think I might have made some mistake there too when converting the code from C++ to C. Would be grateful if you could go through it.

i m not C expert too , so maybe other mistake possible.
i will look at 4DO.