hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.36k stars 2.18k forks source link

Loading icon crashes PPSSPP on Android #2411

Closed 0x0ade closed 11 years ago

0x0ade commented 11 years ago

I've updated PPSSPP on Android today and the first thing I noticed is that it got rendered useless. After launching, I saw only 2 of my 8 recently played games moving from the left: WipeOut Pure and LocoRoco. Both are isos. Missing were all the homebrew tests (bezier test, cube test, ...) and LittleBigPlanet (CSO). After clearing data I've navigated to my folder with PSP stuff - it crashed on loading / displaying an icon. Either the cube test or the LBP CSO.

I've got an logcat but have got problems attaching it here. I'll try to do it ASAP.

0x0ade commented 11 years ago

06-23 10:52:04.391 D/PARANOID(489): org.ppsspp.ppssppIntent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.ppsspp.ppsspp/.PpssppActivity bnds=[519,469][647,597] } 06-23 10:52:04.391 I/ActivityManager(489): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.ppsspp.ppsspp/.PpssppActivity bnds=[519,469][647,597]} from pid 843 06-23 10:52:04.591 I/ActivityManager(489): Start proc org.ppsspp.ppsspp for activity org.ppsspp.ppsspp/.PpssppActivity: pid=5080 uid=10011 gids={50011, 1015, 1028, 3003} 06-23 10:52:04.881 D/dalvikvm(5080): Trying to load lib /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so 0x421268b8 06-23 10:52:04.901 D/dalvikvm(5080): Added shared lib /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so 0x421268b8 06-23 10:52:04.901 D/dalvikvm(5080): No JNI_OnLoad found in /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so 0x421268b8, skipping init 06-23 10:52:04.921 I/NativeApp(5080): NativeApp::Init: APK path: /data/app/org.ppsspp.ppsspp-2.apk 06-23 10:52:04.931 I/NativeApp(5080): Registered VFS for prefix : /data/data/org.ppsspp.ppsspp/files/ 06-23 10:52:05.381 I/ActivityManager(489): Displayed org.ppsspp.ppsspp/.PpssppActivity: +820ms 06-23 10:52:12.901 F/libc (5080): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 5093 (g.ppsspp.ppsspp) 06-23 10:52:13.001 I/DEBUG (122): pid: 5080, tid: 5093, name: g.ppsspp.ppsspp >>> org.ppsspp.ppsspp <<< 06-23 10:52:13.141 I/DEBUG (122): #02 pc 001e9244 /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so (gnu_cxx::__verbose_terminate_handler()+276) 06-23 10:52:13.141 I/DEBUG (122): 690f9ca4 682e2248 /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so (gnu_cxx::verbose_terminate_handler()+280) 06-23 10:52:13.141 I/DEBUG (122): 690f9cb4 682df348 /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so (std::terminate()) 06-23 10:52:13.141 I/DEBUG (122): 690f9cc4 682df31c /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so (cxxabiv1::terminate(void (*)())+12) 06-23 10:52:13.141 I/DEBUG (122): 690f9ccc 682df360 /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so (std::terminate()+24) 06-23 10:52:13.141 I/DEBUG (122): 690f9cd4 682df4e8 /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so (cxa_throw+152) 06-23 10:52:13.141 I/DEBUG (122): 690f9cdc 68767680 /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so 06-23 10:52:13.141 I/DEBUG (122): 690f9ce4 68297f00 /data/app-lib/org.ppsspp.ppsspp-2/libppsspp_jni.so 06-23 10:52:13.281 I/ActivityManager(489): Process org.ppsspp.ppsspp (pid 5080) has died. 06-23 10:52:13.281 W/ActivityManager(489): Force removing ActivityRecord{42134f48 u0 org.ppsspp.ppsspp/.PpssppActivity}: app died, no saved state 06-23 10:52:13.291 W/InputDispatcher(489): channel '4224fec0 org.ppsspp.ppsspp/org.ppsspp.ppsspp.PpssppActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 06-23 10:52:13.291 E/InputDispatcher(489): channel '4224fec0 org.ppsspp.ppsspp/org.ppsspp.ppsspp.PpssppActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 06-23 10:52:13.291 W/InputDispatcher(489): Attempted to unregister already unregistered input channel '4224fec0 org.ppsspp.ppsspp/org.ppsspp.ppsspp.PpssppActivity (server)' 06-23 10:52:13.291 I/WindowState(489): WIN DEATH: Window{4224fec0 u0 org.ppsspp.ppsspp/org.ppsspp.ppsspp.PpssppActivity}

unknownbrackets commented 11 years ago

Can you try a couple different versions to see which was the first build it started happening in?

The fastest way is to go by halves between your old version and the new version.

-[Unknown]

0x0ade commented 11 years ago

Loading unknown.png crashes it was if it wouldn't exist.

I'm no C++ pro but I lurked into the commit.. Are you checking if unknown.png exists?

0x0ade commented 11 years ago

As if*

aki21 commented 11 years ago

I just got crash when there are many eboot.pbp in one place at the same times when it want to show games icon,also some demo that run at first then you open ppsspp it crash immediately(need to uninstall it to solve the problem),btw it's happen on android and window(window versiom just need to delete ini files to solve.it)

hrydgard commented 11 years ago

I'll have a look. Can't release with this kind of crash heh.

0x0ade commented 11 years ago

I'm just quoting you... "Hm, did you test that it works for you? Don't close until tested. " Still crashing on 1571+.

Edit: Somehow I can't re-open. GitHub's issue permissions FTW.

hrydgard commented 11 years ago

Oops it autoclosed it when I commited :P

hrydgard commented 11 years ago

Okay, I got this reproduced on my N4. Will fix.

hrydgard commented 11 years ago

I think I got it now.

0x0ade commented 11 years ago

Yes, it's working this time. And it looks good! :D

I won't touch the close button this time.