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

Game crashes when attacking other Cafes #2

Open
jonpetersathan opened this issue Aug 10, 2023 · 7 comments
Open

Game crashes when attacking other Cafes #2

jonpetersathan opened this issue Aug 10, 2023 · 7 comments

Comments

@jonpetersathan
Copy link

Hello,

First of all thanks for creating this, I've been looking for a way to get Zombie Cafe working again for years now! So amazing!

Unfortunately my game crashes shortly after I attack another Cafe (which I am forced to do in the tutorial).

Is this a known issue? Sounds a bit similar to the issues already closed. However, I am running the last published APK file natively on a Google Pixel 6. I will try to get some logs out of it and update this issues.

JP

@33masterman33
Copy link

I thought the issue was related to me running it in an emulator. On Android 13 for me it crashes randomly but loads right back up and I can complete whatever I was doing.

What stage does it crash for you? As soon as you get to the other cafe or was it the same as my emulator with crashing when attacked yourself?

@jonpetersathan
Copy link
Author

The first time it crashed right when I clicked on the other cafe, but know it seems it only crashes when the zombies attack one of the servers. Maybe it has something to do with the attack animation?

If I restart after the crash, I need it loads before the attack. Maybe we have two different issues here.

Will do some further investigation. Also running Android 13 btw.

@Airyzz
Copy link
Owner

Airyzz commented Aug 10, 2023

Heya, it you can get logs with adb logcat that would be great

@jonpetersathan
Copy link
Author

Here we go:

08-11 15:39:43.336 22718 22894 E GameStateCafe::save(): Finished
08-11 15:39:43.336 22718 22894 E ===================: =====
08-11 15:39:43.336 22718 22894 E SaveDataOutputStream FileName: raidCafe0.dat
08-11 15:39:43.336 22718 22894 E SaveDataOutputStream FileName: raidEnemies0.dat
08-11 15:39:43.336 22718 22894 E Character::serialize: Quinn
08-11 15:39:43.336 22718 22894 E Character::serialize: Alex
08-11 15:39:43.336 22718 22894 E Character::serialize: Trey
08-11 15:39:43.343 22718 22894 E         :
08-11 15:39:43.343 22718 22894 E         :
08-11 15:39:43.343 22718 22894 E GAMESTATE FINISHED LOADING: GAMESTATE FINISHED LOADING
08-11 15:39:43.343 22718 22894 E         :
08-11 15:39:43.343 22718 22894 E         :
08-11 15:39:43.358 22718 22894 V MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
08-11 15:39:43.359 22718 22894 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
08-11 15:39:43.359 22718 22718 W MediaPlayer: mediaplayer went away with unhandled events
08-11 15:39:44.990 22718 22726 I scudo   : Scudo ERROR: corrupted chunk header at address 0xc876ed50
08-11 15:39:45.024 24169 24169 W linker  : type=1400 audit(0.0:34798): avc: denied { search } for name="tests" dev="dm-46" ino=106 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:shell_test_data_file:s0 tclass=dir permissive=0 app=com.capcom.zombiecafeandroid
08-11 15:39:45.024 24169 24169 W linker  : type=1400 audit(0.0:34799): avc: denied { search } for name="tests" dev="dm-46" ino=106 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:shell_test_data_file:s0 tclass=dir permissive=0 app=com.capcom.zombiecafeandroid
08-11 15:39:45.024 24169 24169 W linker  : type=1400 audit(0.0:34800): avc: denied { search } for name="tests" dev="dm-46" ino=106 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:shell_test_data_file:s0 tclass=dir permissive=0 app=com.capcom.zombiecafeandroid
08-11 15:39:45.024 24169 24169 W linker  : type=1400 audit(0.0:34801): avc: denied { search } for name="tests" dev="dm-46" ino=106 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:shell_test_data_file:s0 tclass=dir permissive=0 app=com.capcom.zombiecafeandroid
08-11 15:39:45.408 22718 22726 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 22726 (HeapTaskDaemon), pid 22718 (mbiecafeandroid)
08-11 15:39:45.473 24173 24173 E DEBUG   : failed to readlink /proc/22726/fd/252: No such file or directory
08-11 15:39:45.524 24173 24173 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
08-11 15:39:45.530 24173 24173 I crash_dump32: performing dump of process 22718 (target tid = 22726)
08-11 15:39:45.979 24173 24173 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-11 15:39:45.979 24173 24173 F DEBUG   : Build fingerprint: 'google/oriole/oriole:13/TQ3A.230705.001/10216780:user/release-keys'
08-11 15:39:45.979 24173 24173 F DEBUG   : Revision: 'MP1.0'
08-11 15:39:45.979 24173 24173 F DEBUG   : ABI: 'arm'
08-11 15:39:45.979 24173 24173 F DEBUG   : Timestamp: 2023-08-11 15:39:45.561285902+0200
08-11 15:39:45.979 24173 24173 F DEBUG   : Process uptime: 98s
08-11 15:39:45.979 24173 24173 F DEBUG   : Cmdline: com.capcom.zombiecafeandroid
08-11 15:39:45.979 24173 24173 F DEBUG   : pid: 22718, tid: 22726, name: HeapTaskDaemon  >>> com.capcom.zombiecafeandroid <<<
08-11 15:39:45.979 24173 24173 F DEBUG   : uid: 10344
08-11 15:39:45.979 24173 24173 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-11 15:39:45.979 24173 24173 F DEBUG   : Abort message: 'Scudo ERROR: corrupted chunk header at address 0xc876ed50'
08-11 15:39:45.979 24173 24173 F DEBUG   :     r0  00000000  r1  000058c6  r2  00000006  r3  cc295910
08-11 15:39:45.979 24173 24173 F DEBUG   :     r4  cc295920  r5  cc295908  r6  000058be  r7  0000016b
08-11 15:39:45.979 24173 24173 F DEBUG   :     r8  00000000  r9  ffffffff  r10 cc295910  r11 f1dc394c
08-11 15:39:45.979 24173 24173 F DEBUG   :     ip  000058c6  sp  cc2958f0  lr  f33ffbf7  pc  f33ffc0a
08-11 15:39:45.979 24173 24173 F DEBUG   : backtrace:
08-11 15:39:45.979 24173 24173 F DEBUG   :       #00 pc 00039c0a  /apex/com.android.runtime/lib/bionic/libc.so (abort+138) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #01 pc 0002da27  /apex/com.android.runtime/lib/bionic/libc.so (scudo::die()+2) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #02 pc 0002ddcd  /apex/com.android.runtime/lib/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+16) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #03 pc 0002de51  /apex/com.android.runtime/lib/bionic/libc.so (scudo::reportHeaderCorruption(void*)+36) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #04 pc 0002ec55  /apex/com.android.runtime/lib/bionic/libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin, unsigned int, unsigned int)+184) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #05 pc 0002eb8f  /apex/com.android.runtime/lib/bionic/libc.so (scudo_free+18) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #06 pc 00026629  /apex/com.android.art/lib/libartbase.so (art::MemMap::Invalidate()+36) (BuildId: 480900b064dbffebb07da62fc8492fdf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #07 pc 0002659b  /apex/com.android.art/lib/libartbase.so (art::MemMap::DoReset()+58) (BuildId: 480900b064dbffebb07da62fc8492fdf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #08 pc 0002207b  /apex/com.android.art/lib/libartbase.so (art::MemMap::~MemMap()+10) (BuildId: 480900b064dbffebb07da62fc8492fdf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #09 pc 001c80c3  /apex/com.android.art/lib/libart.so (std::__1::__tree<std::__1::__value_type<art::mirror::Object*, art::gc::space::LargeObjectMapSpace::LargeObject>, std::__1::__map_value_compare<art::mirror::Object*, std::__1::__value_type<art::mirror::Object*, art::gc::space::LargeObjectMapSpace::LargeObject>, std::__1::less<art::mirror::Object*>, true>, std::__1::allocator<std::__1::__value_type<art::mirror::Object*, art::gc::space::LargeObjectMapSpace::LargeObject> > >::erase(std::__1::__tree_const_iterator<std::__1::__value_type<art::mirror::Object*, art::gc::space::LargeObjectMapSpace::LargeObject>, std::__1::__tree_node<std::__1::__value_type<art::mirror::Object*, art::gc::space::LargeObjectMapSpace::LargeObject>, void*>*, int>)+12) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #10 pc 003492a3  /apex/com.android.art/lib/libart.so (art::gc::space::LargeObjectMapSpace::Free(art::Thread*, art::mirror::Object*)+314) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #11 pc 0032aafb  /apex/com.android.art/lib/libart.so (art::gc::collector::ConcurrentCopying::SweepArray(art::gc::accounting::AtomicStack<art::mirror::Object>*, bool)+214) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #12 pc 002ea32f  /apex/com.android.art/lib/libart.so (art::gc::collector::ConcurrentCopying::ReclaimPhase()+118) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #13 pc 0019389d  /apex/com.android.art/lib/libart.so (art::gc::collector::ConcurrentCopying::RunPhases()+532) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #14 pc 00301da9  /apex/com.android.art/lib/libart.so (art::gc::collector::GarbageCollector::Run(art::gc::GcCause, bool)+236) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #15 pc 002443c3  /apex/com.android.art/lib/libart.so (art::gc::Heap::CollectGarbageInternal(art::gc::collector::GcType, art::gc::GcCause, bool, unsigned int)+1174) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #16 pc 001b941b  /apex/com.android.art/lib/libart.so (art::gc::Heap::ConcurrentGC(art::Thread*, art::gc::GcCause, bool, unsigned int)+102) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #17 pc 001bca85  /apex/com.android.art/lib/libart.so (art::gc::Heap::ConcurrentGCTask::Run(art::Thread*)+40) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #18 pc 001cc00b  /apex/com.android.art/lib/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+26) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #19 pc 002b733d  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (art_jni_trampoline+68)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #20 pc 005708c5  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (java.lang.Daemons$HeapTaskDaemon.runInternal+188)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #21 pc 0054709b  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (java.lang.Daemons$Daemon.run+154)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #22 pc 0039614f  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (java.lang.Thread.run+70)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #23 pc 003b91d5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #24 pc 003b8bbb  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<false>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.1740321804276605057)+158) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #25 pc 00286dfb  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+134) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #26 pc 0030ea6d  /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*) (.__uniq.245181933781456475607640333933569312899.llvm.13511596489111938334)+40) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #27 pc 0030e973  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+154) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #28 pc 003352d7  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #29 pc 002ebce5  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+408) (BuildId: b4ba4554d0e918127f6537060375c4bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #30 pc 00083d3f  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
08-11 15:39:45.979 24173 24173 F DEBUG   :       #31 pc 0003abad  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)

I was playing around a bit, but it is not quite consistent. It only happens if I open the map or I am in the middle of attacking another cafe. But sometimes it also just works. I have also attached logs.txt from the other crashes. It crashes at the following timestamps:
08-11 15:14:05.272
08-11 15:16:06.888
08-11 15:19:10.459

They all look similar, but I cant read much information out of it. I'm also more the Java guy :D

@jonpetersathan
Copy link
Author

*Correction: the crash seems to be completely unrelated to the map.

@Airyzz
Copy link
Owner

Airyzz commented Aug 11, 2023

Ah yea so its just random crashes. Yea ive had this too. The tricky thing about this is the stack trace in the log only shows functions in the sdk, not in the game. So whatever the game is doing is causing a crash in the android sdk itself. Its a tough one with not a lot of info to go off

@Airyzz
Copy link
Owner

Airyzz commented Aug 11, 2023

It looks to me like its an issue with garbage collector

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

3 participants