Skip to content

[Bug] VC 80209 (of the APK) crashed, with a ForegroundServiceDidNotStartInTimeException, in the background. #7244

Description

@beedell-roke

Describe the bug

2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: FATAL EXCEPTION: main
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: Process: edu.berkeley.boinc:remote, PID: 9254
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{e4aa3c6 u0 edu.berkeley.boinc/.client.Monitor c:edu.berkeley.boinc}
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2272)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2240)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(ActivityThread.java:0)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2558)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:107)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:232)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at android.os.Looper.loop(Looper.java:317)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8751)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
2026-08-24 17:40:14.041 10329 9254 9254 edu.berkeley.boinc AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:892)

Steps to reproduce

No response

Expected behavior

No response

Screenshots

No response

System information

  • Hardware

    1. Details

      #!/usr/bin/env -S pwsh -File
      $Object = [Ordered]@{}
      @(
      	'ro.product.brand'
      	'ro.build.product'
      ) | ForEach-Object {
      	$Value = (adb shell "getprop $_").Trim()
      	If ($Value) {
      		$Int64 = 0L
      		$Object[$_] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object |
      	ConvertTo-Json -Compress |
      	yq -P

    2. ro.product.brand: Fairphone
      ro.build.product: FP5
  • OS

    1. Details

      #!/usr/bin/env -S pwsh -File
      $Object = [Ordered]@{}
      @(
      	'ro.build.display.id'
      	'ro.build.fingerprint'
      	'ro.build.version.sdk'
      	'ro.build.version.sdk_full'
      ) | ForEach-Object {
      	$Value = (adb shell "getprop $_").Trim()
      	If ($Value) {
      		$Int64 = 0L
      		$Object[$_] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object |
      	ConvertTo-Json -Compress |
      	yq -P

    2. ro.build.display.id: FP5.VT31.C.114.20260804
      ro.build.fingerprint: Fairphone/FP5/FP5:15/AQ3A.240912.001/VT31:user/release-keys
      ro.build.version.sdk: 35
  • BOINC

    1. Details

      #!/usr/bin/env -S pwsh -File
      $Package = 'edu.berkeley.boinc'
      $DumpSys = adb shell "dumpsys package $Package"
      $Object = [Ordered]@{}
      @{
      	versionCode = 'versionCode=(\d+)'
      	versionName = 'versionName=([^\s]+)'
      }.GetEnumerator() | ForEach-Object {
      	$Match = [RegEx]::Match(
      		$DumpSys,
      		$_.Value,
      		[System.Text.RegularExpressions.RegexOptions]::Multiline
      	)
      	If ($Match.Success) {
      		$Value = $Match.Groups[1].Value
      		$Int64 = 0L
      		$Object[$_.Key] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object.installer = (
      	adb shell 'pm list packages -i' |
      		Select-String "^package:$([RegEx]::Escape($Package)) " |
      		ForEach-Object {
      			$_ -replace '^.*installer='
      		}
      )
      $Object |
      	ConvertTo-JSON -Compress |
      	yq -P

    2. versionCode: 80209
      versionName: 8.2.9
      installer: com.looker.droidify

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions