https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
l

Lucas

08/09/2022, 3:45 PM
I'm recieving a fatal crash when launching app on windows 10 (only one user experiencing this) Any ideias how i could fix this? Doesnt seem to be related to my application
Copy code
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb74971ccf, pid=8168, tid=1060
#
# JRE version: OpenJDK Runtime Environment Corretto-17.0.4.8.1 (17.0.4+8) (build 17.0.4+8-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.4.8.1 (17.0.4+8-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  [skiko-windows-x64.dll+0x2f1ccf]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   <https://github.com/corretto/corretto-17/issues/>
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Djpackage.app-version=1.0.0 -Dcompose.application.resources.dir=C:\Users\Usuário\AppData\Local\Polis teste\app\resources -Dcompose.application.configure.swing.globals=true -Dskiko.library.path=C:\Users\Usuário\AppData\Local\Polis teste\app -Djpackage.app-path=C:\Users\Usuário\AppData\Local\Polis teste\Polis teste.exe com.sistemapolis.launcher.MainKt terminal

Host: Intel(R) Celeron(R) CPU G530 @ 2.40GHz, 2 cores, 1G,  Windows 10 , 64 bit Build 19041 (10.0.19041.1806)
Time: Tue Aug  9 12:40:38 2022 Hora oficial do Brasil elapsed time: 4.244238 seconds (0d 0h 0m 4s)

---------------  T H R E A D  ---------------

Current thread (0x0000021dc17beb00):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=1060, stack(0x000000c3d1800000,0x000000c3d1900000)]

Stack: [0x000000c3d1800000,0x000000c3d1900000],  sp=0x000000c3d18fb990,  free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [skiko-windows-x64.dll+0x2f1ccf]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.jetbrains.skia.DirectContextKt.DirectContext_nFlush(J)J+0
j  org.jetbrains.skia.DirectContextKt.access$DirectContext_nFlush(J)J+1
j  org.jetbrains.skia.DirectContext.flush()Lorg/jetbrains/skia/DirectContext;+10
j  org.jetbrains.skiko.context.ContextHandler.flush()V+12
j  org.jetbrains.skiko.context.ContextHandler.draw()V+87
j  org.jetbrains.skiko.redrawer.WindowsOpenGLRedrawer.redrawImmediately()V+119
j  org.jetbrains.skiko.SkiaLayer.paint(Ljava/awt/Graphics;)V+85
j  androidx.compose.ui.awt.ComposeLayer$ComponentImpl.paint(Ljava/awt/Graphics;)V+12
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+523 java.desktop@17.0.4
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+318 java.desktop@17.0.4
j  javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73 java.desktop@17.0.4
j  javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+523 java.desktop@17.0.4
j  javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+318 java.desktop@17.0.4
j  androidx.compose.ui.window.Dialog_desktopKt$Dialog$11$1.invoke(Landroidx/compose/ui/awt/ComposeDialog;)V+70
j  androidx.compose.ui.window.Dialog_desktopKt$Dialog$11$1.invoke(Ljava/lang/Object;)Ljava/lang/Object;+5
j  androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$3.invoke()V+13
j  androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$3.invoke()Ljava/lang/Object;+1
j  androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2$performUpdate$2.invoke()V+7
j  androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2$performUpdate$2.invoke()Ljava/lang/Object;+1
j  androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;+107
j  androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(Ljava/lang/Object;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V+129
j  androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke$performUpdate(Landroidx/compose/runtime/snapshots/SnapshotStateObserver;Lkotlinx/coroutines/channels/Channel;Landroidx/compose/runtime/State;)V+28
j  androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke(Landroidx/compose/runtime/DisposableEffectScope;)Landroidx/compose/runtime/DisposableEffectResult;+33
j  androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke(Ljava/lang/Object;)Ljava/lang/Object;+5
j  androidx.compose.runtime.DisposableEffectImpl.onRemembered()V+8
j  androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers()V+234
j  androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Ljava/util/List;)V+245
j  androidx.compose.runtime.CompositionImpl.applyChanges()V+20
j  androidx.compose.runtime.Recomposer.composeInitial$runtime(Landroidx/compose/runtime/ControlledComposition;Lkotlin/jvm/functions/Function2;)V+243
j  androidx.compose.runtime.CompositionImpl.setContent(Lkotlin/jvm/functions/Function2;)V+55
j  androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1$2.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;+89
j  kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V+44
j  kotlinx.coroutines.DispatchedTask.run()V+322
j  java.awt.event.InvocationEvent.dispatch()V+47 java.desktop@17.0.4
j  java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21 java.desktop@17.0.4
j  java.awt.EventQueue$4.run()Ljava/lang/Void;+32 java.desktop@17.0.4
j  java.awt.EventQueue$4.run()Ljava/lang/Object;+1 java.desktop@17.0.4
j  java.security.AccessController.executePrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object;+29 java.base@17.0.4
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+13 java.base@17.0.4
j  java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+18 java.base@17.0.4
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46 java.desktop@17.0.4
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+78 java.desktop@17.0.4
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop@17.0.4
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.desktop@17.0.4
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.desktop@17.0.4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.desktop@17.0.4
j  java.awt.EventDispatchThread.run()V+9 java.desktop@17.0.4
v  ~StubRoutines::call_stub
Not even jetbrains toolbox works on this computer
k

Kirill Grouchnikov

08/09/2022, 6:16 PM
File a bug on compose-jb or skiko with this full stack trace, and details on your machine (OS version, CPU / GPU configuration, etc)
l

Lucas

08/09/2022, 7:38 PM
It worked after updating windows via update. The app is extremely slow tho
Nvm, i think restarting the computer made the app work once. Same error when closed and re-opened the app. I'll try the bug report
16 Views