Skip to content

Cursor() crashes Java VM #4852

@drewhamiltonasdf

Description

@drewhamiltonasdf

I was having issues with the Java VM crashing while running a rather complex processing sketch running multiple PApplets with runSketch() on multiple monitors in fullScreen() mode.

After about 2 minutes, the program would crash, spitting out the dreaded "Could not run the sketch (Target VM failed to initialize)." After testing multiple versions I am 100% confident that the issue is cursor().

I assume this is some fatal combination of multiple PApplets within a sketch and Cursor(). Just thought I should mention it so the gurus know. Here's the rest of the dump:

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

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff26083def, pid=12912, tid=0x000000000000341c

JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [msvcrt.dll+0x73def]

Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:
C:\Users\DREWHA~1\AppData\Local\Temp\hs_err_pid12912.log

If you would like to submit a bug report, please visit:
http://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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions