Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Frequent Android Crashes
Started by Yoger Games Oct 25 2017 11:04 AM

96 replies to this topic
[TOPIC CONTROLS]
Page 2 of 4 1 2 3 4
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 709 posts
  • Corona Staff

 

My top crash is

 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

libcorona.so

backtrace:
  native: pc 0000000000030c7c  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 000000000002b6e4  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 000000000002e9f8  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so (Java_com_ansca_corona_JavaToNativeShim_nativeDone+28)
  native: pc 0000000000937be5  /data/app/com.spheregamestudios.designercity-1/oat/arm/base.odex

 

For example: this one is crashing when trying to destroy connection between Java and Native side when application exiting. (why would google care about app crashing on exit? It exits anyway ffs, but it's not the point) Probably caused by referring variable which was already freed. It is rather hard to say why it is sometimes already freed but isn't so every time. We'll look into it.

 

Also, than you everyone for tracebacks. I created tickets and will take a look at them in nearest future (aka Monday). I can not guarantee that anything would be done, but we'll try fixing them.



[TOPIC: post.html]
#27

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,105 posts
  • Corona SDK

@vlad, if it is on app exit shouldn't errors be silently handled?

 

I'll give you a few more Corona related ones (if it helps harden the SDK)...

java.lang.IllegalStateException: 
  at android.app.FragmentManagerImpl.checkStateLoss (FragmentManager.java:1438)
  at android.app.FragmentManagerImpl.popBackStackImmediate (FragmentManager.java:577)
  at android.app.Activity.onBackPressed (Activity.java:2895)
  at android.app.Activity.onKeyUp (Activity.java:2869)
  at com.ansca.corona.CoronaActivity.onKeyUp (CoronaActivity.java:3482)
  at android.view.KeyEvent.dispatch (KeyEvent.java:3361)
  at android.app.Activity.dispatchKeyEvent (Activity.java:3170)
  at com.ansca.corona.input.RaiseKeyEventTask$1.run (RaiseKeyEventTask.java:90)
  at android.os.Handler.handleCallback (Handler.java:751)
  at android.os.Handler.dispatchMessage (Handler.java:95)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6776)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1518)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)
  native: pc 00000000000a2f94  /data/app/com.spheregamestudios.designercity-1/lib/arm/libopenal.so
  native: pc 0000000000016874  /data/app/com.spheregamestudios.designercity-1/lib/arm/libopenal.so (alcCreateContext+436)
  native: pc 0000000000005ff7  /data/app/com.spheregamestudios.designercity-1/lib/arm/libalmixer.so (ALmixer_Init+214)
  native: pc 000000000011f6d4  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 00000000000fdf84  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 000000000000cc04  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000001ce18  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000000d050  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000000c35c  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000000d1c8  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 00000000000055a0  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so (lua_pcall+88)
  native: pc 0000000000006ff8  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000000cc04  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000001ce18  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000000d050  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000000c35c  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 000000000000d1c8  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so
  native: pc 00000000000055a0  /data/app/com.spheregamestudios.designercity-1/lib/arm/liblua.so (lua_pcall+88)
  native: pc 00000000000f58c0  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 00000000000d7a58  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 000000000012f418  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 00000000001313c8  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 000000000012f8d0  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 000000000013062c  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 000000000002b530  /data/app/com.spheregamestudios.designercity-1/lib/arm/libcorona.so
  native: pc 0000000000fd1a35  /data/app/com.spheregamestudios.designercity-1/oat/arm/base.odex
java.lang.IllegalArgumentException: 
  at com.google.android.gles_jni.EGLImpl.eglGetConfigAttrib (Native Method)
  at com.ansca.corona.graphics.opengl.GLSurfaceView$ComponentSizeChooser.findConfigAttrib (GLSurfaceView.java:996)
  at com.ansca.corona.graphics.opengl.GLSurfaceView$ComponentSizeChooser.chooseConfig (GLSurfaceView.java:957)
  at com.ansca.corona.graphics.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig (GLSurfaceView.java:887)
  at com.ansca.corona.graphics.opengl.GLSurfaceView$EglHelper.start (GLSurfaceView.java:1070)
  at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1508)
  at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1378)
java.lang.UnsatisfiedLinkError: 
  at java.lang.Runtime.loadLibrary (Runtime.java:367)
  at java.lang.System.loadLibrary (System.java:1076)
  at com.ansca.corona.JavaToNativeShim.<clinit> (JavaToNativeShim.java:115)
  at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler (CoronaEnvironment.java:391)
  at com.ansca.corona.CoronaEnvironment.<clinit> (CoronaEnvironment.java:50)
  at com.ansca.corona.CoronaActivity.onCreate (CoronaActivity.java:228)


[TOPIC: post.html]
#28

fungrip

[GLOBAL: userInfoPane.html]
fungrip
  • Enthusiast

  • 56 posts
  • Corona SDK

Built with 2017.3159
 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

_ZNK14A4xWorkarounds27Errata51SetVpClipCodeIgnoreE11EsxPrimType13EsxCmdBufTypeiP17GRAS_CL_CLIP_CNTL

native: pc 0000000000170d84  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZNK14A4xWorkarounds27Errata51SetVpClipCodeIgnoreE11EsxPrimType13EsxCmdBufTypeiP17GRAS_CL_CLIP_CNTL+3)
  native: pc 0000000000172705  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A4xContext9HwPreDrawEPK17EsxDrawDescriptor+36)
  native: pc 00000000000e42dd  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext19DrawArraysInstancedE11EsxPrimTypeijj+188)
  native: pc 00000000000ce93f  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext12GlDrawArraysEjii+62)
  native: pc 0000000000135050  /data/app/net.facv.playwater-1/lib/arm/libcorona.so
  native: pc 000000000013c6f8  /data/app/net.facv.playwater-1/lib/arm/libcorona.so
  native: pc 00000000000a33e4  /data/app/net.facv.playwater-1/lib/arm/libcorona.so
  native: pc 000000000012f904  /data/app/net.facv.playwater-1/lib/arm/libcorona.so
  native: pc 000000000007ba60  /data/app/net.facv.playwater-1/lib/arm/libcorona.so
  native: pc 000000000080b0a5  /data/app/net.facv.playwater-1/oat/arm/base.odex

signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)

_ZN10A4xContext17WriteVfdStateRegsEPjP10A4xVfdRegsjj

  native: pc 000000000017c882  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A4xContext17WriteVfdStateRegsEPjP10A4xVfdRegsjj+33)
  native: pc 000000000017c9c7  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A4xContext18WriteVfdStateGroupE13EsxCmdBufType+70)
  native: pc 000000000017ff5b  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A4xContext13ValidateStateEPK17EsxDrawDescriptor+2170)
  native: pc 00000000001800e5  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10A4xContext18HwValidateGfxStateEPK17EsxDrawDescriptor+4)
  native: pc 00000000000ef2cd  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext16ValidateGfxStateEPK17EsxDrawDescriptor+460)
  native: pc 00000000000e4289  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext19DrawArraysInstancedE11EsxPrimTypeijj+104)
  native: pc 00000000000ce93f  /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext12GlDrawArraysEjii+62)
  native: pc 0000000000135050  /data/app/net.facv.playwater-2/lib/arm/libcorona.so
  native: pc 000000000013c6f8  /data/app/net.facv.playwater-2/lib/arm/libcorona.so
  native: pc 00000000000a33e4  /data/app/net.facv.playwater-2/lib/arm/libcorona.so
  native: pc 000000000012f904  /data/app/net.facv.playwater-2/lib/arm/libcorona.so
  native: pc 000000000007ba60  /data/app/net.facv.playwater-2/lib/arm/libcorona.so
  native: pc 000000000080b0a5  /data/app/net.facv.playwater-2/oat/arm/base.odex

Both crashes occured on Android 6.0



[TOPIC: post.html]
#29

mijeo.studios

[GLOBAL: userInfoPane.html]
mijeo.studios
  • Observer

  • 9 posts
  • Corona SDK

 
I seen this one below on several types of devices, but have never seen it in testing.  I'm rather new to app publishing with no idea what to expect from a Corona built app.  Google's play console lists my apps as 99.4% of daily session being crash free.  Any thoughts on this number?   I currently have no plugins and cannot imagine how such a crash is occurring.  Corona itself likely has some bugs.  Is there a list somewhere to compare these tracebacks against?  What crash rate will google likely see as being problematic?
 
ZTE Majesty Pro LTE (stark), 1024MB RAM, Android 6.0  (occurs with a variety of devices/android versions)
 
java.lang.IllegalStateException:
at android.app.FragmentManagerImpl.checkStateLoss (FragmentManager.java:1411)
at android.app.FragmentManagerImpl.popBackStackImmediate (FragmentManager.java:576)
at android.app.Activity.onBackPressed (Activity.java:2514)
at android.app.Activity.onKeyUp (Activity.java:2488)
at com.ansca.corona.CoronaActivity.onKeyUp (CoronaActivity.java:3516)
at android.view.KeyEvent.dispatch (KeyEvent.java:2665)
at android.app.Activity.dispatchKeyEvent (Activity.java:2741)
at com.ansca.corona.input.RaiseKeyEventTask$1.run (RaiseKeyEventTask.java:90)
at android.os.Handler.handleCallback (Handler.java:743)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:171)
at android.app.ActivityThread.main (ActivityThread.java:5417)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:616)

 



[TOPIC: post.html]
#30

phpedinei

[GLOBAL: userInfoPane.html]
phpedinei
  • Enthusiast

  • 68 posts
  • Corona SDK

I'm getting the following google play report messages:
 

Samsung Galaxy A5(2017) (a5y17lte), 3072MB RAM, Android 7.0
Relatório 1
android.app.RemoteServiceException:
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1813)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6776)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1518)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)
 
 

 

Relatório 1 de 1
android.app.RemoteServiceException:
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1410)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:136)
at android.app.ActivityThread.main (ActivityThread.java:5426)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1084)
at dalvik.system.NativeStart.main (Native Method)
 
 
Can anyone tell me what it's all about?

 



[TOPIC: post.html]
#31

perflubron

[GLOBAL: userInfoPane.html]
perflubron
  • Contributor

  • 134 posts
  • Corona SDK

Note to everyone: You can download old APKs from the releases page on Google Dev Console, run on device and view output with adb logcat



[TOPIC: post.html]
#32

Yoger Games

[GLOBAL: userInfoPane.html]
Yoger Games
  • Contributor

  • 109 posts
  • Corona SDK

@vlads, will you keep us up to date with any findings you make or not make? 



[TOPIC: post.html]
#33

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 709 posts
  • Corona Staff

Of course. But so far it was rather frustrating (exploring crash tracebacks ofter is).

But, here's some good news: next daily build would contain some experimental fixes for bitmap related crashes. I would appreciate if someone to test those fixes. Build number should be 3169.



[TOPIC: post.html]
#34

fungrip

[GLOBAL: userInfoPane.html]
fungrip
  • Enthusiast

  • 56 posts
  • Corona SDK

Much appreciated @vlads. 



[TOPIC: post.html]
#35

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 709 posts
  • Corona Staff

Hey, fungrip and davebollinger!

You both posted tracebacks with bitmap stuff in them. I introduced some experimental changes (nothing dangerous) in 2017.3169 which may fix them. Is there a chance you could try them? I still could not reproduce any of the issues.



[TOPIC: post.html]
#36

davebollinger

[GLOBAL: userInfoPane.html]
davebollinger
  • Corona Geek

  • 1,337 posts
  • Enterprise

Hey, fungrip and davebollinger!

You both posted tracebacks with bitmap stuff in them. I introduced some experimental changes (nothing dangerous) in 2017.3169 which may fix them. Is there a chance you could try them? I still could not reproduce any of the issues.

 

It may take a couple days, but yes I'll test it, rebuild/update with 3169 (or whatever latest on that day).  But even then, it may take a while to get enough data to show anything (given that the TOTAL for all crashes is only ~1.5% and I'm in the same boat as you as far as not knowing what specifically would reproduce them)



[TOPIC: post.html]
#37

fungrip

[GLOBAL: userInfoPane.html]
fungrip
  • Enthusiast

  • 56 posts
  • Corona SDK

@vlads will do, and we are in the same boat as you and dave in that we are unable to reproduce it so far.



[TOPIC: post.html]
#38

davebollinger

[GLOBAL: userInfoPane.html]
davebollinger
  • Corona Geek

  • 1,337 posts
  • Enterprise

not to muddy the waters, but with regard to ANR's not crashes, the following one is my prime offender (having 181 reports, next biggest having only 17 reports, then just various onesy-twosy reports below that), I mention it in this context primarily because libopenal/libalmixer are again present near the top: 

 

EDIT:  build 2017.3155

executing service com.dev.app/shared.google.play.services.base.PackageStateChangedService
(no location available)

"main" prio=5 tid=1 Native
  | group="main" sCount=1 dsCount=0 obj=0x75f11718 self=0xe7305400
  | sysTid=20465 nice=-4 cgrp=default sched=0/0 handle=0xea93e534
  | state=S schedstat=( 0 0 0 ) utm=387 stm=160 core=4 HZ=100
  | stack=0xff662000-0xff664000 stackSize=8MB
  | held mutexes=
  native: pc 0000000000017520  /system/lib/libc.so (syscall+28)
  native: pc 00000000000477bf  /system/lib/libc.so (pthread_join+146)
  native: pc 0000000000015b58  /data/app/com.dev.app-2/lib/arm/libopenal.so (alcDestroyContext+516)
  native: pc 0000000000008ed7  /data/app/com.dev.app-2/lib/arm/libalmixer.so (ALmixer_Quit+230)
  native: pc 000000000011d48c  /data/app/com.dev.app-2/lib/arm/libcorona.so (???)
  native: pc 000000000011f8c0  /data/app/com.dev.app-2/lib/arm/libcorona.so (???)
  native: pc 000000000012f9b4  /data/app/com.dev.app-2/lib/arm/libcorona.so (???)
  native: pc 000000000002b6fc  /data/app/com.dev.app-2/lib/arm/libcorona.so (???)
  native: pc 000000000002e9f8  /data/app/com.dev.app-2/lib/arm/libcorona.so (Java_com_ansca_corona_JavaToNativeShim_nativeDone+28)
  native: pc 00000000000317a5  /data/app/com.dev.app-2/oat/arm/base.odex (Java_com_ansca_corona_JavaToNativeShim_nativeDone__J+80)
  at com.ansca.corona.JavaToNativeShim.nativeDone (Native method)
  at com.ansca.corona.JavaToNativeShim.destroy (JavaToNativeShim.java:277)
  at com.ansca.corona.Controller.destroy (Controller.java:286)
- locked <0x0f6a25ca> (a com.ansca.corona.Controller)
  at com.ansca.corona.CoronaRuntime.dispose (CoronaRuntime.java:88)
  at com.ansca.corona.CoronaActivity.onDestroy (CoronaActivity.java:1698)
  at android.app.Activity.performDestroy (Activity.java:7195)
  at android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1161)
  at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:4573)
  at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:4609)
  at android.app.ActivityThread.-wrap7 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1692)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:154)
  at android.app.ActivityThread.main (ActivityThread.java:6682)
  at java.lang.reflect.Method.invoke! (Native method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)


[TOPIC: post.html]
#39

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,105 posts
  • Corona SDK

I introduced some experimental changes (nothing dangerous) in 2017.3169 which may fix them. 

 

Sounds "dangerous" to me!



[TOPIC: post.html]
#40

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 709 posts
  • Corona Staff

@SGS

Well. It isn't.

 

@davebollinger

Build number, please. (it is better if you edit your post and add build number to it)



[TOPIC: post.html]
#41

bjoern

[GLOBAL: userInfoPane.html]
bjoern
  • Enthusiast

  • 76 posts
  • Corona SDK

* This one affects almost all of my apps. Seems to be restricted to android versions from 7.0 and newer. Corona version somewhere between 2017.3114 - 2017.3157

signal 5 (SIGTRAP), code 1 (TRAP_BRKPT)
backtrace:
native: pc 00000000004cd104 /data/app/com.android.chrome-1/base.apk

 

Any news on this one?

I am seeing this also a lot on version 7 and above.

 

Best regards,

Bjoern



[TOPIC: post.html]
#42

davebollinger

[GLOBAL: userInfoPane.html]
davebollinger
  • Corona Geek

  • 1,337 posts
  • Enterprise

After a week (not really enough time, but..) on the 3169 build I've not yet seen the zn7*bitmap crash.  Not conclusive, just reporting.  FWIW, the things that have shown up so far are:

Build 2017.2169, #1 crash after a week:

