Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash #1766

Open
secretmango opened this issue Feb 24, 2025 · 1 comment
Open

Crash #1766

secretmango opened this issue Feb 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@secretmango
Copy link

Jerboa Version

0.0.77

Android Version + Phone

Android 15, GrapheneOS

Describe The Bug

Crash

To Reproduce

Open the app, no idea what else

In the case of a crash or when relevant include the logs

type: crash
osVersion: google/bluejay/bluejay:15/AP4A.250205.002/2025021100:user/release-keys
flags: dev options enabled
package: com.jerboa:77, targetSdk 34
process: com.jerboa
processUptime: 7488 + 77 ms
installer: dev.imranr.obtainium

coil.network.HttpException: Exception in completion handler InvokeOnCompletion@30083ee[job@77ee08f] for StandaloneCoroutine{Completed}@77ee08f
	at kotlinx.coroutines.JobSupport.completeStateFinalization(Unknown Source:137)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState(Unknown Source:155)
	at kotlinx.coroutines.JobSupport$ChildCompletion.invoke(Unknown Source:41)
	at kotlinx.coroutines.JobSupport.completeStateFinalization(Unknown Source:44)
	at kotlinx.coroutines.JobSupport.tryMakeCompleting(Unknown Source:53)
	at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(Unknown Source:4)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(Unknown Source:13)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:31)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:112)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:140)
	at kotlin.io.ByteStreamsKt.runBlocking(Unknown Source:104)
	at androidx.appcompat.view.menu.CascadingMenuPopup$3$1.run(Unknown Source:33)
	at androidx.room.TransactionExecutor$$ExternalSyntheticLambda0.run(Unknown Source:110)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1117)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Completed}@77ee08f, Dispatchers.Main.immediate]
Caused by: java.lang.IllegalStateException: Method setCurrentState must be called on the main thread
	at androidx.lifecycle.LifecycleRegistry.enforceMainThreadIfNeeded(Unknown Source:42)
	at androidx.lifecycle.LifecycleRegistry.setCurrentState(Unknown Source:7)
	at androidx.navigation.NavBackStackEntry.updateState(Unknown Source:48)
	at androidx.navigation.NavBackStackEntry.setMaxLifecycle(Unknown Source:7)
	at androidx.navigation.NavController.popEntryFromBackStack(Unknown Source:107)
	at androidx.navigation.NavController$executePopOperations$1.invoke(Unknown Source:22)
	at androidx.navigation.NavController$NavControllerNavigatorState.pop(Unknown Source:38)
	at androidx.navigation.NavController$NavControllerNavigatorState.popWithTransition(Unknown Source:189)
	at androidx.navigation.compose.ComposeNavigator.popBackStack(Unknown Source:4)
	at androidx.navigation.NavController.executePopOperations(Unknown Source:61)
	at androidx.navigation.NavController.popBackStackInternal(Unknown Source:95)
	at androidx.navigation.NavController.navigate(SourceFile:47)
	at androidx.navigation.NavController.navigate$default(Unknown Source:84)
	at androidx.navigation.NavController.navigate(SourceFile:139)
	at com.jerboa.UtilsKt$$ExternalSyntheticLambda7.invoke(Unknown Source:81)
	at com.jerboa.ui.components.home.BottomNavScreenKt$$ExternalSyntheticLambda3.invoke(Unknown Source:176)
	at com.jerboa.ui.components.drawer.MainDrawerKt$$ExternalSyntheticLambda9.invoke(Unknown Source:28)
	at kotlinx.coroutines.InternalCompletionHandler$UserSupplied.invoke(Unknown Source:2)
	at kotlinx.coroutines.InvokeOnCompletion.invoke(Unknown Source:55)
	at kotlinx.coroutines.JobSupport.completeStateFinalization(Unknown Source:106)
	... 15 more
@secretmango secretmango added the bug Something isn't working label Feb 24, 2025
@MV-GH
Copy link
Collaborator

MV-GH commented Feb 24, 2025

Hello, this is the same cause as #1757

Can you reproduce it with the patched build in there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants