Android Question Getting a weird Fatal error messsage and the app crashes

Steve Miller

Active Member
Licensed User
Longtime User
I've been getting the following errors showing up in my log file when I restart my app. It doesn't happen all the time, but is often enough to be of concern.

The app starts and then crashes with this:

** Service (kioskservice) Start **
** Activity (main) Create, isFirst = false **
** Activity (main) Resume **
Fatal signal 11 (SIGSEGV) at 0x9803add4 (code=2), thread 2109 (.CustomerTablet)
 

stevel05

Expert
Licensed User
Longtime User
I think that's normally some sort of memory issue, do you get any other errors if you run it in debug mode?
 
Last edited:
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Hmm strange, sorry I can't help anymore that that, I've never tried using the obfuscated mode.
 
Upvote 0

Steve Miller

Active Member
Licensed User
Longtime User
It is most probably not related to the obfuscation.

Are you showing any modal dialog in Activity_KeyPress (or calling DoEvents)?

I don't have the Activity_KeyPress event in my app.

I do have the DoEvents in the Activity_Pause.
 
Upvote 0

Steve Miller

Active Member
Licensed User
Longtime User
Still happening. I've tried in Release (obfuscated) mode, and Debug (rapid). I've loaded, gone through the different tabs, pressed the app close (reversing direction arrow at the bottom of the screen) and it happened again.

No clue what the error messages in the beginning of the logs are. Those just came up today, and I haven't changed anything since my last post.

B4X:
LogCat connected to: 192.168.56.102:5555
--------- beginning of /dev/log/system


--------- beginning of /dev/log/main
Error during upgrade attempt. Disabling receiver.
java.lang.IllegalStateException: Cannot broadcast before boot completed
    at android.os.Parcel.readException(Parcel.java:1439)
    at android.os.Parcel.readException(Parcel.java:1385)
    at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2224)
    at android.app.ContextImpl.sendBroadcast(ContextImpl.java:1060)
    at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:349)
    at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:349)
    at com.android.providers.contacts.ContactsDatabaseHelper.onCreate(ContactsDatabaseHelper.java:1350)
    at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:252)
    at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
    at com.android.providers.contacts.ContactsUpgradeReceiver.onReceive(ContactsUpgradeReceiver.java:84)
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:2424)
    at android.app.ActivityThread.access$1500(ActivityThread.java:141)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:5103)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:525)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    at dalvik.system.NativeStart.main(Native Method)
problem enabling bandwidth controls
com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '1 bandwidth enable' failed with '400 1 Bandwidth command failed'
    at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:382)
    at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java:318)
    at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:283)
    at com.android.server.NetworkManagementService.prepareNativeDaemon(NetworkManagementService.java:335)
    at com.android.server.NetworkManagementService.systemReady(NetworkManagementService.java:211)
    at com.android.server.ServerThread$3.run(SystemServer.java:887)
    at com.android.server.am.ActivityManagerService.systemReady(ActivityManagerService.java:8148)
    at com.android.server.am.ActivityManagerService$10$1.run(ActivityManagerService.java:8047)
    at android.os.Handler.handleCallback(Handler.java:730)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:137)
    at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1542)
** Activity (main) Create, isFirst = true **


Object context is paused. Ignoring CallSubDelayed: AddToActivity


Object context is paused. Ignoring CallSubDelayed: AddToActivity


Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
** Activity (main) Resume **


** Service (httputils2service) Create **


** Service (httputils2service) Start **


** Activity (main) Pause, UserClosed = true **


** Service (kioskservice) Create **


** Service (kioskservice) Start **


** Activity (main) Create, isFirst = false **


** Activity (main) Resume **


** Activity (main) Pause, UserClosed = true **


** Service (kioskservice) Start **


** Activity (main) Create, isFirst = false **


** Activity (main) Resume **


** Service (newinst2) Create **


-- AppUpdating.NewInst2: service created
** Service (newinst2) Start **
-- AppUpdating.NewInst2: processing service_start
intent: (Intent) Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:b4a.CustomerTablet flg=0x8000010 cmp=b4a.CustomerTablet/eu.dgconsulting.appupdating.newinst2$newinst2_BR (has extras) }
action: android.intent.action.PACKAGE_REPLACED
extra: Bundle[{android.intent.extra.REPLACING=true, android.intent.extra.UID=10050, android.intent.extra.user_handle=0}]
Data: package:b4a.CustomerTablet
package REPLACED intent received!
package: b4a.CustomerTablet
-- AppUpdating.NewInst2: processing MyAppReload


Copying updated assets files (24)


** Activity (main) Create, isFirst = true **


** Activity (main) Resume **


** Activity (main) Pause, UserClosed = false **


Object context is paused. Ignoring CallSubDelayed: AddToActivity


Object context is paused. Ignoring CallSubDelayed: AddToActivity


Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
Object context is paused. Ignoring CallSubDelayed: AddToActivity
** Activity (main) Resume **


** Service (kioskservice) Create **


** Service (kioskservice) Start **


** Activity (main) Pause, UserClosed = true **


** Service (kioskservice) Start **


** Activity (main) Create, isFirst = false **


** Activity (main) Resume **


Fatal signal 11 (SIGSEGV) at 0x97f2afb4 (code=2), thread 1480 (.CustomerTablet)
 
Upvote 0
Top