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

I got a crash calling parserParseBytes #34

Open
ygj0930 opened this issue Nov 14, 2024 · 1 comment
Open

I got a crash calling parserParseBytes #34

ygj0930 opened this issue Nov 14, 2024 · 1 comment

Comments

@ygj0930
Copy link

ygj0930 commented Nov 14, 2024

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa44531241, pid=28580, tid=8188

JRE version: OpenJDK Runtime Environment JBR-11.0.11.9-1341.60-jcef (11.0.11+9) (build 11.0.11+9-b1341.60)

Java VM: OpenJDK 64-Bit Server VM JBR-11.0.11.9-1341.60-jcef (11.0.11+9-b1341.60, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)

Problematic frame:

C [VCRUNTIME140.dll+0x11241]

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://bugreport.java.com/bugreport/crash.jsp

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: exit -Xms128m -Xmx2008m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -ea -Dsun.io.useCanonCaches=false -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Djb.vmOptionsFile=C:\Users\h'p\AppData\Roaming\JetBrains\IntelliJIdea2021.1\idea64.exe.vmoptions -Didea.jre.check=true -Dide.native.launcher=true -Didea.vendor.name=JetBrains -Didea.paths.selector=IntelliJIdea2021.1 -XX:ErrorFile=C:\Users\h'p\java_error_in_idea64_%p.log -XX:HeapDumpPath=C:\Users\h'p\java_error_in_idea64.hprof

Host: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 8 cores, 15G, Windows 10 , 64 bit Build 19041 (10.0.19041.4957)

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

Current thread (0x000000017dd95000): JavaThread "DefaultDispatcher-worker-2" daemon [_thread_in_native, id=8188, stack(0x000000017f8a0000,0x000000017f9a0000)]

Stack: [0x000000017f8a0000,0x000000017f9a0000], sp=0x000000017f99e818, free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [VCRUNTIME140.dll+0x11241]
C [libjava-tree-sitter.dll+0x13998]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 36792 ai.serenade.treesitter.TreeSitter.parserParseBytes(J[BI)J (0 bytes) @ 0x000000001689271a [0x00000000168926c0+0x000000000000005a]
j ai.serenade.treesitter.Parser.parseString(Ljava/lang/String;)Lai/serenade/treesitter/Tree;+26
j kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V+44
j kotlinx.coroutines.DispatchedTask.run()V+317
j kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(Lkotlinx/coroutines/scheduling/Task;)V+2
j kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(Lkotlinx/coroutines/scheduling/Task;)V+30
j kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker()V+44
j kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run()V+1
v ~StubRoutines::call_stub

@sogaiu
Copy link

sogaiu commented Nov 14, 2024

This repository doesn't seem to have been active in recent times.

FWIW, there are some other options mentioned in this section.

There's also this repository, though I'm not sure how mature it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants