processing-sound-archive icon indicating copy to clipboard operation
processing-sound-archive copied to clipboard

library crashing even when runing examples on windows

Open miguelitoVargas opened this issue 9 years ago • 10 comments

hello, Im teaching how to manipulate sounds in a sound art course. The library works fine on linux and mac, but when imported on widows i get this nasty bad allocator vm error:

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::bad_alloc' what(): std::bad_alloc Could not run the sketch (Target VM failed to initialize). For more information, read revisions.txt and Help ? Troubleshooting.

By the way minim, and beads work just fine, could it be that the sound third party libraries are in conflict with with the official one? thanks for any help. For the moment we will work just with minim

miguelitoVargas avatar Sep 29 '16 19:09 miguelitoVargas

Hi @miguelitoVargas could you post some more details on the machine / system you used and which code you ran? or was it just any example?

wirsing avatar Aug 09 '17 15:08 wirsing

I've got the same error. I'm using Processing 3.3.5 on a Fedora 26 64 bits. My code is the "Sample" sketch from "Example"->"Libraries"->"Sound"->"SoundFile"

q2dg avatar Aug 16 '17 21:08 q2dg

Well, in fact, doing a simple oscillator without any extern sound file gives me the same error. Try this:

import processing.sound.*; SinOsc miSint; void setup() { size(200, 200); miSint = new SinOsc(this); miSint.play(); } void draw() { background(255); float freq = map(mouseX, 0, width, 150, 880); miSint.freq(freq); ellipse(mouseX, 100, 32, 32); }

q2dg avatar Aug 16 '17 22:08 q2dg

The error occurs even if Minim isn't installed

q2dg avatar Aug 16 '17 23:08 q2dg

Hello @Wilm Thoben,

The error happens on windows desktop systems, not laptops; i'm a linux user so i don't have that problem, i thought it was a poorly maintained windows system since i only use windows desktop when i teach class at some unis, and the output as far as i can understand is telling that there is some kind of problem when the library tries to use the dsp; the problem doesn't happen with minim so i just switched libraries in that class. As soon as im in the classroom i'll test processing-sound again and post a full report; it happens with every example, the library crashes every time is going to use the kernel module or something.... problem way out of my league

On Wed, Aug 16, 2017 at 6:09 PM, Osqui LittleRiver <[email protected]

wrote:

The error occurs even if Minim isn't installed

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/processing/processing-sound/issues/97#issuecomment-322924246, or mute the thread https://github.com/notifications/unsubscribe-auth/ABiKTsxHcJn5DoTZo3afGlij-QrxSvhcks5sY3bDgaJpZM4KKX99 .

miguelitoVargas avatar Aug 17 '17 03:08 miguelitoVargas

@miguelitoVargas But I'm using Linux and I have the same problem, so...

q2dg avatar Aug 17 '17 07:08 q2dg

@OsquiLittleRiver, yeah did not read your reply until now, so it seems the problem is quite big :s.......... here i copy paste the entire log when the crashing occurs.... again is not a problem of one example is a global problem that makes processing-sound crash:

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

Internal Error (0x20474343), pid=5468, tid=0x0000000000001818

JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build

1.8.0_131-b11)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode

windows-amd64 compressed oops)

Problematic frame:

C [KERNELBASE.dll+0xa49d]

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 (0x000000005b0df800): JavaThread "Animation Thread" [_thread_in_native, id=6168, stack(0x000000005be90000,0x000000005bf90000)]

siginfo: ExceptionCode=0x20474343, ExceptionInformation=0x00000000001df960

Registers: RAX=0x000000002c199cd7, RBX=0x00000000001df960, RCX=0x000000005bf8d7b0, RDX=0x00000000000000c0 RSP=0x000000005bf8ddc0, RBP=0x000000005bf8df70, RSI=0x000000006ba126c0, RDI=0x00000000001df9a0 R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x0000000000000001, R11=0x000000005bf8de00 R12=0x0000000000000000, R13=0x00000000577b6d10, R14=0x000000005bf8e3f0, R15=0x000000005b0df800 RIP=0x000007fefd21a49d, EFLAGS=0x0000000000000206

Top of Stack: (sp=0x000000005bf8ddc0) 0x000000005bf8ddc0: 00000000001df960 000000006ba126c0 0x000000005bf8ddd0: 00000000001df9a0 00000000001df830 0x000000005bf8dde0: 0000000020474343 0000000000000000 0x000000005bf8ddf0: 000007fefd21a49d 0000000000000001 0x000000005bf8de00: 00000000001df960 000000005bf8e3f0 0x000000005bf8de10: 00000000577b6d10 0000000000000010 0x000000005bf8de20: 0000000000000018 0000000000000008 0x000000005bf8de30: 00000000001dfcd8 000007fefd531332 0x000000005bf8de40: 0000000000000002 0000000000000018 0x000000005bf8de50: 00000000577b6d10 000000005bf8e3f0 0x000000005bf8de60: 000000006ba4b1e0 000000006b99960a 0x000000005bf8de70: 0000000000000000 0000000000000008 0x000000005bf8de80: 0000000000000000 000000006b999117 0x000000005bf8de90: 00000000001df9a0 000000006ba126c0 0x000000005bf8dea0: 000000006ba54740 000000005bf8df70 0x000000005bf8deb0: 000000006ba54740 000000006ba47561

Instructions: (pc=0x000007fefd21a49d) 0x000007fefd21a47d: 54 24 24 48 89 4c 24 28 4d 85 c9 0f 85 a0 04 00 0x000007fefd21a48d: 00 89 4c 24 38 48 8d 4c 24 20 ff 15 23 fe 03 00 0x000007fefd21a49d: 48 81 c4 c8 00 00 00 c3 48 85 f6 74 08 83 3b 00 0x000007fefd21a4ad: 76 03 66 89 16 bd 01 00 00 00 3b fd 0f 84 d6 02

Register to memory mapping:

RAX=0x000000002c199cd7 is an unknown value RBX=0x00000000001df960 is an unknown value RCX=0x000000005bf8d7b0 is pointing into the stack for thread: 0x000000005b0df800 RDX=0x00000000000000c0 is an unknown value RSP=0x000000005bf8ddc0 is pointing into the stack for thread: 0x000000005b0df800 RBP=0x000000005bf8df70 is pointing into the stack for thread: 0x000000005b0df800 RSI=0x000000006ba126c0 is an unknown value RDI=0x00000000001df9a0 is an unknown value R8 =0x0000000000000000 is an unknown value R9 =0x0000000000000000 is an unknown value R10=0x0000000000000001 is an unknown value R11=0x000000005bf8de00 is pointing into the stack for thread: 0x000000005b0df800 R12=0x0000000000000000 is an unknown value R13={method} {0x00000000577b6d18} 'engineNew' '(II)I' in 'processing/sound/MethClaInterface' R14=0x000000005bf8e3f0 is pointing into the stack for thread: 0x000000005b0df800 R15=0x000000005b0df800 is a thread

Stack: [0x000000005be90000,0x000000005bf90000], sp=0x000000005bf8ddc0, free space=1015k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [KERNELBASE.dll+0xa49d] C [libMethClaInterface.dll+0x19117] C [libMethClaInterface.dll+0xc7561] C [libMethClaInterface.dll+0x193a] C [libMethClaInterface.dll+0x1a4b] C [libMethClaInterface.dll+0x29475] C [libMethClaInterface.dll+0x1d96] C 0x0000000002730fec

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j processing.sound.MethClaInterface.engineNew(II)I+0 j processing.sound.Engine.()V+23 j processing.sound.Engine.(Lprocessing/sound/Engine$1;)V+1 j processing.sound.Engine$LazyHolder.()V+5 v ~StubRoutines::call_stub j processing.sound.Engine.start()Lprocessing/sound/Engine;+0 j processing.sound.SoundFile.(Lprocessing/core/PApplet;Ljava/lang/String;)V+83 j Sampler.setup()V+54 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 ) 0x000000000208f000 JavaThread "DestroyJavaVM" [_thread_blocked, id=7096, stack(0x0000000002340000,0x0000000002440000)] =>0x000000005b0df800 JavaThread "Animation Thread" [_thread_in_native, id=6168, stack(0x000000005be90000,0x000000005bf90000)] 0x000000005b078000 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=4624, stack(0x000000005c910000,0x000000005ca10000)] 0x000000005b074800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4592, stack(0x000000005bbf0000,0x000000005bcf0000)] 0x000000005afcb000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5912, stack(0x000000005bac0000,0x000000005bbc0000)] 0x000000005afca000 JavaThread "AWT-Shutdown" [_thread_blocked, id=5224, stack(0x000000005b870000,0x000000005b970000)] 0x000000005afc5800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=7012, stack(0x000000005b660000,0x000000005b760000)] 0x0000000058baa800 JavaThread "Service Thread" daemon [_thread_blocked, id=7116, stack(0x000000005ac90000,0x000000005ad90000)] 0x0000000058b1d000 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=4940, stack(0x000000005aa60000,0x000000005ab60000)] 0x0000000058b1c000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=2788, stack(0x000000005a560000,0x000000005a660000)] 0x0000000058b18800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=6120, stack(0x000000005a900000,0x000000005aa00000)] 0x0000000058b0c800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=6036, stack(0x000000005a690000,0x000000005a790000)] 0x0000000058b01800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=6664, stack(0x000000005a340000,0x000000005a440000)] 0x0000000058afa800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=7004, stack(0x0000000059d70000,0x0000000059e70000)] 0x0000000058af7800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=5472, stack(0x000000005a130000,0x000000005a230000)] 0x0000000058ae8000 JavaThread "Attach Listener" daemon [_thread_blocked, id=5352, stack(0x000000005a240000,0x000000005a340000)] 0x0000000058ae6800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6912, stack(0x0000000059fd0000,0x000000005a0d0000)] 0x0000000057b42000 JavaThread "Finalizer" daemon [_thread_blocked, id=708, stack(0x0000000059ea0000,0x0000000059fa0000)] 0x0000000057b3a800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5844, stack(0x0000000059c60000,0x0000000059d60000)]

Other Threads: 0x0000000057b31800 VMThread [stack: 0x0000000059a80000,0x0000000059b80000] [id=6500] 0x0000000058bc3800 WatcherThread [stack: 0x000000005a790000,0x000000005a890000] [id=6172]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap: PSYoungGen total 38400K, used 13785K [0x00000000d5f00000, 0x00000000d8980000, 0x0000000100000000) eden space 33280K, 41% used [0x00000000d5f00000,0x00000000d6c76760,0x00000000d7f80000) from space 5120K, 0% used [0x00000000d8480000,0x00000000d8480000,0x00000000d8980000) to space 5120K, 0% used [0x00000000d7f80000,0x00000000d7f80000,0x00000000d8480000) ParOldGen total 87552K, used 0K [0x0000000081c00000, 0x0000000087180000, 0x00000000d5f00000) object space 87552K, 0% used [0x0000000081c00000,0x0000000081c00000,0x0000000087180000) Metaspace used 10159K, capacity 10312K, committed 10496K, reserved 1058816K class space used 1102K, capacity 1156K, committed 1280K, reserved 1048576K

Card table byte_map: [0x0000000011ad0000,0x0000000011ed0000] byte_map_base: 0x00000000116c2000

Marking Bits: (ParMarkBitMap*) 0x000000006866c720 Begin Bits: [0x0000000012e30000, 0x0000000014dc0000) End Bits: [0x0000000014dc0000, 0x0000000016d50000)

Polling page: 0x0000000001c60000

CodeCache: size=245760Kb used=1941Kb max_used=1945Kb free=243819Kb bounds [0x0000000002710000, 0x0000000002980000, 0x0000000011710000] total_blobs=871 nmethods=396 adapters=396 compilation: enabled

Compilation events (10 events): Event: 0.947 Thread 0x0000000058b18800 391 4 java.util.concurrent.ConcurrentHashMap::setTabAt (19 bytes) Event: 0.947 Thread 0x0000000058b18800 nmethod 391 0x00000000028f7110 code [0x00000000028f7240, 0x00000000028f72b8] Event: 0.966 Thread 0x0000000058b1d000 392 3 sun.util.locale.LocaleUtils::isUpper (18 bytes) Event: 0.966 Thread 0x0000000058b1d000 nmethod 392 0x00000000028f6910 code [0x00000000028f6a60, 0x00000000028f6c30] Event: 0.967 Thread 0x0000000058b1d000 393 3 java.lang.String:: (15 bytes) Event: 0.968 Thread 0x0000000058b1d000 nmethod 393 0x00000000028f6190 code [0x00000000028f6320, 0x00000000028f6728] Event: 0.970 Thread 0x0000000058b1d000 395 1 java.beans.PropertyChangeEvent::getPropertyName (5 bytes) Event: 0.970 Thread 0x0000000058b1d000 nmethod 395 0x00000000028f5b10 code [0x00000000028f5c60, 0x00000000028f5d70] Event: 0.970 Thread 0x0000000058b1d000 396 3 sun.util.locale.LocaleUtils::toLower (17 bytes) Event: 0.970 Thread 0x0000000058b1d000 nmethod 396 0x00000000028f5690 code [0x00000000028f5800, 0x00000000028f5a70]

