Fennec regularily crashing

I think this problem is happening since the update to Android 13: Fennec browser (a privacy-friendly Firefox variant) is regularly crashing while loading a website (for example, a DDG search result). I am not sure if this is a Fairphone issue or a Fennec issue. Does anyone else have this behaviour, especially with other browsers?

Am a maintainer of Fennec F-Droid.

Are you on the latest version 121.0.0?
Are you doing anything specific when it happens?
Are you using any extensions?
Does it happen on certain websites?
Did you make any changes via about:config?
Are you able to reproduce on official Firefox?
Can you provide logs?

You may also consider reporting this to the issue tracker: Issues · relan / fennecbuild · GitLab

2 Likes

Sorry for not anwering sooner

  • I am on the newest version
  • Addons: ClearURLs, Tampermonkey, uBlock Origin, Dark Reader, Search by Image, Web Archives
  • No changes to about:config… I think
  • It mainly happens when I open the browser from sleep and search on DuckDuckGo
  • Not tested with Firefox yet
  • Can I find logs without using ADB?

Quite often this is followed by a crash of the whole system UI.

Stock FPOS or some alternative ROM?

Stock Fairphone Android

I have a very similar setup without problems: FP4 with stock android, Fennec from F-Droid, but a slightly different set of addons (Web Archives, Decentraleyes, Firefox Relay, ClearURLs, uBlock Origin) and I don’t see fennec crashing at all.

Can I find logs without using ADB?

What’s against using adb?

@SkewedZeppelin thanks a lot for maintaining Fennec on F-Droid!

Only that I need to find the time to set-up adb on my laptop and connect.

Of course, as soon as I start debugging, I cannot reproduce the behaviour. The only that happened was that the app crashed when I pressed the home button.

logcat filtered for package name, warning and above
12-28 15:59:48.368  1652  7385 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$gpu in 28880ms for connection
12-28 16:03:44.889  1652  2542 W JobScheduler: Job didn't exist in JobStore: 57d0a49 #u0a328/103700 org.mozilla.fennec_fdroid/androidx.work.impl.background.systemjob.SystemJobService
12-28 16:06:41.595  1652  7387 W PackageConfigPersister: App-specific configuration not found for packageName: org.mozilla.fennec_fdroid and userId: 0
12-28 16:06:45.246  1652  1759 W PackageConfigPersister: App-specific configuration not found for packageName: org.mozilla.fennec_fdroid and userId: 0
12-28 16:08:23.173  1652  7381 W JobScheduler: Job didn't exist in JobStore: aebdc9b #u0a328/103705 org.mozilla.fennec_fdroid/androidx.work.impl.background.systemjob.SystemJobService
12-28 16:08:25.379  1652  4024 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab39 in 1000ms for connection
12-28 16:08:25.391  1652  1759 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$gpu in 10987ms for connection
12-28 16:08:25.456  1652  7387 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab28 in 20922ms for connection
12-28 16:08:25.484  1652  7387 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab17 in 30895ms for connection
12-28 16:08:25.540  1652  7387 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.fenix.customtabs.CustomTabsService in 1000ms for connection
12-28 16:08:25.540  1652  7387 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/androidx.work.impl.background.systemjob.SystemJobService in 10999ms for connection
12-28 16:08:27.172  1652  2801 W JobScheduler: Job didn't exist in JobStore: 1d75ab7 #u0a328/103708 org.mozilla.fennec_fdroid/androidx.work.impl.background.systemjob.SystemJobService
12-28 16:08:27.189  1652  4062 W ActivityManager: Receiver with filter android.content.IntentFilter@674f43 already registered for pid 26510, callerPackage is org.mozilla.fennec_fdroid
12-28 16:09:04.479  1652  4024 W InputManager-JNI: Input channel object 'a94e8ff org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (client)' was disposed without first being removed with the input manager!
12-28 16:10:03.195  1652  7388 W InputManager-JNI: Input channel object '9319e9 org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (client)' was disposed without first being removed with the input manager!
12-28 16:10:46.491  1652  7181 W InputManager-JNI: Input channel object 'd3e2e31 org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (client)' was disposed without first being removed with the input manager!
12-28 16:10:54.334  1652  4062 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$utility in 29100ms for connection
12-28 16:10:54.471  1652  2841 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$gpu in 68964ms for connection
12-28 16:10:54.490  1652  2841 W ActivityManager: Scheduling restart of crashed service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab19 in 68944ms for connection
12-28 16:10:55.265  1652  5105 W ActivityManager: Failure sending service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$gpu to connection android.os.BinderProxy@f6d0da5 (in org.mozilla.fennec_fdroid)
12-28 16:10:55.266  1652  5105 W ActivityManager: Failure sending service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$gpu to connection android.os.BinderProxy@e35f12b (in org.mozilla.fennec_fdroid)
12-28 16:10:55.266  1652  5105 W ActivityManager: Failure sending service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$gpu to connection android.os.BinderProxy@8cc906e (in org.mozilla.fennec_fdroid)
12-28 16:10:55.309  1652  4062 W InputManager-JNI: Input channel object 'cbe0151 org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (client)' was disposed without first being removed with the input manager!
12-28 16:10:55.315  1652  4024 W ActivityManager: Exception when unbinding service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab15
12-28 16:10:55.341  1652  1922 W UsageStatsService: Unexpected activity event reported! (org.mozilla.fennec_fdroid/org.mozilla.fenix.HomeActivity event : 23 instanceId : 195986089)
12-28 16:10:58.183  4077 10490 W SQLiteLog: (28) double-quoted string literal: "org.mozilla.fennec_fdroid"
12-28 16:10:58.565 29483 29483 W org.mozilla.fennec_fdroid: type=1400 audit(0.0:18462): avc: denied { bind } for comm=4E65746C696E6B204D6F6E69746F72 scontext=u:r:untrusted_app:s0:c72,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c72,c257,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=org.mozilla.fennec_fdroid
12-28 16:10:58.865  1652  1758 W JobScheduler: Job didn't exist in JobStore: 17fb6ac #u0a328/103711 org.mozilla.fennec_fdroid/androidx.work.impl.background.systemjob.SystemJobService

Edit: Now I got it to crash. I searched something, cllicked a search result, and tried to put a new text in the search/url bar.

log
12-28 16:24:38.757  1652  2438 W InputDispatcher: Window 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (server) is unresponsive: 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (server) is not responding. Waited 5000ms for MotionEvent
12-28 16:24:38.758  1652  2438 W InputDispatcher: Canceling events for 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (server) because it is unresponsive
12-28 16:24:42.943  1652  2438 W InputDispatcher: Window 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App is not responsive
12-28 16:24:42.943  1652  2438 W InputDispatcher: Not sending touch gesture to 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App because it is not responsive
12-28 16:24:43.025  1652  2438 W InputDispatcher: Window 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App is not responsive
12-28 16:24:43.025  1652  2438 W InputDispatcher: Not sending touch gesture to 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App because it is not responsive
12-28 16:24:43.025  1652  2438 W InputDispatcher: Window 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App is not responsive
12-28 16:24:43.025  1652  2438 W InputDispatcher: Not sending touch gesture to 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App because it is not responsive
12-28 16:24:43.363  1652  2438 W InputDispatcher: Window 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App is not responsive
12-28 16:24:43.363  1652  2438 W InputDispatcher: Not sending touch gesture to 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App because it is not responsive
12-28 16:24:45.881  1652  2438 W InputDispatcher: Window 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App is not responsive
12-28 16:24:45.881  1652  2438 W InputDispatcher: Not sending touch gesture to 451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App because it is not responsive
12-28 16:24:47.963  1652  2853 W InputManager-JNI: Input channel object '451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (client)' was disposed without first being removed with the input manager!
12-28 16:25:00.999  1652  2438 W InputDispatcher: Window 2a8b7c3 org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (server) is unresponsive: 2a8b7c3 org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (server) is not responding. Waited 5020ms for MotionEvent
12-28 16:25:00.999  1652  2438 W InputDispatcher: Canceling events for 2a8b7c3 org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (server) because it is unresponsive
12-28 16:25:05.005  1652  7377 W InputManager-JNI: Input channel object '2a8b7c3 org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (client)' was disposed without first being removed with the input manager!
12-28 16:25:05.245  1652  1910 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{e4c5155 u0 org.mozilla.fennec_fdroid/.App} t74}
12-28 16:25:05.283  1652  1910 W ActivityTaskManager: Activity pause timeout for ActivityRecord{e4c5155 u0 org.mozilla.fennec_fdroid/.App} t74}
12-28 16:25:05.357  1652  1910 W WindowManager: Exception thrown during dispatchAppVisibility Window{2a8b7c3 u0 org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App EXITING}
12-28 16:25:05.438  1652  7379 W ActivityManager: Exception when unbinding service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab25
12-28 16:25:05.441  1652  7379 W ActivityManager: Exception when unbinding service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab39
12-28 16:25:05.448  1652  7379 W ActivityManager: Exception when unbinding service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$gpu
12-28 16:25:05.450  1652  7379 W ActivityManager: Exception when unbinding service org.mozilla.fennec_fdroid/org.mozilla.gecko.process.GeckoChildProcessServices$tab9
12-28 16:25:05.473  1652  7379 W ActivityTaskManager: Force removing ActivityRecord{e4c5155 u0 org.mozilla.fennec_fdroid/.App} t74}: app died, no saved state
12-28 16:25:11.054  1652  5600 E ActivityManager: ANR in org.mozilla.fennec_fdroid (org.mozilla.fennec_fdroid/.App)
12-28 16:25:11.054  1652  5600 E ActivityManager: Reason: Input dispatching timed out (451a2cb org.mozilla.fennec_fdroid/org.mozilla.fennec_fdroid.App (server) is not responding. Waited 5000ms for MotionEvent)
12-28 16:25:11.054  1652  5600 E ActivityManager: Parent: org.mozilla.fennec_fdroid/.App
12-28 16:25:11.054  1652  5600 E ActivityManager:   95% 3790/org.mozilla.fennec_fdroid: 70% user + 24% kernel / faults: 11705 minor 31 major
12-28 16:25:38.585  7852  7852 W org.mozilla.fennec_fdroid: type=1400 audit(0.0:18663): avc: denied { bind } for comm=4E65746C696E6B204D6F6E69746F72 scontext=u:r:untrusted_app:s0:c72,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c72,c257,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=org.mozilla.fennec_fdroid

Please try with all of these disabled except for uBlock Origin.

This is common when the device is low on RAM.

That is strange.

Ok, I will do that.

Is it possible to check which apps are using how much RAM?

Is it possible to check which apps are using how much RAM?

You can:

  • Settings > About > Tap Build number seven times > enter password
  • Settings > System > Developer options > Running services

Please note there is also a Memory screen there, but that one is only a rolling average.
Running services shows the true current usage.