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

Crash in gauntlet legends #71

Open
fzurita opened this issue Oct 24, 2016 · 1 comment
Open

Crash in gauntlet legends #71

fzurita opened this issue Oct 24, 2016 · 1 comment

Comments

@fzurita
Copy link
Member

fzurita commented Oct 24, 2016

This crash is being reported to me in Gauntlet legends as soon as units are deployed:

Build fingerprint: 'ZTE/P996A01/ailsa_ii:6.0.1/MMB29M/20160831.143826:user/release-keys'
pid: 8580, tid: 8818, name: CoreThread  >>> org.mupen64plusae.v3.alpha <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4
#00 pc 00021fa8  /system/lib/libc.so (tgkill+12)
#01  pc 00013065  /system/lib/libc.so (pthread_kill+48)
#02  pc 00013279  /system/lib/libc.so (raise+10)
#03  pc 000c77d4  libmupen64plus-video-rice.so: Routine __aeabi_idiv0 at /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/lib1funcs.S:1337
#04  pc 000376e8  libmupen64plus-video-rice.so: Routine CalculateTileSizes_method_1(int, TMEMLoadMapInfo*, TxtrInfo&) at mupen64plus-video-rice/src/RDP_Texture.h:1012
#05  pc 00037ecc  libmupen64plus-video-rice.so: Routine LoadTexture(unsigned int) at mupen64plus-video-rice/src/RDP_Texture.h:1094
#06  pc 000380b8  libmupen64plus-video-rice.so: Routine PrepareTextures() at mupen64plus-video-rice/src/RDP_Texture.h:1145
#07  pc 00038d84  libmupen64plus-video-rice.so: Routine RSP_GBI2_Tri2(Gfx*) at mupen64plus-video-rice/src/RSP_GBI2.h:328
#08  pc 0003f2ac  libmupen64plus-video-rice.so: Routine DLParser_Process(OSTask*) at mupen64plus-video-rice/src/RSP_Parser.cpp:908
@Narann
Copy link
Member

Narann commented Oct 24, 2016

I don't remember having touched something here.

__aeabi_idiv0 would mean divide by zero, ARM.

tile.dwHeight = gti.HeightToCreate = gti.HeightToLoad = ((0x200 - tile.dwTMem) << (4-tile.dwSize)) / gti.WidthToLoad;

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

No branches or pull requests

2 participants