GC Heap History (0 events): No events

Deoptimization events (0 events): No events

Internal exceptions (10 events): Event: 0.704 Thread 0x000000000208f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d630fb30) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390] Event: 0.704 Thread 0x000000000208f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d630fd40) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390] Event: 0.705 Thread 0x000000000208f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d63131e8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390] Event: 0.705 Thread 0x000000000208f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d63133f8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390] Event: 0.742 Thread 0x000000000208f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d6340730) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390] Event: 0.742 Thread 0x000000000208f000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d6340940) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390] Event: 0.743 Thread 0x000000000208f000 Exception <a 'java/io/FileNotFoundException'> (0x00000000d63486d0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jni.cpp, line 709] Event: 0.766 Thread 0x000000000208f000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x00000000d6416608) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146] Event: 0.767 Thread 0x000000000208f000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x00000000d6423958) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146] Event: 0.799 Thread 0x000000000208f000 Exception <a 'java/io/FileNotFoundException'> (0x00000000d64ba9c0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jni.cpp, line 709]

Events (10 events): Event: 0.971 loading class java/awt/Component$FlipBufferStrategy done Event: 0.971 loading class java/awt/Component$FlipSubRegionBufferStrategy done Event: 0.972 loading class sun/java2d/pipe/hw/ExtendedBufferCapabilities Event: 0.984 loading class sun/java2d/pipe/hw/ExtendedBufferCapabilities done Event: 0.984 loading class java/awt/AWTException Event: 0.984 loading class java/awt/AWTException done Event: 0.984 loading class java/awt/Component$BltSubRegionBufferStrategy Event: 0.984 loading class java/awt/Component$BltBufferStrategy Event: 0.984 loading class java/awt/Component$BltBufferStrategy done Event: 0.984 loading class java/awt/Component$BltSubRegionBufferStrategy done