java.lang.UnsatisfiedLinkError: 
  at java.lang.Runtime.loadLibrary (Runtime.java:367)
  at java.lang.System.loadLibrary (System.java:1076)
  at com.ansca.corona.JavaToNativeShim.<clinit> (JavaToNativeShim.java:115)
  at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler (CoronaEnvironment.java:391)
  at com.ansca.corona.CoronaEnvironment.<clinit> (CoronaEnvironment.java:50)
  at com.ansca.corona.CoronaActivity.onCreate (CoronaActivity.java:230)
  at android.app.Activity.performCreate (Activity.java:6309)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1113)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2519)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2654)
  at android.app.ActivityThread.-wrap11 (ActivityThread.java)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1488)
  at android.os.Handler.dispatchMessage (Handler.java:111)
  at android.os.Looper.loop (Looper.java:207)
  at android.app.ActivityThread.main (ActivityThread.java:5728)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:789)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:679)
Build 2017.2169, #1 ANR after a week:

Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} (has extras) }
(no location available)

"main" tid=1 Native 
"main" prio=5 tid=1 Native
  | group="main" sCount=1 dsCount=0 obj=0x76f18530 self=0xf4bf6500
  | sysTid=9830 nice=-4 cgrp=default sched=0/0 handle=0xf72efd54
  | state=S schedstat=( 0 0 0 ) utm=136 stm=88 core=2 HZ=100
  | stack=0xff079000-0xff07b000 stackSize=8MB
  | held mutexes=
  native: pc 0000000000017694  /system/lib/libc.so (syscall+28)
  native: pc 000000000004016d  /system/lib/libc.so (pthread_join+124)
  native: pc 0000000000015b58  /data/app/com.dev.app-1/lib/arm/libopenal.so (alcDestroyContext+516)
  native: pc 0000000000008ed7  /data/app/com.dev.app-1/lib/arm/libalmixer.so (ALmixer_Quit+230)
  native: pc 000000000011d53c  /data/app/com.dev.app-1/lib/arm/libcorona.so (???)
  native: pc 000000000011f970  /data/app/com.dev.app-1/lib/arm/libcorona.so (???)
  native: pc 000000000012fa64  /data/app/com.dev.app-1/lib/arm/libcorona.so (???)
  native: pc 000000000002b6fc  /data/app/com.dev.app-1/lib/arm/libcorona.so (???)
  native: pc 000000000002e9f8  /data/app/com.dev.app-1/lib/arm/libcorona.so (Java_com_ansca_corona_JavaToNativeShim_nativeDone+28)
  native: pc 00000000001e367d  /data/app/com.dev.app-1/oat/arm/base.odex (Java_com_ansca_corona_JavaToNativeShim_nativeDone__J+80)
  at com.ansca.corona.JavaToNativeShim.nativeDone (Native method)
  at com.ansca.corona.JavaToNativeShim.destroy (JavaToNativeShim.java:277)
  at com.ansca.corona.Controller.destroy (Controller.java:286)
- locked <0x04db8245> (a com.ansca.corona.Controller)
  at com.ansca.corona.CoronaRuntime.dispose (CoronaRuntime.java:88)
  at com.ansca.corona.CoronaActivity.onDestroy (CoronaActivity.java:1732)
  at android.app.Activity.performDestroy (Activity.java:7103)
  at android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1171)
  at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5045)
  at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:5090)
  at android.app.ActivityThread.access$1700 (ActivityThread.java:222)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1855)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:158)
  at android.app.ActivityThread.main (ActivityThread.java:7230)
  at java.lang.reflect.Method.invoke! (Native method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)

both occur on a variety of devices and os versions, no obvious patterns there.



[TOPIC: post.html]
#43

fungrip

[GLOBAL: userInfoPane.html]
fungrip
  • Enthusiast

  • 56 posts
  • Corona SDK

Reporting back on bitmap crash after a week+, it seems to be fix with 3169. Cheers @vlads.



[TOPIC: post.html]
#44

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 709 posts
  • Corona Staff

fungrip, thank you for kind words! I'm really glad to hear that it helped.

 

Another good news: it seems, we have tracked down and fixed, at least some probably most, of OpenAL related crashes in 3175.

 

Sphere Game Studios, davebollinger and Yoger Games. You all reported OpenAL related crashes as being on top of your lists. When making next release, please, use 3175 or later to see if your issues was fixed (or, at least decreased in relative numbers).

 

Cheers!



[TOPIC: post.html]
#45

davebollinger

[GLOBAL: userInfoPane.html]
davebollinger
  • Corona Geek

  • 1,337 posts
  • Enterprise

btw, kind words from me too re the bitmap crash (i wasn't sure my results were "conclusive enough" yet to get too excited)

 

but this:  "we have tracked down and fixed, at least some probably most, of OpenAL related crashes in 3175."

 

.. has me jumping for joy even before trying it!  Even just the possibility that it's finally resolved (it has haunted me long before google started penalizing for it) is a big deal.  I'll definitely incorporate and test with next build/release, thanks!



[TOPIC: post.html]
#46

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,105 posts
  • Corona SDK

Hey @vlad thanks for that.... I will be pushing a build for one of my games tonight so I'll feedback soon!



[TOPIC: post.html]
#47

fungrip

[GLOBAL: userInfoPane.html]
fungrip
  • Enthusiast

  • 56 posts
  • Corona SDK

It seems that the chrome crashes are caused by admob.

 

https://groups.google.com/forum/#!topic/google-admob-ads-sdk/I6giN0VbVa0

 

Thankfully, there is a crash log posted.



[TOPIC: post.html]
#48

luaykanaan

[GLOBAL: userInfoPane.html]
luaykanaan
  • Enthusiast

  • 50 posts
  • Corona SDK

@vlads, thanks for the openAL fix. Very much appreciated.

Unfortunately, I do have to report that your fix might have introduced a new issue. Using build 3175, I now get the following error messages in the console: 

17dTesting Error with clearing buffer from source: Invalid OperationWarning: audio error: Failed to clear buffer from source: Invalid Operation

and

Warning: audio error: Could not bind data to source: Invalid Operation

These errors/warnings are appearing in an intensive audio scene where a lot of fireworks are launching and exploding (so, a lot of launch sounds and explosion sounds). Now, if these errors/warnings are just warnings and caught exceptions and will NOT cause the app to crash on a device, then I am OK with that. (If one in 7 fireworks don't go boom, I can live with that). However, if these issues will generally crash the app on the device, then it becomes a serious problem for me. Any insights on this issue?

 

Thanks

Luay

 

 

EDIT: I just re-tested the app with build 3169, and, to my horror, these errors appeared. So, it seems these errors have nothing to do with your fix. Are they the initial reason for all these crash reports in openAL? I have no idea.



[TOPIC: post.html]
#49

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 709 posts
  • Corona Staff

Thank you for the report, I don't think they're are connected, but it is worth looking into. Thank you. It would be nice if you could provide a sample app where you are getting this errors, and submit a bug with them.



[TOPIC: post.html]
#50

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,105 posts
  • Corona SDK

OK some some crashes have reduced which is great.  Here is a long stack trace (from today using 3175) which might help @vlad?

#00  pc 00000000000a2f94  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libopenal.so
  #01  pc 0000000000016874  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libopenal.so (alcCreateContext+436)
  #02  pc 0000000000005ff7  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libalmixer.so (ALmixer_Init+214)
  #03  pc 000000000011f7fc  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #04  pc 00000000000fe0ac  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #05  pc 000000000000cc04  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #06  pc 000000000001ce18  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #07  pc 000000000000d050  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #08  pc 000000000000c35c  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #09  pc 000000000000d1c8  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #10  pc 00000000000055a0  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so (lua_pcall+88)
  #11  pc 0000000000006ff8  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #12  pc 000000000000cc04  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #13  pc 000000000001ce18  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #14  pc 000000000000d050  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #15  pc 000000000000c35c  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #16  pc 000000000000d1c8  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so
  #17  pc 00000000000055a0  /data/app/com.spheregamestudios.spacecity-1/lib/arm/liblua.so (lua_pcall+88)
  #18  pc 00000000000f59e8  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #19  pc 00000000000d7b80  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #20  pc 000000000012f540  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #21  pc 00000000001314f0  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #22  pc 000000000012f9f8  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #23  pc 0000000000130754  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #24  pc 000000000002b530  /data/app/com.spheregamestudios.spacecity-1/lib/arm/libcorona.so
  #25  pc 000000000094d24d  /data/app/com.spheregamestudios.spacecity-1/oat/arm/base.odex




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