processing / processing-sound-archive

Archived Sound Library for Processing
125 stars 62 forks source link

Crash of Windows 10 #46

Open kasperkamperman opened 9 years ago

kasperkamperman commented 9 years ago

All Sound library examples crash with this error message.

System: Windows 10 Pro, Processing 3.0b5

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (0x20474343), pid=33468, tid=73344
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [KERNELBASE.dll+0x2a1c8]
#
# 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:
# F:\Processing\processing-3.0b5\hs_err_pid33468.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.
#
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.

The logfile (I couldn't attach it, so hereby in text) hs_err_pid33468.log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (0x20474343), pid=33468, tid=73344
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [KERNELBASE.dll+0x2a1c8]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# 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.
#

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

Current thread (0x000000001f87a000):  JavaThread "Animation Thread" [_thread_in_native, id=73344, stack(0x00000000210d0000,0x00000000211d0000)]

siginfo: ExceptionCode=0x20474343, ExceptionInformation=0x00000000014beee0 

Registers:
RAX=0x00000000211cd990, RBX=0x00000000014beee0, RCX=0x0000002220474343, RDX=0x0000000000000000
RSP=0x00000000211cde80, RBP=0x00000000211ce020, RSI=0x00000000211ce2b0, RDI=0x00000000014bef20
R8 =0x0000000000000005, R9 =0x0000000000000000, R10=0x0000000000000000, R11=0x0000000000000000
R12=0x0000000000000000, R13=0x000000001c23b348, R14=0x00000000211ce490, R15=0x000000001f87a000
RIP=0x00007ff9a570a1c8, EFLAGS=0x0000000000000202

Top of Stack: (sp=0x00000000211cde80)
0x00000000211cde80:   0000000020ed86f0 00000000014beee0
0x00000000211cde90:   00000000211ce2b0 00000000014bef20
0x00000000211cdea0:   0000000020474343 0000000000000000
0x00000000211cdeb0:   00007ff9a570a1c8 0000000000000001
0x00000000211cdec0:   00000000014beee0 0000000020ed51b0
0x00000000211cded0:   0000000000000001 0000000002ce5588
0x00000000211cdee0:   0000000020ed51b0 0000000000000001
0x00000000211cdef0:   000000001c23b348 0000000000000000
0x00000000211cdf00:   0000000000000010 0000000020ed5a80
0x00000000211cdf10:   00000000000000b0 00000000ffffffff
0x00000000211cdf20:   00000000211ce020 0000000000000000
0x00000000211cdf30:   000000001c23b348 00000000211ce490
0x00000000211cdf40:   00007086f28b2092 000000006b9f9ff3
0x00000000211cdf50:   0000000000000000 000000006b994a6d
0x00000000211cdf60:   00000000ffffffff 0000000000000003
0x00000000211cdf70:   00000000014bef20 000000006b9e0fad 

Instructions: (pc=0x00007ff9a570a1c8)
0x00007ff9a570a1a8:   49 8b d1 44 0f 47 c0 44 89 44 24 38 49 c1 e0 03
0x00007ff9a570a1b8:   e8 5f eb 04 00 48 8d 4c 24 20 ff 15 18 05 0a 00
0x00007ff9a570a1c8:   48 8b 8c 24 c0 00 00 00 48 33 cc e8 38 b4 04 00
0x00007ff9a570a1d8:   48 81 c4 d8 00 00 00 c3 83 64 24 38 00 eb d6 cc 

Register to memory mapping:

RAX=0x00000000211cd990 is pointing into the stack for thread: 0x000000001f87a000
RBX=0x00000000014beee0 is an unknown value
RCX=0x0000002220474343 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x00000000211cde80 is pointing into the stack for thread: 0x000000001f87a000
RBP=0x00000000211ce020 is pointing into the stack for thread: 0x000000001f87a000
RSI=0x00000000211ce2b0 is pointing into the stack for thread: 0x000000001f87a000
RDI=0x00000000014bef20 is an unknown value
R8 =0x0000000000000005 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000000 is an unknown value
R13={method} {0x000000001c23b350} 'engineNew' '(II)I' in 'processing/sound/MethClaInterface'
R14=0x00000000211ce490 is pointing into the stack for thread: 0x000000001f87a000
R15=0x000000001f87a000 is a thread

Stack: [0x00000000210d0000,0x00000000211d0000],  sp=0x00000000211cde80,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [KERNELBASE.dll+0x2a1c8]
C  [libMethClaInterface.dll+0x14a6d]
C  [libMethClaInterface.dll+0x7a3d8]
C  [libMethClaInterface.dll+0x185b]
C  [libMethClaInterface.dll+0x194a]
C  [libMethClaInterface.dll+0x23f77]
C  [libMethClaInterface.dll+0x1c0e]
C  0x0000000002d2dfcc

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  processing.sound.MethClaInterface.engineNew(II)I+0
j  processing.sound.Engine.<init>()V+23
j  processing.sound.Engine.<init>(Lprocessing/sound/Engine;)V+1
j  processing.sound.Engine$LazyHolder.<clinit>()V+5
v  ~StubRoutines::call_stub
j  processing.sound.Engine.start()Lprocessing/sound/Engine;+0
j  processing.sound.SqrOsc.<init>(Lprocessing/core/PApplet;)V+65
j  SqrWave.setup()V+13
j  processing.core.PApplet.handleDraw()V+81
j  processing.awt.PSurfaceAWT$12.callDraw()V+7
j  processing.core.PSurfaceNone$AnimationThread.run()V+30
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000000001302800 JavaThread "DestroyJavaVM" [_thread_blocked, id=61332, stack(0x0000000001110000,0x0000000001210000)]
=>0x000000001f87a000 JavaThread "Animation Thread" [_thread_in_native, id=73344, stack(0x00000000210d0000,0x00000000211d0000)]
  0x000000001f88d800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=60628, stack(0x0000000020dd0000,0x0000000020ed0000)]
  0x000000001f886000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=77452, stack(0x0000000020ad0000,0x0000000020bd0000)]
  0x000000001f7b0800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=77564, stack(0x00000000200c0000,0x00000000201c0000)]
  0x000000001f7b0000 JavaThread "AWT-Shutdown" [_thread_blocked, id=62216, stack(0x000000001ffc0000,0x00000000200c0000)]
  0x000000001eaad000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=76864, stack(0x000000001fec0000,0x000000001ffc0000)]
  0x000000001e7d3000 JavaThread "Service Thread" daemon [_thread_blocked, id=54448, stack(0x000000001f3e0000,0x000000001f4e0000)]
  0x000000001e73a800 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=76232, stack(0x000000001f2e0000,0x000000001f3e0000)]
  0x000000001e73a000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=49796, stack(0x000000001f1e0000,0x000000001f2e0000)]
  0x000000001e737000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=77164, stack(0x000000001f0e0000,0x000000001f1e0000)]
  0x000000001e732800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=66228, stack(0x000000001efe0000,0x000000001f0e0000)]
  0x000000001e721800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=76524, stack(0x000000001eee0000,0x000000001efe0000)]
  0x000000001e720800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=74228, stack(0x000000001ede0000,0x000000001eee0000)]
  0x000000001e71d800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=72548, stack(0x000000001ece0000,0x000000001ede0000)]
  0x000000001e708800 JavaThread "Attach Listener" daemon [_thread_blocked, id=72332, stack(0x000000001ebe0000,0x000000001ece0000)]
  0x000000001c63d800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=73972, stack(0x000000001eae0000,0x000000001ebe0000)]
  0x00000000013fc800 JavaThread "Finalizer" daemon [_thread_blocked, id=70012, stack(0x000000001e500000,0x000000001e600000)]
  0x000000001c62d800 JavaThread "Reference Handler" daemon [_thread_blocked, id=64880, stack(0x000000001e400000,0x000000001e500000)]

Other Threads:
  0x000000001c629000 VMThread [stack: 0x000000001e300000,0x000000001e400000] [id=73880]
  0x000000001e7f3000 WatcherThread [stack: 0x000000001f4e0000,0x000000001f5e0000] [id=74816]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 PSYoungGen      total 76288K, used 18017K [0x000000076b400000, 0x0000000770900000, 0x00000007c0000000)
  eden space 65536K, 27% used [0x000000076b400000,0x000000076c5986f0,0x000000076f400000)
  from space 10752K, 0% used [0x000000076fe80000,0x000000076fe80000,0x0000000770900000)
  to   space 10752K, 0% used [0x000000076f400000,0x000000076f400000,0x000000076fe80000)
 ParOldGen       total 175104K, used 0K [0x00000006c1c00000, 0x00000006cc700000, 0x000000076b400000)
  object space 175104K, 0% used [0x00000006c1c00000,0x00000006c1c00000,0x00000006cc700000)
 Metaspace       used 9881K, capacity 10088K, committed 10368K, reserved 1058816K
  class space    used 1077K, capacity 1124K, committed 1152K, reserved 1048576K

Card table byte_map: [0x00000000120d0000,0x00000000128d0000] byte_map_base: 0x000000000eac2000

Marking Bits: (ParMarkBitMap*) 0x0000000064e0a5b0
 Begin Bits: [0x0000000013520000, 0x00000000174b0000)
 End Bits:   [0x00000000174b0000, 0x000000001b440000)

Polling page: 0x0000000001210000

CodeCache: size=245760Kb used=1857Kb max_used=1870Kb free=243902Kb
 bounds [0x0000000002d10000, 0x0000000002f80000, 0x0000000011d10000]
 total_blobs=824 nmethods=354 adapters=391
 compilation: enabled

Compilation events (10 events):
Event: 0.740 Thread 0x000000001e73a800  350  s    3       java.lang.StringBuffer::append (13 bytes)
Event: 0.741 Thread 0x000000001e73a800 nmethod 350 0x0000000002edd850 code [0x0000000002edd9c0, 0x0000000002eddce8]
Event: 0.742 Thread 0x000000001e732800  351       4       java.io.WinNTFileSystem::isSlash (18 bytes)
Event: 0.743 Thread 0x000000001e732800 nmethod 351 0x0000000002edc150 code [0x0000000002edc280, 0x0000000002edc2f8]
Event: 0.747 Thread 0x000000001e73a800  353       1       java.net.URLStreamHandler::getDefaultPort (2 bytes)
Event: 0.748 Thread 0x000000001e73a800 nmethod 353 0x0000000002edbad0 code [0x0000000002edbc20, 0x0000000002edbd30]
Event: 0.752 Thread 0x000000001e73a800  354  s    3       sun.misc.PerfCounter::add (18 bytes)
Event: 0.753 Thread 0x000000001e73a800 nmethod 354 0x0000000002edcdd0 code [0x0000000002edcf60, 0x0000000002edd5d8]
Event: 0.754 Thread 0x000000001e73a000 nmethod 348 0x0000000002ee1810 code [0x0000000002ee1960, 0x0000000002ee1f58]
Event: 0.768 Thread 0x000000001e737000 nmethod 345 0x0000000002ede390 code [0x0000000002ede4e0, 0x0000000002edea38]

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 0.033 Thread 0x0000000001302800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x000000076b40e9d0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\sr²>~Ä ?
Event: 0.033 Thread 0x0000000001302800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x000000076b40ecb8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\jØ5
ªÑ?
Event: 0.276 Thread 0x0000000001302800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076baa8148) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.276 Thread 0x0000000001302800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076baa8358) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.277 Thread 0x0000000001302800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076baaaff8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.277 Thread 0x0000000001302800 Exception <a 'java/security/PrivilegedActionException'> (0x000000076baab208) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.285 Thread 0x0000000001302800 Exception <a 'java/io/FileNotFoundException'> (0x000000076baad580) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 0.332 Thread 0x0000000001302800 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x000000076bb7ade8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
Event: 0.334 Thread 0x0000000001302800 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x000000076bb88138) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
Event: 0.410 Thread 0x0000000001302800 Exception <a 'java/io/FileNotFoundException'> (0x000000076bc21758) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u60\4407\hotspot\src\share\vm\prims\jni.cpp, line 709]

Events (10 events):
Event: 0.758 Thread 0x000000001f87a000 DEOPT PACKING pc=0x0000000002e54e3c sp=0x00000000211cda90
Event: 0.758 Thread 0x000000001f87a000 DEOPT UNPACKING pc=0x0000000002d5787f sp=0x00000000211cd8b0 mode 1
Event: 0.760 loading class processing/sound/MethClaInterface
Event: 0.760 loading class processing/sound/MethClaInterface done
Event: 0.760 Thread 0x000000001f87a000 DEOPT PACKING pc=0x0000000002e550a4 sp=0x00000000211cd1c0
Event: 0.760 Thread 0x000000001f87a000 DEOPT UNPACKING pc=0x0000000002d5787f sp=0x00000000211ccfe0 mode 1
Event: 0.760 Thread 0x000000001f87a000 DEOPT PACKING pc=0x0000000002e54e3c sp=0x00000000211cd350
Event: 0.760 Thread 0x000000001f87a000 DEOPT UNPACKING pc=0x0000000002d5787f sp=0x00000000211cd170 mode 1
Event: 0.762 loading class java/lang/ClassLoaderHelper
Event: 0.762 loading class java/lang/ClassLoaderHelper done

Dynamic libraries:
0x00007ff65a800000 - 0x00007ff65a837000     F:\Processing\processing-3.0b5\java\bin\java.exe
0x00007ff9a94d0000 - 0x00007ff9a9691000     C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ff9a7d20000 - 0x00007ff9a7dcd000     C:\WINDOWS\system32\KERNEL32.DLL
0x00007ff9a56e0000 - 0x00007ff9a58bd000     C:\WINDOWS\system32\KERNELBASE.dll
0x00007ff9a62a0000 - 0x00007ff9a6346000     C:\WINDOWS\system32\ADVAPI32.dll
0x00007ff9a5ae0000 - 0x00007ff9a5b7d000     C:\WINDOWS\system32\msvcrt.dll
0x00007ff9a7b90000 - 0x00007ff9a7beb000     C:\WINDOWS\system32\sechost.dll
0x00007ff9a7bf0000 - 0x00007ff9a7d16000     C:\WINDOWS\system32\RPCRT4.dll
0x00007ff9a5bf0000 - 0x00007ff9a5d3e000     C:\WINDOWS\system32\USER32.dll
0x00007ff9a5950000 - 0x00007ff9a5ad6000     C:\WINDOWS\system32\GDI32.dll
0x00007ff99dfc0000 - 0x00007ff99e234000     C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10240.16384_none_f41f7b285750ef43\COMCTL32.dll
0x00007ff9a5910000 - 0x00007ff9a5946000     C:\WINDOWS\system32\IMM32.DLL
0x00007ff9a6500000 - 0x00007ff9a665c000     C:\WINDOWS\system32\MSCTF.dll
0x00007ff98e9b0000 - 0x00007ff98ea3d000     D:\AVG\AVG2015\avghooka.dll
0x00000000652e0000 - 0x00000000653b2000     F:\Processing\processing-3.0b5\java\bin\msvcr100.dll
0x0000000064600000 - 0x0000000064e89000     F:\Processing\processing-3.0b5\java\bin\server\jvm.dll
0x00007ff9a8230000 - 0x00007ff9a8238000     C:\WINDOWS\system32\PSAPI.DLL
0x00007ff9a0ca0000 - 0x00007ff9a0ca9000     C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ff9a5b80000 - 0x00007ff9a5be9000     C:\WINDOWS\system32\WS2_32.dll
0x00007ff9a6210000 - 0x00007ff9a6218000     C:\WINDOWS\system32\NSI.dll
0x00007ff9a2df0000 - 0x00007ff9a2e13000     C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ff99e2f0000 - 0x00007ff99e2fa000     C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ff9a2d90000 - 0x00007ff9a2dbc000     C:\WINDOWS\SYSTEM32\WINMMBASE.dll
0x00007ff9a58c0000 - 0x00007ff9a5904000     C:\WINDOWS\system32\cfgmgr32.dll
0x00007ff9a3540000 - 0x00007ff9a3567000     C:\WINDOWS\SYSTEM32\DEVOBJ.dll
0x00000000654d0000 - 0x00000000654df000     F:\Processing\processing-3.0b5\java\bin\verify.dll
0x00000000652b0000 - 0x00000000652d9000     F:\Processing\processing-3.0b5\java\bin\java.dll
0x00000000642f0000 - 0x0000000064325000     F:\Processing\processing-3.0b5\java\bin\jdwp.dll
0x00000000654c0000 - 0x00000000654c8000     F:\Processing\processing-3.0b5\java\bin\npt.dll
0x0000000065290000 - 0x00000000652a6000     F:\Processing\processing-3.0b5\java\bin\zip.dll
0x00007ff9a6660000 - 0x00007ff9a7b82000     C:\WINDOWS\system32\SHELL32.dll
0x00007ff9a50b0000 - 0x00007ff9a56d9000     C:\WINDOWS\system32\windows.storage.dll
0x00007ff9a5da0000 - 0x00007ff9a601c000     C:\WINDOWS\system32\combase.dll
0x00007ff9a5d40000 - 0x00007ff9a5d91000     C:\WINDOWS\system32\shlwapi.dll
0x00007ff9a4cc0000 - 0x00007ff9a4ccf000     C:\WINDOWS\system32\kernel.appcore.dll
0x00007ff9a4ff0000 - 0x00007ff9a50a3000     C:\WINDOWS\system32\shcore.dll
0x00007ff9a4c70000 - 0x00007ff9a4cba000     C:\WINDOWS\system32\powrprof.dll
0x00007ff9a4cd0000 - 0x00007ff9a4ce3000     C:\WINDOWS\system32\profapi.dll
0x0000000064430000 - 0x0000000064439000     F:\Processing\processing-3.0b5\java\bin\dt_socket.dll
0x00007ff9a44e0000 - 0x00007ff9a453d000     C:\WINDOWS\system32\mswsock.dll
0x0000000064460000 - 0x00000000645f8000     F:\Processing\processing-3.0b5\java\bin\awt.dll
0x00007ff9a8100000 - 0x00007ff9a81be000     C:\WINDOWS\system32\OLEAUT32.dll
0x00007ff9a33c0000 - 0x00007ff9a3438000     C:\WINDOWS\system32\apphelp.dll
0x00007ff9a3570000 - 0x00007ff9a3606000     C:\WINDOWS\system32\uxtheme.dll
0x00007ff9a0c40000 - 0x00007ff9a0c62000     C:\WINDOWS\system32\dwmapi.dll
0x00007ff9a7fb0000 - 0x00007ff9a80f1000     C:\WINDOWS\system32\ole32.dll
0x00007ff9a4a90000 - 0x00007ff9a4afb000     C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
0x00000000643b0000 - 0x00000000643f7000     F:\Processing\processing-3.0b5\java\bin\fontmanager.dll
0x0000000002ce0000 - 0x0000000002cf5000     C:\Users\mike\Documents\Processing\libraries\sound\library\windows64\libwinpthread-1.dll
0x0000000070440000 - 0x0000000070692000     C:\Users\mike\Documents\Processing\libraries\sound\library\windows64\libsndfile-1.dll
0x0000000066240000 - 0x00000000662a3000     C:\Users\mike\Documents\Processing\libraries\sound\library\windows64\libmpg123-0.dll
0x0000000065880000 - 0x0000000065d88000     C:\Users\mike\Documents\Processing\libraries\sound\library\windows64\libmethcla.dll
0x000000006b980000 - 0x000000006bad0000     C:\Users\mike\Documents\Processing\libraries\sound\library\windows64\libMethClaInterface.dll
0x00007ff9a6080000 - 0x00007ff9a6125000     C:\WINDOWS\system32\clbcatq.dll
0x00007ff9a0d20000 - 0x00007ff9a0d92000     C:\WINDOWS\System32\MMDevApi.dll
0x00007ff9a2a30000 - 0x00007ff9a2bb3000     C:\WINDOWS\System32\PROPSYS.dll
0x00007ff990ae0000 - 0x00007ff990b65000     C:\WINDOWS\SYSTEM32\AUDIOSES.DLL
0x00007ff99d620000 - 0x00007ff99d751000     C:\WINDOWS\SYSTEM32\wintypes.dll
0x00007ff9a0da0000 - 0x00007ff9a0f2a000     C:\WINDOWS\SYSTEM32\dbghelp.dll

VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,address=8299,server=y,suspend=y -Djava.library.path=;F:\Processing\processing-3.0b5\core\library;C:\Users\mike\Documents\Processing\libraries\sound\library\windows64;F:\Processing\processing-3.0b5\java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone;F:\Processing\processing-3.0b5\java\bin;. -ea 
java_command: processing.core.PApplet --editor-location=178,192 --external --display=1 --sketch-path=C:\Users\mike\Documents\Processing\libraries\sound\examples\Oscillators\SqrWave SqrWave
java_class_path (initial): C:\Users\mike\AppData\Local\Temp\SqrWave7430840448460724289temp;F:\Processing\processing-3.0b5\core\library\core.jar;F:\Processing\processing-3.0b5\core\library\gluegen-java-src.zip;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-linux-amd64.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-linux-armv6hf.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-linux-i586.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-macosx-universal.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-windows-amd64.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-windows-i586.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt.jar;F:\Processing\processing-3.0b5\core\library\jogl-all-natives-linux-amd64.jar;F:\Processing\processing-3.0b5\core\library\jogl-all-natives-linux-armv6hf.jar;F:\Processing\processing-3.0b5\core\library\jogl-all-natives-linux-i586.jar;F:\Processing\processing-3.0b5\core\library\jogl-all-natives-macosx-universal.jar;F:\Processing\processing-3.0b5\core\library\jogl-all-natives-windows-amd64.jar;F:\Processing\processing-3.0b5\core\library\jogl-all-natives-windows-i586.jar;F:\Processing\processing-3.0b5\core\library\jogl-all.jar;F:\Processing\processing-3.0b5\core\library\jogl-java-src.zip;F:\Processing\processing-3.0b5\core\library\core.jar;F:\Processing\processing-3.0b5\core\library\gluegen-java-src.zip;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-linux-amd64.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-linux-armv6hf.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-linux-i586.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-macosx-universal.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-windows-amd64.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt-natives-windows-i586.jar;F:\Processing\processing-3.0b5\core\library\gluegen-rt.j
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;F:\Processing\processing-3.0b5\java\bin
USERNAME=mike
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel

---------------  S Y S T E M  ---------------

OS: Windows 10.0 , 64 bit Build 10240 (10.0.10240.16384)

CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 60 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2

Memory: 4k page, physical 16658600k(11401228k free), swap 39628968k(31841760k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.60-b23) for windows-amd64 JRE (1.8.0_60-b27), built on Aug  4 2015 11:06:27 by "java_re" with MS VC++ 10.0 (VS2010)

time: Thu Sep 10 16:19:44 2015
elapsed time: 0 seconds (0d 0h 0m 0s)
wirsing commented 9 years ago

I'm trying to get a hold of a Windows 10 license to figure this out. Which version did you use?

kasperkamperman commented 9 years ago

The professional version. This was an error that a student got. If you need more specific version information I can ask. I can't reproduce it myself, because I don't have Windows10 either installed right now.

pedronrito commented 9 years ago

i've got this error Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help ? Troubleshooting.

using windows 10 PRO and Processing 3

jocousy commented 8 years ago

I have the same problem. Is there a solution yet? hs_err_pid2520.txt

bosnyak2 commented 8 years ago

This is not windows 10 specific, I have the exact same issue on windows 7

Internal Error (0x20474343), pid=8984, tid=2612

technosalon commented 8 years ago

Hello, I have experienced the very same fatal error for every examples of the sound library. My system is OSX Yosemite on MacBook Pro mid 2007 17inch, and the latest Processing 3. Even though the weird thing, this code works until the song ends. Immediately after the song ends, this got the same fatal error by the Java Runtime Environment, and crashed.

SoundFile soundFile;
int bands=512;
FFT fft;
float[] spectrum = new float[bands];
void setup(){
  soundfile = new SoundFile(this, "song.mp3");
  soundfile.play();
  fft = new FFT(this, bands);
  fft.input(soundfile);
}

void draw(){
  fft.analyze(spectrum);  
}
mimocha commented 8 years ago

Hello, I haven't yet found a solution, but I believe this might be useful. I am running on the latest Processing 3, Windows 10 Pro 64 bit PC.

By tweaking with the Amplitude example found on the Processing API, I was able to create a crash.

Original Code Tweaked Code:

void draw() { in.start(); println(amp.analyze()); }

I merely placed in.start() in the draw() loop, causing the crash after a few seconds. It might be possible that simple codes like these are causing the problem. Error [1]

Interestingly, while testing out different scenarios; I've found that rerunning a code multiple times in close succession also seems to cause crashes. I have been trying the FFT example. In this case, the Java Platform simply outright crashed. It seems to crash randomly. I don't have an explanation for this one. Error [2]

And lastly, I've tried technosalon's code and it seems to work, but also randomly crashing occcasionally. And when it runs, somehow the audio seems to be coming out from only one channel. @technosalon 's (Slightly tweaked) Code:

import processing.sound.*;

SoundFile soundFile;
FFT fft;
int bands = 512;
float[] spectrum = new float[bands];

void setup(){
  soundFile = new SoundFile(this, "sample.mp3");
  soundFile.play();
  fft = new FFT(this, bands);
  fft.input(soundFile);
}

void draw(){
  fft.analyze(spectrum);  
}

Error [3]

Error Messages Below

Error Message [1] Log

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (0x20474343), pid=5460, tid=0x0000000000000954
#
# JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.92-b14 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [KERNELBASE.dll+0x71f28]
#
# 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:
# D:\Programs\processing-3.1.1\hs_err_pid5460.log
Compiled method (c1)    9700  626   !   3       sun.java2d.SunGraphics2D::copyImage (107 bytes)
 total in heap  [0x0000000002b33cd0,0x0000000002b35340] = 5744
 relocation     [0x0000000002b33df0,0x0000000002b33ea8] = 184
 main code      [0x0000000002b33ec0,0x0000000002b34ae0] = 3104
 stub code      [0x0000000002b34ae0,0x0000000002b34ba8] = 200
 metadata       [0x0000000002b34ba8,0x0000000002b34bc0] = 24
 scopes data    [0x0000000002b34bc0,0x0000000002b35098] = 1240
 scopes pcs     [0x0000000002b35098,0x0000000002b35228] = 400
 dependencies   [0x0000000002b35228,0x0000000002b35230] = 8
 handler table  [0x0000000002b35230,0x0000000002b352e8] = 184
 nul chk table  [0x0000000002b352e8,0x0000000002b35340] = 88
Compiled method (c1)    9701  691       3       processing.awt.PGraphicsJava2D::beginDraw (94 bytes)
 total in heap  [0x0000000002b72810,0x0000000002b73b28] = 4888
 relocation     [0x0000000002b72930,0x0000000002b72a40] = 272
 main code      [0x0000000002b72a40,0x0000000002b735e0] = 2976
 stub code      [0x0000000002b735e0,0x0000000002b73718] = 312
 oops           [0x0000000002b73718,0x0000000002b73720] = 8
 metadata       [0x0000000002b73720,0x0000000002b73760] = 64
 scopes data    [0x0000000002b73760,0x0000000002b73950] = 496
 scopes pcs     [0x0000000002b73950,0x0000000002b73ae0] = 400
 dependencies   [0x0000000002b73ae0,0x0000000002b73af8] = 24
 nul chk table  [0x0000000002b73af8,0x0000000002b73b28] = 48
#
# 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.
#
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.

Error Message [2]

Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.

Error Message [3]

ERROR: /synth/map/input: Audio input index 0 out of range for synth 2
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.
mbaytas commented 8 years ago

I have the same issue on my Windows 10 Pro PC. I can replicate the crash with the following minimal code:

import processing.sound.*;

WhiteNoise noise;

void setup() {
  noise = new WhiteNoise(this);
}

The crash is caused by the assignment command noise = new WhiteNoise(this), not the instantiation (WhiteNoise noise).

The error I'm getting with Sound v1.3.2 and the 64-bit variant of Processing v3.1.1 is as follows:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (0x20474343), pid=5588, tid=0x00000000000015f8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.92-b14 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [KERNELBASE.dll+0x71f28]
#
# 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\mabay\Desktop\processing-3.1.1-64\hs_err_pid5588.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.
#
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.

The error I'm getting with the 32-bit variant of Processing v3.1.1 is:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
terminate called after throwing an instance of 'std::runtime_error'
  what():  RtApiWasapi::probeDeviceOpen: Render device selected as input device.
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.
Tilix4 commented 8 years ago

Hi ! I have the same issue. My sketch was running well since I wanted to play any music. I have spend many hours to find something, and I've seen Minecraft gamers had this issue too. (cf : http://www.minecraftforum.net/forums/support/unmodified-minecraft-client/1851246-failed-to-write-core-dump-minidumps-are-not).

Is there somebody find out any solution ?

It's unbelievable...

Thank for your answers !

Paputekk commented 8 years ago

Hi.

I'm struggling for a few days with exactly same problem as you guys. I'm developing a quite simple Java app which communicates with external devices via virtual COM ports. Since all libraries for such commnication for Java just plain suck, and I've tried them all, I decided to write this piece of code in C++, create a DLL and use it in Java thanks to Java Native Interface. I tested this piece of code through and through and it works fine, but when I do this:

static{ System.loadLibrary("serial"); }

JVM crashes in the exactly same manner as you guys described... But not always. Like 20% of a time. If it doesn't crash on startup (and I load this library during initialization, every time) my soft runs smoothly, without any problems. But if it crashes, it crashes for good, no Exception nor Error is thrown, there is really no way to recover.

I compiled it under Windows 10, 64 bit, using following flags for g++:

-std=c++14 -Wl,--add-stdcall-alias -I"%JAVA_HOME%\include" -O2 -I"%JAVA_HOME%\include\win32" -shared -o serial.dll

also, g++ --version returns as follows: g++ (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 6.2.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'll try with different version of g++, also I'll try compiling it with 32bit compiler and run it with 32bit Java as well, but it really doesn't make much sense for me why it crashes so randomly without any obvious pattern. If you have any simmilar to mine experience with JNI, please share it.

Let me also mention I'm quite familiar with JNI, done some projects for Android (I wrote UDP protocol communication part in C++), I know fairly well how to use it, so I really don't suspect there's something wrong with my code.

TL;DR I suspect there's something wrong with Java JNI.

obrasier commented 8 years ago

We have the same problem with our school computers. hs_err_pid8156_log.txt

errormsg

Not sure if there is anything we can try?

Tilix4 commented 7 years ago

Hi everyone,

After many tries, I've thrown the towel...

But, I found something else to play some sound, two ways :

1 - Using the video library, you can play sound as movie clip.

`import processing.video.*;

Movie audio;

void setup() {

audio = new Movie(this, "your_audioFile.wav"); //Works with .wav, .mp3 and *.aiff files. }

void draw() {

audio.play();

} `

2- Using Minim library (from libraries manager). I would strongly suggest to use this library, it is really powerful and you can find a ton of using possibilities in the java examples.

Hope it will be helpful for all of you !

bfishman commented 7 years ago

Bumping for attention, same crash, Win10 64 Pro.

log: https://pastebin.com/VPaXYiab

This is using the latest (1.4) sound library, on Processing Rev 0260. The crash happens always, when running the FFT example code.

MiningMyBusiness commented 6 years ago

I'm having the same issues. Even the examples that come with the Sound library won't work. I've attached my error log file.

I'm using a Windows 7 and the library was working just a few weeks ago...

hs_err_pid17364.log