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

Horrible crash when running elide bug #509

Closed
sgammon opened this issue Dec 4, 2023 · 0 comments · Fixed by #792
Closed

Horrible crash when running elide bug #509

sgammon opened this issue Dec 4, 2023 · 0 comments · Fixed by #792
Assignees
Labels
bug Something isn't working module:cli CLI module issues and features

Comments

@sgammon
Copy link
Member

sgammon commented Dec 4, 2023

Expected Behavior

  1. Experience a bug in Elide
  2. Run elide bug to report it
  3. Bug is reported and fixed quickly and you continue with your life

Actual Behaviour

  1. Experience a bug in Elide
  2. Run elide bug to report it
  3. Horrible meaningless crash

Stacktrace

It's a native stacktrace related to JNI, ultimately showing:

Fatal error reported via JNI: Could not allocate library name
Expand to see sample error
Fatal error reported via JNI: Could not allocate library name

Printing instructions (ip=0x00005643e7824ac8):
0x00005643e78249c8: 0x7c 0x24 0x18 0xeb 0x9a 0x48 0x89 0x6c 0x24 0x38 0x48 0x89 0x4c 0x24 0x30 0x4c
0x00005643e78249d8: 0x89 0x6c 0x24 0x28 0x4c 0x89 0x64 0x24 0x20 0x48 0xc7 0xc0 0x00 0x00 0x00 0x00
0x00005643e78249e8: 0x4c 0x8b 0x74 0x24 0x30 0x4c 0x8b 0x7c 0x24 0x40 0x48 0x83 0xc4 0x48 0xc3 0x48
0x00005643e78249f8: 0x8b 0x6c 0x24 0x38 0x48 0x8b 0x54 0x24 0x40 0x48 0x8b 0x4c 0x24 0x30 0x4c 0x8b
0x00005643e7824a08: 0x6c 0x24 0x28 0x4c 0x8b 0x64 0x24 0x20 0x48 0x8b 0x5c 0x24 0x10 0x49 0x2b 0xc6
0x00005643e7824a18: 0x48 0xc1 0xe8 0x03 0x41 0x89 0x87 0xb8 0x01 0x00 0x00 0x41 0xc7 0x47 0x1c 0x03
0x00005643e7824a28: 0x00 0x00 0x00 0xf0 0x83 0x04 0x24 0x00 0x48 0xc7 0xc0 0x00 0x00 0x00 0x00 0x4c
0x00005643e7824a38: 0x8b 0xf1 0x4c 0x8b 0xfa 0x48 0x83 0xc4 0x48 0xc3 0xcc 0xcc 0xcc 0xcc 0xcc 0xcc
0x00005643e7824a48: 0xcc 0xcc 0xcc 0xcc 0xcc 0xcc 0xcc 0xcc 0x48 0x83 0xec 0x48 0x49 0x8b 0xce 0x49
0x00005643e7824a58: 0x8b 0xd7 0x48 0x89 0x54 0x24 0x40 0x48 0x89 0x7c 0x24 0x38 0x48 0x85 0xff 0x0f
0x00005643e7824a68: 0x84 0x8c 0x00 0x00 0x00 0x4c 0x8b 0xff 0x48 0x8b 0x87 0x60 0x01 0x00 0x00 0x4c
0x00005643e7824a78: 0x8b 0xf0 0x41 0x83 0xbf 0xe0 0x01 0x00 0x00 0x00 0x0f 0x85 0xbf 0x00 0x00 0x00
0x00005643e7824a88: 0xb8 0x03 0x00 0x00 0x00 0x41 0xb8 0x01 0x00 0x00 0x00 0xf0 0x45 0x0f 0xb1 0x47
0x00005643e7824a98: 0x1c 0x0f 0x85 0xa8 0x00 0x00 0x00 0x48 0x89 0x6c 0x24 0x30 0x48 0x89 0x4c 0x24
0x00005643e7824aa8: 0x28 0x4c 0x89 0x6c 0x24 0x20 0x4c 0x89 0x64 0x24 0x18 0x48 0x89 0x5c 0x24 0x10
0x00005643e7824ab8: 0x48 0x8b 0xc7 0x4c 0x8b 0xc6 0x4c 0x89 0x44 0x24 0x08 0xe8 0xf8 0xd7 0x08 0x00