Dynamic libraries: 0x000000013f630000 - 0x000000013f667000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\java.exe 0x0000000077210000 - 0x00000000773b9000 C:\Windows\SYSTEM32\ntdll.dll 0x00000000770f0000 - 0x000000007720f000 C:\Windows\system32\kernel32.dll 0x000007fefd210000 - 0x000007fefd27b000 C:\Windows\system32\KERNELBASE.dll 0x000007feff260000 - 0x000007feff33b000 C:\Windows\system32\ADVAPI32.dll 0x000007fefd530000 - 0x000007fefd5cf000 C:\Windows\system32\msvcrt.dll 0x000007fefdc40000 - 0x000007fefdc5f000 C:\Windows\SYSTEM32\sechost.dll 0x000007fefeb00000 - 0x000007fefec2d000 C:\Windows\system32\RPCRT4.dll 0x0000000076ff0000 - 0x00000000770ea000 C:\Windows\system32\USER32.dll 0x000007fefda60000 - 0x000007fefdac7000 C:\Windows\system32\GDI32.dll 0x000007feff0d0000 - 0x000007feff0de000 C:\Windows\system32\LPK.dll 0x000007fefea30000 - 0x000007fefeaf9000 C:\Windows\system32\USP10.dll 0x000007fefb950000 - 0x000007fefbb44000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll 0x000007fefdbc0000 - 0x000007fefdc31000 C:\Windows\system32\SHLWAPI.dll 0x000007fefea00000 - 0x000007fefea2e000 C:\Windows\system32\IMM32.DLL 0x000007fefd670000 - 0x000007fefd779000 C:\Windows\system32\MSCTF.dll 0x000000006b5b0000 - 0x000000006b682000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\msvcr100.dll 0x0000000067e50000 - 0x00000000686ec000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\server\jvm.dll 0x000007fef3440000 - 0x000007fef3449000 C:\Windows\system32\WSOCK32.dll 0x000007fefdb70000 - 0x000007fefdbbd000 C:\Windows\system32\WS2_32.dll 0x000007fefe9f0000 - 0x000007fefe9f8000 C:\Windows\system32\NSI.dll 0x000007fefac60000 - 0x000007fefac9b000 C:\Windows\system32\WINMM.dll 0x000007fefc2a0000 - 0x000007fefc2ac000 C:\Windows\system32\VERSION.dll 0x00000000773e0000 - 0x00000000773e7000 C:\Windows\system32\PSAPI.DLL 0x0000000074b00000 - 0x0000000074b0f000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\verify.dll 0x0000000074640000 - 0x0000000074669000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\java.dll 0x00000000739d0000 - 0x0000000073a05000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\jdwp.dll 0x0000000074460000 - 0x0000000074468000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\npt.dll 0x0000000074a40000 - 0x0000000074a56000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\zip.dll 0x000007fefdc60000 - 0x000007fefe9e8000 C:\Windows\system32\SHELL32.dll 0x000007fefeec0000 - 0x000007feff0c3000 C:\Windows\system32\ole32.dll 0x000007fefd160000 - 0x000007fefd16f000 C:\Windows\system32\profapi.dll 0x0000000073fa0000 - 0x0000000073fa9000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\dt_socket.dll 0x000007fefc990000 - 0x000007fefc9e5000 C:\Windows\system32\mswsock.dll 0x000007fefc680000 - 0x000007fefc687000 C:\Windows\System32\wshtcpip.dll 0x000000006b0e0000 - 0x000000006b278000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\awt.dll 0x000007fefec90000 - 0x000007fefed67000 C:\Windows\system32\OLEAUT32.dll 0x000007fefb8a0000 - 0x000007fefb8f6000 C:\Windows\system32\uxtheme.dll 0x000007fefb4c0000 - 0x000007fefb4d8000 C:\Windows\system32\dwmapi.dll 0x000007fefd050000 - 0x000007fefd05f000 C:\Windows\system32\CRYPTBASE.dll 0x000007fef3290000 - 0x000007fef33ad000 C:\Windows\system32\opengl32.dll 0x000007fef3bf0000 - 0x000007fef3c1d000 C:\Windows\system32\GLU32.dll 0x000007fef3190000 - 0x000007fef3281000 C:\Windows\system32\DDRAW.dll 0x000007fef3180000 - 0x000007fef3188000 C:\Windows\system32\DCIMAN32.dll 0x000007feff340000 - 0x000007feff517000 C:\Windows\system32\SETUPAPI.dll 0x000007fefd3f0000 - 0x000007fefd426000 C:\Windows\system32\CFGMGR32.dll 0x000007fefd4d0000 - 0x000007fefd4ea000 C:\Windows\system32\DEVOBJ.dll 0x0000000073b30000 - 0x0000000073b77000 D:\processing-3.3.5-windows64\processing-3.3.5\java\bin\fontmanager.dll 0x0000000064940000 - 0x0000000064955000 C:\Users\S506-1\Documents\Processing\libraries\sound\library\windows64\libwinpthread-1.dll 0x0000000070440000 - 0x00000000705c1000 C:\Users\S506-1\Documents\Processing\libraries\sound\library\windows64\libsndfile-1.dll 0x0000000063c80000 - 0x0000000063e0e000 C:\Users\S506-1\Documents\Processing\libraries\sound\library\windows64\libmpg123-0.dll 0x0000000065880000 - 0x0000000065f32000 C:\Users\S506-1\Documents\Processing\libraries\sound\library\windows64\libmethcla.dll 0x000000006b980000 - 0x000000006bb8e000 C:\Users\S506-1\Documents\Processing\libraries\sound\library\windows64\libMethClaInterface.dll 0x000007fefdad0000 - 0x000007fefdb69000 C:\Windows\system32\CLBCatQ.DLL 0x000007fefbf70000 - 0x000007fefbfbb000 C:\Windows\System32\MMDevApi.dll 0x000007fefbe40000 - 0x000007fefbf6c000 C:\Windows\System32\PROPSYS.dll 0x000007fefabc0000 - 0x000007fefac0f000 C:\Windows\system32\AUDIOSES.DLL 0x000007feed230000 - 0x000007feed355000 C:\Windows\system32\dbghelp.dll

VM Arguments: jvm_args: -agentlib:jdwp=transport=dt_socket,address=8730,server=y,suspend=y,quiet=y -Djna.nosys=true -Djava.ext.dirs=D:\processing-3.3.5-windows64\processing-3.3.5\java\lib\ext -Djava.library.path=;D:\processing-3.3.5-windows64\processing-3.3.5\core\library;C:\Users\S506-1\Documents\Processing\libraries\sound\library\windows64;D:\processing-3.3.5-windows64\processing-3.3.5\java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files\Common Files\Autodesk Shared;D:\processing-3.3.5-windows64\processing-3.3.5\java\bin;. -ea java_command: processing.core.PApplet --editor-location=638,268 --external --display=1 --sketch-path=C:\Users\S506-1\Documents\Processing\libraries\sound\examples\Demos\Sampler Sampler java_class_path (initial): C:\Users\S506-1\AppData\Local\Temp\Sampler3564639005310012561temp;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\core.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\gluegen-rt-natives-linux-aarch64.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\gluegen-rt-natives-linux-amd64.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\gluegen-rt-natives-linux-armv6hf.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\gluegen-rt-natives-linux-i586.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\gluegen-rt-natives-macosx-universal.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\gluegen-rt-natives-windows-amd64.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\gluegen-rt-natives-windows-i586.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\gluegen-rt.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\jogl-all-natives-linux-aarch64.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\jogl-all-natives-linux-amd64.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\jogl-all-natives-linux-armv6hf.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\jogl-all-natives-linux-i586.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\jogl-all-natives-macosx-universal.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\jogl-all-natives-windows-amd64.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\jogl-all-natives-windows-i586.jar;D:\processing-3.3.5-windows64\processing-3.3.5\core\library\jogl-all.jar;C:\Users\S506-1\Documents\Processing\libraries\sound\library\sound.jar;lib;lib\pde.jar;core\library\core.jar;lib\jna.jar;lib\jna-platform.jar;lib\antlr.jar;lib\ant.jar;lib\ant-launcher.jar Launcher Type: SUN_STANDARD

Environment Variables: PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files\Common Files\Autodesk Shared;D:\processing-3.3.5-windows64\processing-3.3.5\java\bin USERNAME=S506-1 OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel

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

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.17514)

CPU:total 8 (initial active 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, rtm, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2

Memory: 4k page, physical 8267276k(4660240k free), swap 16532708k(12375044k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.131-b11) for windows-amd64 JRE (1.8.0_131-b11), built on Mar 15 2017 01:23:53 by "java_re" with MS VC++ 10.0 (VS2010)

time: Thu Aug 17 10:23:55 2017 elapsed time: 1 seconds (0d 0h 0m 1s)

On Thu, Aug 17, 2017 at 2:56 AM, Osqui LittleRiver <[email protected]

wrote:

@miguelitoVargas https://github.com/miguelitovargas But I'm using Linux and I have the same problem, so...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/processing/processing-sound/issues/97#issuecomment-322997022, or mute the thread https://github.com/notifications/unsubscribe-auth/ABiKTkN-wGHfzGLrcuGS-aypg-9-EMu1ks5sY_IigaJpZM4KKX99 .

miguelitoVargas avatar Aug 17 '17 15:08 miguelitoVargas

This may not be the problem. But i had the same error when i nothing plugged into the sound port. once i plugged in my headphones it worked. Make sure you are getting sound from the computer and you are not having driver problems.

dfamil avatar Oct 30 '17 22:10 dfamil

I'm seeing a similar error (crash) on Windows 10 PC when running any Sound library example in Processing 3.3.6. Switching to Beads or Minim library avoided this problem, but I really want to use Processing sound library as an alternative.

hs_err_pid15888.log

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

Internal Error (0x20474343), pid=15888, tid=0x0000000000000ddc

JRE version: Java(TM) SE Runtime Environment (8.0_144-b01) (build 1.8.0_144-b01) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode windows-amd64 compressed oops) Problematic frame: C [KERNELBASE.dll+0x69d98]

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\Andy\Documents\tools\processing-3.3.6\hs_err_pid15888.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). Make sure that you haven't set the maximum available memory too high. For more information, read revisions.txt and Help ? Troubleshooting.

ajavamind avatar Nov 20 '17 14:11 ajavamind

Same issue here, Crashes ever time on Windows 10 + processing 3.3.6/3.3.7. It works perfectly on my win 7 laptop. So I guess this is cause by some compatibility issue with Windows 10. I did a little simplify on a demo code, I found it didn't failed when I just import the library. It occurred when I'm newing a sound item e.g. Pulse. And here is the log file and the code I ran.

[hs_err_pid6932.log]

//This is what a crashing code looks like
import processing.sound.*;

void setup () {
      pulse = new Pulse(this);  // bang on this line'
}

I'm wondering what is "Minidumps"? I tried to enable it in system setting but still be the same.

flamixin avatar Mar 16 '18 03:03 flamixin