Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

tgkill+12
Started by fkilius Dec 05 2018 11:46 AM

25 replies to this topic
tgkill+12 assertnopendingexception carsh

Best Answer vlads , 12 December 2018 - 09:30 AM

Hello!

This look much better! Here are symbolicated crashes. What happens here is following:

1. Update Display::Update(), which dispatches "enterFrame" event.

2. Then it executes the event and error during invocation or executing of the event.

 

Enter Frame can have many things in it, it's a workhorse of things like transitions or timers, so error may happen like inside a timer or transition, trying to access deleted widget or display object or something.

 

So this error is caused by some Lua code, and should be reproducible. Also, it is weird, because usually Lua errors should not crash the app. Do you use some custom error handling?

[TOPIC CONTROLS]
Page 1 of 2 1 2
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Hello, last days I`ve released a new version of my app and I start to see a lot of crashes in play developer console. I cant reproduce this crash on my device and also cannot identify if the problem is in my code or in corona SDK with the information provided in the google developer console. Here is all the info that i got, can anyone help me?

In case that the problem is in my code, Is there any way to see the stack trace and know wich lua file is the problem?

Thank you

 

 
#00 pc 000000000004b510 /system/lib/libc.so (tgkill+12)
 
#01 pc 000000000001a443 /system/lib/libc.so (abort+54)
 
#02 pc 00000000003381bf /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+230)
 
#03 pc 000000000033884f /system/lib/libart.so (_ZN3art7Runtime7AborterEPKc+10)
 
#04 pc 00000000003ef92d /system/lib/libart.so (_ZN7android4base10LogMessageD1Ev+456)
 
#05 pc 0000000000359981 /system/lib/libart.so (_ZNK3art6Thread24AssertNoPendingExceptionEv+844)
 
#06 pc 00000000000eb791 /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+28)
 
#07 pc 000000000025be77 /system/lib/libart.so (_ZN3art3JNI9FindClassEP7_JNIEnvPKc+1078)
 
#08 pc 0000000000031cd4 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#09 pc 000000000008da84 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#10 pc 000000000008d91c /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#11 pc 000000000008e0d4 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#12 pc 000000000008d91c /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#13 pc 0000000000082524 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#14 pc 00000000000b40c4 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#15 pc 000000000014bb04 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#16 pc 000000000014e3a8 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#17 pc 00000000000b4e0c /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#18 pc 0000000000141494 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#19 pc 000000000008d764 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#20 pc 00000000000855bf /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/oat/arm/base.odex

 

 
#00 pc 000000000004b510 /system/lib/libc.so (tgkill+12)
 
#01 pc 000000000001a443 /system/lib/libc.so (abort+54)
 
#02 pc 00000000003381bf /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+230)
 
#03 pc 000000000033884f /system/lib/libart.so (_ZN3art7Runtime7AborterEPKc+10)
 
#04 pc 00000000003ef92d /system/lib/libart.so (_ZN7android4base10LogMessageD1Ev+456)
 
#05 pc 0000000000359981 /system/lib/libart.so (_ZNK3art6Thread24AssertNoPendingExceptionEv+844)
 
#06 pc 00000000000eb791 /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+28)
 
#07 pc 000000000025be77 /system/lib/libart.so (_ZN3art3JNI9FindClassEP7_JNIEnvPKc+1078)
 
#08 pc 0000000000031cd4 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#09 pc 000000000008da84 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#10 pc 000000000008d91c /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#11 pc 000000000008e0d4 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#12 pc 000000000008d91c /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#13 pc 0000000000082524 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#14 pc 00000000000b40c4 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#15 pc 000000000014bb04 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#16 pc 000000000014e3a8 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#17 pc 00000000000b4e0c /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#18 pc 0000000000141494 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#19 pc 000000000008d764 /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/lib/arm/libcorona.so
 
#20 pc 00000000000855bf /data/app/com.blackbean.tinypuzzle-k831JhvbqL-p9BxZxPdfbw==/oat/arm/base.odex


[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,997 posts
  • Corona SDK

Can you provide us with the version number of Corona you're using (please don't say "The Latest", but actually get the number from the "About Corona" menu link or from the welcome window)?

 

Are you building on macOS or Windows?



[TOPIC: post.html]
#3

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Hello Rob, im using the version 2018.3443 and building on Windows 10 laptop.

Regars



[TOPIC: post.html]
#4

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

It is hard to tell what is going on from the traceback, it seems that image decoding is faulting for some reason. Crash happens when native corona library tries to locate and decode image using java call, and it fails to find a java call for mysterious reasons. It should not happen.

1. What images are you using? Is it possible you're using downloaded images or something like that?

2. Are there particular devices/manufacturers/android versions associated with the crash?

3. You say "a lot of crashes" but how many is that, in percents, not absolute numbers.



[TOPIC: post.html]
#5

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Hello Vlads, here are my responses:

1-I'm using png images, the same images in all devices. All images was created by our design team and they are included in the apk file, we do not download any image.

2-There is no particular devices. See attachments.

3-In percentage it represents about 329% more crashes than previous version. See the attachments.

Is there any way to catch this exceptions and log in somewere the stacktrace to indentify the problem?

Thanks for your help.

Best regards

 

This is the errors trend:

errors.jpg

 

This is the device list of one instance of the crash:

devices.jpg



[TOPIC: post.html]
#6

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Hello again, any update? Is there anything that I can do to resolve the issue?

We are loosing positions on play store because this errors.

Thanks



[TOPIC: post.html]
#7

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

Unfortunately it's not much to go with: I decoded stack-trace and it does not point to any reasonable error. All I see is that decoder attempts to decode ".png" file. Actually, it crashes when it tries to locate it inside APK achieve. Thing is, this operation is done with every sprite you load in every android game, and directly related code wasn't changed forever (like last 3-4 years or so). I would love to help, but I am at loss - I don't see how this can be happening and I don't have a way to reproduce the bug. I really want to help, but I don't know how...

 

What changed on November 29, so you started to get crashes? Did you move to new version of Corona? Which was previous version? Is it possible to use that one?



[TOPIC: post.html]
#8

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

On november 25 we released a new version of the app. It is built under the new version of Corona (2018.3443) and also including a new mini game in the app.

So i'm not sure if the problem is caused by the corona sdk upgrade or some image in the new game.

Did you recomend that I downgrade to the previous version of corona SDK to see the if the error persists?

Is there any way to catch the exception to identify the lua file or the image name to see this particular element?

Regads



[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,997 posts
  • Corona SDK

You could put something in build.settings to prevent us from stripping debugging information. See:

 

http://docs.coronalabs.com/guide/distribution/advancedSettings/index.html#build-control

 

Generally, you don't want to change multiple things when tracking down a problem like this. But dropping back to the previous version of Corona that you built with would be a logical step.

 

Rob



[TOPIC: post.html]
#10

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

Rob, it seems like crash happens when Corona loads textures, which happens between frames, not in direct response to Lua code. Crash there should not happen, unless something goes really odd (which unfortunately the case here).

What version of Corona your previous release uses? If it's older than 2018.3326 I would recommend to roll back Corona version to see if it would help. Note, that Google Play console has latency of few days when crashes are fixed.



[TOPIC: post.html]
#11

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Hey guys, we downgraded to the previous version of corona sdk (2018.3350) and released a new version with the flag neverStripDebugInfo = true

The problem still there, here is some of the crashes reported in play developer console.

Any clue?

Thanks!

 

 

pid: 0, tid: 0 >>> com.blackbean.tinypuzzle <<< backtrace:
 
#00 pc 000000000004b3ac /system/lib/libc.so (tgkill+12)
 
#01 pc 000000000001a473 /system/lib/libc.so (abort+54)
 
#02 pc 000000000033a8bb /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+370)
 
#03 pc 000000000033aeb3 /system/lib/libart.so (_ZN3art7Runtime7AborterEPKc+10)
 
#04 pc 00000000003f3419 /system/lib/libart.so (_ZN7android4base10LogMessageD1Ev+456)
 
#05 pc 000000000035d0a5 /system/lib/libart.so (_ZNK3art6Thread24AssertNoPendingExceptionEv+844)
 
#06 pc 00000000000eb961 /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+28)
 
#07 pc 000000000025cc97 /system/lib/libart.so (_ZN3art3JNI9FindClassEP7_JNIEnvPKc+1066)
 
#08 pc 0000000000031774 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/libcorona.so
 
#09 pc 00000000001068bc /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/libcorona.so
 
#10 pc 000000000000cc1c /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#11 pc 000000000000d01c /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#12 pc 000000000000c084 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#13 pc 000000000000c0e0 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#14 pc 000000000000c188 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#15 pc 000000000000ca6c /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#16 pc 000000000001ce30 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#17 pc 000000000000d068 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#18 pc 000000000000c374 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#19 pc 000000000000d1e0 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so
 
#20 pc 00000000000055b8 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/liblua.so (lua_pcall+88)
 
#21 pc 0000000000107070 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/libcorona.so
 
#22 pc 000000000009ade4 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/libcorona.so
 
#23 pc 0000000000141244 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/libcorona.so
 
#24 pc 000000000008d4f8 /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/lib/arm/libcorona.so
 
#25 pc 000000000008555f /data/app/com.blackbean.tinypuzzle--oDfUmsfX2-zwsN9zGpRwg==/oat/arm/base.odex

 

 

Another instance of the same error:

 

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>> com.blackbean.tinypuzzle <<< backtrace:
 
#00 pc 0000000000049c44 /system/lib/libc.so (tgkill+12)
 
#01 pc 00000000000473e3 /system/lib/libc.so (pthread_kill+34)
 
#02 pc 000000000001d535 /system/lib/libc.so (raise+10)
 
#03 pc 0000000000019081 /system/lib/libc.so (__libc_android_abort+34)
 
#04 pc 00000000000170e4 /system/lib/libc.so (abort+4)
 
#05 pc 0000000000319071 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+252)
 
#06 pc 00000000000b4979 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+864)
 
#07 pc 0000000000332623 /system/lib/libart.so (_ZNK3art6Thread24AssertNoPendingExceptionEv+602)
 
#08 pc 00000000000e4679 /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+28)
 
#09 pc 000000000026017f /system/lib/libart.so (_ZN3art3JNI9FindClassEP7_JNIEnvPKc+1878)
 
#10 pc 0000000000031774 /data/app/com.blackbean.tinypuzzle-1/lib/arm/libcorona.so
 
#11 pc 00000000001068bc /data/app/com.blackbean.tinypuzzle-1/lib/arm/libcorona.so
 
#12 pc 000000000000cc1c /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#13 pc 000000000000d01c /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#14 pc 000000000000c084 /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#15 pc 000000000000c0e0 /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#16 pc 000000000000c188 /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#17 pc 000000000000ca6c /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#18 pc 000000000001ce30 /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#19 pc 000000000000d068 /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#20 pc 000000000000c374 /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#21 pc 000000000000d1e0 /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so
 
#22 pc 00000000000055b8 /data/app/com.blackbean.tinypuzzle-1/lib/arm/liblua.so (lua_pcall+88)
 
#23 pc 0000000000107070 /data/app/com.blackbean.tinypuzzle-1/lib/arm/libcorona.so
 
#24 pc 000000000009ade4 /data/app/com.blackbean.tinypuzzle-1/lib/arm/libcorona.so
 
#25 pc 0000000000141244 /data/app/com.blackbean.tinypuzzle-1/lib/arm/libcorona.so
 
#26 pc 000000000008d4f8 /data/app/com.blackbean.tinypuzzle-1/lib/arm/libcorona.so
 
#27 pc 00000000006581dd /data/app/com.blackbean.tinypuzzle-1/oat/arm/base.odex


[TOPIC: post.html]
#12

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Hello again, have you checked my latest post? is there anything that point to the error?

Thanks



[TOPIC: post.html]
#13

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

Yes, it points to the identical nondescript error as before. But since you reverted version of Corona it is plausible to assume crash is caused by some new introduced feature or plugins. What plugins are you using, and when was last non-crashy release of your game?



[TOPIC: post.html]
#14

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Hello Vlads, we do not include any new plugin. Just a new mini-game. In that case how can i know wich image/file/whatever is causing the crash? is my first app in corona and it is a new world for me.

Thanks.



[TOPIC: post.html]
#15

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

May be we updated some plugin you're using. Please, can you use https://pastebin.com/ to share your build.settings?

 

Also, this is not a nice situation. Clearly, Corona should not crash in any circumstances. But I struggle to understand what is going on. Try to test changed parts of code etc.



[TOPIC: post.html]
#16

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Hello, this is my build.settings https://pastebin.com/P1a0xSeQ

None of the excluded files are used in the new game that we released when the app start to carsh, in fact we do not change anything in this build.settings for this release.

We made an exahustive test on every device that we have, but unfortunelly we cannot reproduce the crash :-(

 

Thanks!



[TOPIC: post.html]
#17

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

Admob plugin was updated in late August so it shouldn't be an issue.

You say you added a mini-game. Do you have ads around it? Try testing your mini-game, press "back" button, etc. It's not much I can suggest at this point.



[TOPIC: post.html]
#18

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

This is the same error right?

 

pid: 0, tid: 0 >>> com.blackbean.tinypuzzle <<< backtrace:
 
#00 pc 000000000001a518 /system/lib/libc.so (abort+63)
 
#01 pc 0000000000365883 /system/lib/libart.so (art::Runtime::Abort(char const*)+402)
 
#02 pc 0000000000427117 /system/lib/libart.so (android::base::LogMessage::~LogMessage()+454)
 
#03 pc 0000000000387ead /system/lib/libart.so (art::Thread::AssertNoPendingException() const+832)
 
#04 pc 00000000000efc41 /system/lib/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)+28)
 
#05 pc 000000000028017f /system/lib/libart.so (art::JNI::FindClass(_JNIEnv*, char const*)+1310)
 
#06 pc 0000000000031774 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/libcorona.so
 
#07 pc 00000000001068bc /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/libcorona.so
 
#08 pc 000000000000cc1c /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#09 pc 000000000000d01c /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#10 pc 000000000000c084 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#11 pc 000000000000c0e0 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#12 pc 000000000000c188 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#13 pc 000000000000ca6c /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#14 pc 000000000001ce30 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#15 pc 000000000000d068 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#16 pc 000000000000c374 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#17 pc 000000000000d1e0 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so
 
#18 pc 00000000000055b8 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/liblua.so (lua_pcall+88)
 
#19 pc 0000000000107070 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/libcorona.so
 
#20 pc 000000000009ade4 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/libcorona.so
 
#21 pc 0000000000141244 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/libcorona.so
 
#22 pc 000000000008d4f8 /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/lib/arm/libcorona.so
 
#23 pc 000000000001c07f /data/app/com.blackbean.tinypuzzle-6R7cUnSSB60sIOZmxRYBQg==/oat/arm/base.odex


[TOPIC: post.html]
#19

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

Yes, it is. May I ask to use pastebin to share crashlogs? It is hard to read like this.



[TOPIC: post.html]
#20

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Sure Vlads, here are my top 4 crashes, as you can see we are experimenting a lot of crashes but all of them seems to be the same problem.

 

crashes.png

 

 
 
 


[TOPIC: post.html]
#21

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

Are this all from same version 2018.3350?



[TOPIC: post.html]
#22

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Yes, all this crashes are from version 2018.3350

Regards



[TOPIC: post.html]
#23

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

  Best Answer

Hello!

This look much better! Here are symbolicated crashes. What happens here is following:

1. Update Display::Update(), which dispatches "enterFrame" event.

2. Then it executes the event and error during invocation or executing of the event.

 

Enter Frame can have many things in it, it's a workhorse of things like transitions or timers, so error may happen like inside a timer or transition, trying to access deleted widget or display object or something.

 

So this error is caused by some Lua code, and should be reproducible. Also, it is weird, because usually Lua errors should not crash the app. Do you use some custom error handling?



[TOPIC: post.html]
#24

fkilius

[GLOBAL: userInfoPane.html]
fkilius
  • Observer

  • 15 posts
  • Corona SDK

Great we are closer... here are 3 questions:

1-We recently added this block of code trying to catch the error, but unfortunely we have no luck. We have not received any crash report from the app. Is there any chance that this error handler is hinding the cause of the error?

2-Is there any way to get the lua filename to find in wich screen is crashing?

3-Did you recommend that i try to remove every enterframe handler replacing it by transitions or this error can be caused by a timer to?

 

Thanks! 

 

this is the error handler that we added:

 

local function handleUnexpectedError(event)
analyticsManager.logEvent( "Error", 
      {
         errorMessage=event.errorMessage, 
         stackTrace=event.stackTrace
      } 
   )
end
 
Runtime:addEventListener("unhandledError", handleUnexpectedError)


[TOPIC: post.html]
#25

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 577 posts
  • Corona Staff

3. There's misunderstanding: I told that transitions and times utilize enterFrame within them. So the cause may be not your direct enterFrame handler, but some of timers.

 

1. Did you add that code after the crashes appear or before? I would suggest testing it first somehow. Errors in error handler is a nasty thing. Also, if your handler invoker network request it may cause problems.

 

2. Not on google console. It is hard to tell what is going on inside your Lua code.If you would have a repro for crash, you would see it in logcat output




[topic_controls]
Page 1 of 2 1 2
 
[/topic_controls]

Also tagged with one or more of these keywords: tgkill+12, assertnopendingexception, carsh