0x00005643e7824ac8: 0x90 0x41 0xc7 0x47 0x1c 0x03 0x00 0x00 0x00 0xf0 0x83 0x04 0x24 0x00 0x48 0x8b
0x00005643e7824ad8: 0x5c 0x24 0x10 0x48 0x8b 0x6c 0x24 0x30 0x4c 0x8b 0x64 0x24 0x18 0x4c 0x8b 0x6c
0x00005643e7824ae8: 0x24 0x20 0x4c 0x8b 0x74 0x24 0x28 0x4c 0x8b 0x7c 0x24 0x40 0x48 0x83 0xc4 0x48
0x00005643e7824af8: 0xc3 0x48 0x89 0x6c 0x24 0x30 0x48 0x89 0x4c 0x24 0x28 0x4c 0x89 0x6c 0x24 0x20
0x00005643e7824b08: 0x4c 0x89 0x64 0x24 0x18 0x48 0x89 0x5c 0x24 0x10 0x48 0x89 0x74 0x24 0x08 0x48
0x00005643e7824b18: 0x8d 0x35 0xa2 0xab 0xe6 0x23 0xbf 0x02 0x00 0x00 0x00 0xe8 0x08 0xf0 0x02 0x00
0x00005643e7824b28: 0x90 0x48 0x8b 0x5c 0x24 0x10 0x48 0x8b 0x6c 0x24 0x30 0x4c 0x8b 0x64 0x24 0x18
0x00005643e7824b38: 0x4c 0x8b 0x6c 0x24 0x20 0x4c 0x8b 0x74 0x24 0x28 0x4c 0x8b 0x7c 0x24 0x40 0x48
0x00005643e7824b48: 0x89 0x6c 0x24 0x30 0x48 0x89 0x4c 0x24 0x28 0x4c 0x89 0x6c 0x24 0x20 0x4c 0x89
0x00005643e7824b58: 0x64 0x24 0x18 0x48 0x89 0x5c 0x24 0x10 0x48 0x89 0x74 0x24 0x08 0xbf 0x01 0x00
0x00005643e7824b68: 0x00 0x00 0xbe 0x00 0x00 0x00 0x00 0x90 0xe8 0xcb 0x55 0x12 0x00 0x90 0x48 0x8b
0x00005643e7824b78: 0x74 0x24 0x08 0x48 0x8b 0x7c 0x24 0x38 0xe9 0x33 0xff 0xff 0xff 0x48 0x8b 0x6c
0x00005643e7824b88: 0x24 0x30 0x48 0x8b 0x54 0x24 0x40 0x48 0x8b 0x4c 0x24 0x28 0x4c 0x8b 0x6c 0x24
0x00005643e7824b98: 0x20 0x4c 0x8b 0x64 0x24 0x18 0x48 0x8b 0x5c 0x24 0x10 0x49 0x2b 0xc6 0x48 0xc1
0x00005643e7824ba8: 0xe8 0x03 0x41 0x89 0x87 0xb8 0x01 0x00 0x00 0x41 0xc7 0x47 0x1c 0x03 0x00 0x00
0x00005643e7824bb8: 0x00 0xf0 0x83 0x04 0x24 0x00 0x4c 0x8b 0xf1 0x4c 0x8b 0xfa 0x48 0x83 0xc4 0x48

Top of stack (sp=0x00007fff26e99510):
0x00007fff26e994f0: 0x0000000000000000 0x00005643e7824ac8 0x00007fff26e99510 0x00005643e7824ac8

0x00007fff26e99510: 0x0000000000000000 0x00007fd42e7c28f8 0x0000000000000003 0x000056440cb48180
0x00007fff26e99530: 0x00007fff26e99580 0x00007fff26e9958e 0x00007fff26e9a5b0 0x000056440cb48180
0x00007fff26e99550: 0x000056440cb48180 0x00007fd42e7ba72e 0x000056440ce3ae00 0x00007fd42e722000
0x00007fff26e99570: 0x0000000000000000 0x0000000000000000 0x62696c2f7273752f 0x6c2f6564696c652f
0x00007fff26e99590: 0x65685f7477616269 0x732e7373656c6461 0x000000000000006f 0x0000000000000000
0x00007fff26e995b0: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e995d0: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e995f0: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e99610: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e99630: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e99650: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e99670: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e99690: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e996b0: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e996d0: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00007fff26e996f0: 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000

VM thread locals for the failing thread 0x000056440cb48180:
0 (8 bytes): JNIThreadLocalEnvironment.jniFunctions = (bytes)
0x000056440cb48180: 0x00007fd45018e7a8
8 (8 bytes): StackOverflowCheckImpl.stackBoundaryTL = (Word) 1 (0x0000000000000001)
16 (4 bytes): SubstrateFastThreadLocal.CONTEXT = (Object) null
20 (4 bytes): SubstrateThreadLocalHandshake.STATE = (Object) null
24 (4 bytes): Safepoint.safepointRequested = (int) 2145099092 (0x7fdb9d54)
28 (4 bytes): StatusSupport.statusTL = (int) 1 (0x00000001)
32 (4 bytes): SubstrateThreadLocalHandshake.PENDING = (int) 0 (0x00000000)
40 (8 bytes): JavaFrameAnchors.lastAnchor = (Word) 140733846234576 (0x00007fff26e9a5d0)
48 (8 bytes): PlatformThreads.currentVThreadId = (long) 1 (0x0000000000000001)
56 (4 bytes): PlatformThreads.currentThread = (Object) java.lang.Thread (0x00007fd4525135e0)
64 (272 bytes): G1Heap.g1JavaThread = (bytes)
0x000056440cb481c0: 0x000056440b68b460 0x0000000000000000
0x000056440cb481d0: 0x0000000000002000 0x0000000000000000
0x000056440cb481e0: 0x0000000000000000 0x00000000000001d8
0x000056440cb481f0: 0x0000000000000800 0x000056440ce3c240
0x000056440cb48200: 0x000056440cb4c980 0x00000000ffffffff
0x000056440cb48210: 0x0000000000000000 0x0000000000000000
0x000056440cb48220: 0x00007fd47d900800 0x00007fd47d966a70
0x000056440cb48230: 0x00007fd47d900820 0x00007fd47d980800
0x000056440cb48240: 0x00007fd47d980800 0x0000000000010000
0x000056440cb48250: 0x0000000000000400 0x0000000000000000
0x000056440cb48260: 0x0000000000000000 0x0000076500000013
0x000056440cb48270: 0x0000000000000000 0x00000000000df4fc
0x000056440cb48280: 0x000000023ee49249 0x0000000000000023
0x000056440cb48290: 0x000000003ee49249 0x000000000067ccd8
0x000056440cb482a0: 0x000056440ce382f0 0x000056440cb48cb0
0x000056440cb482b0: 0x0000000000000000 0x0000000000000000
0x000056440cb482c0: 0x0000000000000000 0x0000000000000000
336 (8 bytes): ErrnoMirror.errnoMirror = (bytes)
0x000056440cb482d0: 0x0000000000000000
344 (8 bytes): SubstrateDiagnostics.threadOnlyAttachedForCrashHandler = (bytes)
0x000056440cb482d8: 0x0000000000000000
352 (8 bytes): VMThreads.IsolateTL = (Word) 140549445124096 (0x00007fd437c00000)
360 (8 bytes): VMThreads.OSThreadHandleTL = (Word) 140554096764736 (0x00007fd54d026740)
368 (8 bytes): VMThreads.OSThreadIdTL = (Word) 3245 (0x0000000000000cad)
376 (8 bytes): VMThreads.StackBase = (Word) 140733846241280 (0x00007fff26e9c000)
384 (8 bytes): VMThreads.StackEnd = (Word) 140733844200320 (0x00007fff26ca9b80)
392 (8 bytes): VMThreads.StartedByCurrentIsolate = (bytes)
0x000056440cb48308: 0x0000000000000000
400 (8 bytes): VMThreads.nextTL = (Word) 0 (0x0000000000000000)
408 (8 bytes): VMThreads.unalignedIsolateThreadMemoryTL = (Word) 94850270921040 (0x000056440cb48150)
416 (4 bytes): AccessControlContextStack = (Object) java.util.ArrayDeque (0x00007fd47e200948)
420 (4 bytes): ExceptionUnwind.currentException = (Object) null
424 (4 bytes): IdentityHashCodeSupport.hashCodeGeneratorTL = (Object) java.util.SplittableRandom (0x00007fd47e206dc8)
428 (4 bytes): IsolatedCompileClient.currentClient = (Object) null
432 (4 bytes): IsolatedCompileContext.currentContext = (Object) null
436 (4 bytes): JNIObjectHandles.handles = (Object) com.oracle.svm.core.handles.ThreadLocalHandles (0x00007fd47e200178)
440 (4 bytes): JNIThreadLocalPendingException.pendingException = (Object) null
444 (4 bytes): JNIThreadLocalReferencedObjects.referencedObjectsListHead = (Object) null
448 (4 bytes): JNIThreadOwnedMonitors.ownedMonitors = (Object) null
452 (4 bytes): NativeClosure.pendingException = (Object) null
456 (4 bytes): NoAllocationVerifier.openVerifiers = (Object) null
460 (4 bytes): ThreadingSupportImpl.activeTimer = (Object) null
464 (4 bytes): TruffleNFISupport.currentScope = (Object) null
468 (4 bytes): podReferenceMap = (Object) null
472 (4 bytes): vmResult = (Object) null
476 (4 bytes): ActionOnExitSafepointSupport.actionTL = (int) 0 (0x00000000)
480 (4 bytes): ActionOnTransitionToJavaSupport.actionTL = (int) 0 (0x00000000)
484 (4 bytes): ImplicitExceptions.implicitExceptionsAreFatal = (int) 0 (0x00000000)
488 (4 bytes): StackOverflowCheckImpl.yellowZoneStateTL = (int) 2130640638 (0x7efefefe)
492 (4 bytes): StatusSupport.safepointBehaviorTL = (int) 1 (0x00000001)
496 (4 bytes): ThreadingSupportImpl.currentPauseDepth = (int) 0 (0x00000000)

Java frame anchors for the failing thread 0x000056440cb48180:
Anchor 0x00007fff26e9a5d0 LastJavaSP 0x00007fff26e9a5c0 LastJavaIP 0x00005643e78ae0b2

Stacktrace for the failing thread 0x000056440cb48180 (A=AOT compiled, J=JIT compiled, D=deoptimized, i=inlined):
A SP 0x00007fff26e99510 IP 0x00005643e7824ac8 size=80 [image code] com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FatalError_2d6e7de51007501356372d87ae0cc671dc9d1a91(IsolateEnterStub.java:0)
i SP 0x00007fff26e9a5c0 IP 0x00005643e78ae0b2 size=64 [image code] com.oracle.svm.core.jni.JNIOnLoadFunctionPointer.invoke(JNILibraryInitializer.java)
A SP 0x00007fff26e9a5c0 IP 0x00005643e78ae0b2 size=64 [image code] com.oracle.svm.core.jni.JNILibraryInitializer.callOnLoadFunction(JNILibraryInitializer.java:71)
A SP 0x00007fff26e9a600 IP 0x00005643e78ae380 size=32 [image code] com.oracle.svm.core.jni.JNILibraryInitializer.initialize(JNILibraryInitializer.java:132)
A SP 0x00007fff26e9a620 IP 0x00005643e7871cd0 size=80 [image code] com.oracle.svm.core.jdk.NativeLibrarySupport.addLibrary(NativeLibrarySupport.java:204)
A SP 0x00007fff26e9a670 IP 0x00005643e7872124 size=32 [image code] com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibrary0(NativeLibrarySupport.java:160)
A SP 0x00007fff26e9a690 IP 0x00005643e78723e7 size=64 [image code] com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibraryRelative(NativeLibrarySupport.java:123)
i SP 0x00007fff26e9a6d0 IP 0x00005643ec49de15 size=16 [image code] java.lang.ClassLoader.loadLibrary(ClassLoader.java:106)
i SP 0x00007fff26e9a6d0 IP 0x00005643ec49de15 size=16 [image code] java.lang.Runtime.loadLibrary0(Runtime.java:916)
i SP 0x00007fff26e9a6d0 IP 0x00005643ec49de15 size=16 [image code] java.lang.System.loadLibrary(System.java:2059)
i SP 0x00007fff26e9a6d0 IP 0x00005643ec49de15 size=16 [image code] java.awt.Toolkit$2.run(Toolkit.java:1384)
A SP 0x00007fff26e9a6d0 IP 0x00005643ec49de15 size=16 [image code] java.awt.Toolkit$2.run(Toolkit.java:1382)
A SP 0x00007fff26e9a6e0 IP 0x00005643ec733755 size=32 [image code] java.security.AccessController.executePrivileged(AccessController.java:129)
i SP 0x00007fff26e9a700 IP 0x00005643ec4a00f8 size=16 [image code] java.security.AccessController.doPrivileged(AccessController.java:319)
A SP 0x00007fff26e9a700 IP 0x00005643ec4a00f8 size=16 [image code] java.awt.Toolkit.loadLibraries(Toolkit.java:1381)
A SP 0x00007fff26e9a710 IP 0x00005643ec49fc96 size=16 [image code] java.awt.Toolkit.initStatic(Toolkit.java:1419)
A SP 0x00007fff26e9a720 IP 0x00005643ec49e13f size=16 [image code] java.awt.Toolkit.(Toolkit.java:1393)
A SP 0x00007fff26e9a730 IP 0x00005643e68139fd size=16 [image code] com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:407)
A SP 0x00007fff26e9a740 IP 0x00005643e68124d5 size=48 [image code] com.oracle.svm.core.classinitialization.ClassInitializationInfo.doInitialize(ClassInitializationInfo.java:323)
A SP 0x00007fff26e9a770 IP 0x00005643e6812ba5 size=1280 [image code] com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:272)
A SP 0x00007fff26e9ac70 IP 0x00005643ec48faa7 size=16 [image code] java.awt.Desktop.isDesktopSupported(Desktop.java:329)
A SP 0x00007fff26e9ac80 IP 0x00005643ebcee999 size=48 [image code] elide.tool.cli.cmd.help.HelpCommand$invoke$2$2.invokeSuspend(HelpCommand.kt:101)
A SP 0x00007fff26e9acb0 IP 0x00005643ebcee7ff size=32 [image code] elide.tool.cli.cmd.help.HelpCommand$invoke$2$2.invoke(HelpCommand.kt)
A SP 0x00007fff26e9acd0 IP 0x00005643ebcee721 size=16 [image code] elide.tool.cli.cmd.help.HelpCommand$invoke$2$2.invoke(HelpCommand.kt)
A SP 0x00007fff26e9ace0 IP 0x00005643ee809996 size=48 [image code] elide.tool.cli.CommandContext.output$suspendImpl(CommandContext.kt:131)
i SP 0x00007fff26e9ad10 IP 0x00005643ebceee44 size=64 [image code] elide.tool.cli.CommandContext.output(CommandContext.kt)
A SP 0x00007fff26e9ad10 IP 0x00005643ebceee44 size=64 [image code] elide.tool.cli.cmd.help.HelpCommand.invoke(HelpCommand.kt:95)
A SP 0x00007fff26e9ad50 IP 0x00005643ebcd2e76 size=32 [image code] elide.tool.cli.AbstractSubcommand$invoke$2$1.invokeSuspend(AbstractSubcommand.kt:533)
A SP 0x00007fff26e9ad70 IP 0x00005643ebcd2d09 size=32 [image code] elide.tool.cli.AbstractSubcommand$invoke$2$1.invoke(AbstractSubcommand.kt)
A SP 0x00007fff26e9ad90 IP 0x00005643ebcd2c31 size=16 [image code] elide.tool.cli.AbstractSubcommand$invoke$2$1.invoke(AbstractSubcommand.kt)
A SP 0x00007fff26e9ada0 IP 0x00005643ebcd547b size=80 [image code] elide.tool.cli.AbstractSubcommand.initializeToolResources(AbstractSubcommand.kt:442)
A SP 0x00007fff26e9adf0 IP 0x00005643ebcd5c83 size=64 [image code] elide.tool.cli.AbstractSubcommand.invoke-AZeniH0$suspendImpl(AbstractSubcommand.kt:531)
A SP 0x00007fff26e9ae30 IP 0x00005643ebcd5a57 size=16 [image code] elide.tool.cli.AbstractSubcommand.invoke-AZeniH0(AbstractSubcommand.kt)
A SP 0x00007fff26e9ae40 IP 0x00005643ebcd6ee2 size=32 [image code] elide.tool.cli.AbstractToolCommand$call$1.invokeSuspend(AbstractToolCommand.kt:155)
A SP 0x00007fff26e9ae60 IP 0x00005643ebcd6c45 size=32 [image code] elide.tool.cli.AbstractToolCommand$call$1.invoke-AZeniH0(AbstractToolCommand.kt)
A SP 0x00007fff26e9ae80 IP 0x00005643ebcd6af0 size=16 [image code] elide.tool.cli.AbstractToolCommand$call$1.invoke(AbstractToolCommand.kt)
A SP 0x00007fff26e9ae90 IP 0x00005643ebcd7468 size=80 [image code] elide.tool.cli.AbstractToolCommand$execute$6.invokeSuspend(AbstractToolCommand.kt:131)
A SP 0x00007fff26e9aee0 IP 0x00005643eccece5c size=64 [image code] kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
A SP 0x00007fff26e9af20 IP 0x00005643ecfca622 size=128 [image code] kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
A SP 0x00007fff26e9afa0 IP 0x00005643ecfcc765 size=48 [image code] kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
A SP 0x00007fff26e9afd0 IP 0x00005643ecfc3f15 size=48 [image code] kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
A SP 0x00007fff26e9b000 IP 0x00005643ecfc41f5 size=48 [image code] kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
i SP 0x00007fff26e9b030 IP 0x00005643ebcd7bcd size=96 [image code] kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
i SP 0x00007fff26e9b030 IP 0x00005643ebcd7bcd size=96 [image code] kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
i SP 0x00007fff26e9b030 IP 0x00005643ebcd7bcd size=96 [image code] kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
A SP 0x00007fff26e9b030 IP 0x00005643ebcd7bcd size=96 [image code] elide.tool.cli.AbstractToolCommand.execute(AbstractToolCommand.kt:130)
A SP 0x00007fff26e9b090 IP 0x00005643ebcd7865 size=48 [image code] elide.tool.cli.AbstractToolCommand.call(AbstractToolCommand.kt:154)
A SP 0x00007fff26e9b0c0 IP 0x00005643ebcd8167 size=16 [image code] elide.tool.cli.AbstractToolCommand.run(AbstractToolCommand.kt:165)
A SP 0x00007fff26e9b0d0 IP 0x00005643ee11676d size=144 [image code] picocli.CommandLine.executeUserObject(CommandLine.java:2026)
i SP 0x00007fff26e9b160 IP 0x00005643ee11119d size=96 [image code] picocli.CommandLine.access$1500(CommandLine.java:148)
A SP 0x00007fff26e9b160 IP 0x00005643ee11119d size=96 [image code] picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
A SP 0x00007fff26e9b1c0 IP 0x00005643ee11143e size=16 [image code] picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
i SP 0x00007fff26e9b1d0 IP 0x00005643ee06f54b size=112 [image code] picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
A SP 0x00007fff26e9b1d0 IP 0x00005643ee06f54b size=112 [image code] picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
i SP 0x00007fff26e9b240 IP 0x00005643ee11568a size=64 [image code] picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
A SP 0x00007fff26e9b240 IP 0x00005643ee11568a size=64 [image code] picocli.CommandLine.execute(CommandLine.java:2170)
A SP 0x00007fff26e9b280 IP 0x00005643ebce7acd size=112 [image code] elide.tool.cli.ElideTool$Companion.exec$cli(ElideTool.kt:168)
A SP 0x00007fff26e9b2f0 IP 0x00005643ebce824e size=32 [image code] elide.tool.cli.ElideTool$Companion.main$lambda$2(ElideTool.kt:138)
i SP 0x00007fff26e9b310 IP 0x00005643ebce7fe5 size=32 [image code] elide.tool.cli.ElideTool$Companion$$Lambda$532672e5503015aae85f4b05dca7719c1860f391.invoke(Unknown Source)
A SP 0x00007fff26e9b310 IP 0x00005643ebce7fe5 size=32 [image code] elide.tool.cli.ElideTool$Companion.installStatics$lambda$1(ElideTool.kt:123)
i SP 0x00007fff26e9b330 IP 0x00005643ebce7ef7 size=32 [image code] elide.tool.cli.ElideTool$Companion$$Lambda$4c1c6603ac02c8673e78f7cab32bfe0ee5cb9094.invoke(Unknown Source)
A SP 0x00007fff26e9b330 IP 0x00005643ebce7ef7 size=32 [image code] elide.tool.cli.ElideTool$Companion.installStatics(ElideTool.kt:131)
A SP 0x00007fff26e9b350 IP 0x00005643ebce81c6 size=32 [image code] elide.tool.cli.ElideTool$Companion.main(ElideTool.kt:137)
i SP 0x00007fff26e9b370 IP 0x00005643e680538c size=16 [image code] elide.tool.cli.ElideTool.main(ElideTool.kt)
i SP 0x00007fff26e9b370 IP 0x00005643e680538c size=16 [image code] com.oracle.svm.core.JavaMainWrapper.invokeMain(JavaMainWrapper.java:181)
A SP 0x00007fff26e9b370 IP 0x00005643e680538c size=16 [image code] com.oracle.svm.core.JavaMainWrapper.runCore0(JavaMainWrapper.java:237)
i SP 0x00007fff26e9b380 IP 0x00005643e6805135 size=48 [image code] com.oracle.svm.core.JavaMainWrapper.runCore(JavaMainWrapper.java:204)
A SP 0x00007fff26e9b380 IP 0x00005643e6805135 size=48 [image code] com.oracle.svm.core.JavaMainWrapper.doRun(JavaMainWrapper.java:293)
i SP 0x00007fff26e9b3b0 IP 0x00005643e782a84b size=96 [image code] com.oracle.svm.core.JavaMainWrapper.run(JavaMainWrapper.java:279)
A SP 0x00007fff26e9b3b0 IP 0x00005643e782a84b size=96 [image code] com.oracle.svm.core.code.IsolateEnterStub.JavaMainWrapper_run_5087f5482cc9a6abc971913ece43acb471d2631b(IsolateEnterStub.java:0)

