Android App Keeps Crashing

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
CElwell
Posts: 38
Joined: Thu Feb 04, 2016 6:29 pm

Android App Keeps Crashing

Post by CElwell » Sat Aug 13, 2016 7:52 pm

I am not sure why but there is a "native crash" if an older version than 6 tried to open my app. I have "Minimum Android Version" set to "Gingerbread - 2.3.3." Why would this be?

Here is a crash report from a S5 Active:

Code: Select all

Build fingerprint: 'samsung/klteattactive/klteattactive:5.0/LRX21T/G870AUCU2BOF3:user/release-keys'
Revision: '2'
ABI: 'arm'
pid: 21562, tid: 21562, name: sidy.rescueapet  >>> com.cassidy.rescueapet <<<
signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0x97010
    r0 00000000  r1 b6f6ec07  r2 00097011  r3 b6f7382c
    r4 00097010  r5 b6f6ec07  r6 af701504  r7 b6f6ed08
    r8 00000019  r9 b6f7382c  sl 00000001  fp 00c52000
    ip 00000007  sp bea141f0  lr b6f66a8f  pc 00097010  cpsr 80070010

backtrace:
    #00 pc 0008f010  /data/app/com.cassidy.rescueapet-2/lib/arm/librevandroid.so

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: Android App Keeps Crashing

Post by peter-b » Mon Aug 15, 2016 12:57 pm

Which version of LiveCode are you deploying with?
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

CElwell
Posts: 38
Joined: Thu Feb 04, 2016 6:29 pm

Re: Android App Keeps Crashing

Post by CElwell » Mon Aug 15, 2016 8:47 pm

My app was developed in May using LiveCod 8.0 dp 16.

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: Android App Keeps Crashing

Post by peter-b » Tue Aug 16, 2016 7:59 am

I strongly recommend re-deploying a new version of your app with LiveCode 8.0.2 (the current stable release of LiveCode 8.0). If I remember correctly, a fix for crashes on older versions of Android was introduced between 8.0.0 DP 16 and the final 8.0.0 release.

LiveCode 8.0.2 contains many other fixes, including lots of other crash fixes, and we have been very careful to make sure that it contains no new bugs relative to LiveCode 8.0.0. If you redeploy your app, you will probably find that your problem goes away.
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

MWCoastMedia
Posts: 32
Joined: Fri Jan 16, 2015 5:31 pm

Re: Android App Keeps Crashing

Post by MWCoastMedia » Mon Sep 19, 2016 7:05 pm

I got a similar error, but only under Android 7. I know the build was compiled with at least 8.0.2rc2.

Does any of the error log actually translate to something I'd understand or does it always look so similar?

Code: Select all

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/bullhead/bullhead:7.0/NRD90S/3142244:user/release-keys'
Revision: 'rev_1.0'
ABI: 'arm'
pid: 19367, tid: 19381, name: Thread-2 >>> com.midwestcoastmedia.indianaontap <<<
signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xbfdec00d
r0 987fefff r1 bfd70a58 r2 ffffffff r3 00000000
r4 bfdec001 r5 bfdec00d r6 e82ba0d3 r7 0000029a
r8 b937e24c r9 e82ba080 sl bfd70e10 fp e6e3f130
ip 00000000 sp e6e3f128 lr ce09dd94 pc ce128d38 cpsr a0070010

backtrace:
#00 pc 003bad38 /data/app/com.midwestcoastmedia.indianaontap-2/lib/arm/librevandroid.so

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: Android App Keeps Crashing

Post by peter-b » Mon Sep 26, 2016 11:49 am

Could you please file a bug report so that I can make sure that this gets investigate? Thanks :)
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

Post Reply

Return to “Android Deployment”