Threads:
0x00007fd414000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "ForkJoinPool.commonPool-worker-3" - 0x00007fd47e0001c0, daemon, stack(0x00007fd42eac8000,0x00007fd42ecba000)
0x00007fd410000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "ForkJoinPool.commonPool-worker-2" - 0x00007fd47e18ad00, daemon, stack(0x00007fd42ecbc000,0x00007fd42eeae000)
0x00007fd41c000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "ForkJoinPool.commonPool-worker-1" - 0x00007fd47e25a8d0, daemon, stack(0x00007fd42eeb0000,0x00007fd42f0a2000)
0x00007fd418000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "Signal Dispatcher" - 0x00007fd47e21e968, daemon, stack(0x00007fd42f0a4000,0x00007fd42f296000)
0x00007fd424000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "Reference Handler" - 0x00007fd452513660, daemon, stack(0x00007fd42f298000,0x00007fd42f48a000)
0x00007fd420000b80 STATUS_IN_NATIVE (ALLOW_SAFEPOINT) "VMOperationThread" - 0x00007fd4525136e0, daemon, stack(0x00007fd42f48c000,0x00007fd42f67e000)
0x000056440cb48180 STATUS_IN_JAVA (PREVENT_VM_FROM_REACHING_SAFEPOINT) "main" - 0x00007fd4525135e0, stack(0x00007fff26ca9b80,0x00007fff26e9c000)

No VMOperation in progress

The 30 most recent VM operation status changes:

VM mutexes:
mutex "RealLog.backTracePrinterMutex" is unlocked.
mutex "g1ExecutionStatus" is unlocked.
mutex "mainVMOperationControlWorkQueue" is unlocked.
mutex "thread" is unlocked.

General information:
VM version: 21+35, linux/amd64
Current timestamp: 1701682420978
VM uptime: 0.035s
AOT compiled code: 0x00005643e3504000 - 0x00005643f010177f
CPU features used for AOT compiled code: CX8, CMOV, FXSR, MMX, SSE, SSE2

Command line: 'bug'

The 30 most recent RuntimeCodeInfo operations:

RuntimeCodeInfoMemory contains 0 methods:

DeoptStubPointer address: 0x00005643e78374f0

Recent deoptimization events (oldest first):

Heap settings and statistics:
Supports isolates: true
Heap base: 0x00007fd437c00000
Object reference size: 4
Region size: 1048576
Card table granularity: 512
Full collections: 0
Total collections: 0
Card table: 0x00007fd4366aa000 - 0x00007fd436f52fff
Block offset table: 0x00007fd437e00000 - 0x00007fd54cffffff

Heap regions:
| 0|0x00007fd437e00000, 0x00007fd437f00000, 0x00007fd437f00000|100%|CIHS| |TAMS 0x00007fd437e00000| PB 0x00007fd437e00000|Untracked|0
| 1|0x00007fd437f00000, 0x00007fd438000000, 0x00007fd438000000|100%|CIHC| |TAMS 0x00007fd437f00000| PB 0x00007fd437f00000|Untracked|0
| 2|0x00007fd438000000, 0x00007fd438100000, 0x00007fd438100000|100%|CIHC| |TAMS 0x00007fd438000000| PB 0x00007fd438000000|Untracked|0
| 3|0x00007fd438100000, 0x00007fd438200000, 0x00007fd438200000|100%|CIHC| |TAMS 0x00007fd438100000| PB 0x00007fd438100000|Untracked|0
| 4|0x00007fd438200000, 0x00007fd438300000, 0x00007fd438300000|100%|CIHC| |TAMS 0x00007fd438200000| PB 0x00007fd438200000|Untracked|0
| 5|0x00007fd438300000, 0x00007fd438400000, 0x00007fd438400000|100%|CIHC| |TAMS 0x00007fd438300000| PB 0x00007fd438300000|Untracked|0
| 6|0x00007fd438400000, 0x00007fd438500000, 0x00007fd438500000|100%|CIHC| |TAMS 0x00007fd438400000| PB

... Lots more

The full dump is too big for an issue comment, so it is attached below:
stacktrace.txt

Steps To Reproduce

  1. Open Elide Codespace from main README
  2. Follow steps to try Elide
  3. Pretend you experience a bug (you probably won't have to pretend)
  4. Run elide bug

Environment Information

  • Operating System: Ubuntu (Codespace)
  • Architecture: x86

Runtime

Native

Language

N/A (Default)

Example Application

No response

Version

1.0.0-alpha7

@sgammon sgammon added the bug Something isn't working label Dec 4, 2023
@sgammon sgammon added the module:cli CLI module issues and features label Apr 18, 2024
@sgammon sgammon self-assigned this Apr 18, 2024
@sgammon sgammon linked a pull request Apr 25, 2024 that will close this issue
13 tasks
@sgammon sgammon added this to the Release R4: Alpha 8 milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:cli CLI module issues and features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant