processing-sound-archive
processing-sound-archive copied to clipboard
Fatal error on Window Close
When a sketch that uses Sound is closed through the PDE by hitting the Stop
button, all is fine. But if the sketch is closed on the display window, it always creates a fatal error:
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000400020, pid=4044, tid=123139
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000400020
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/REAS/hs_err_pid4044.log
I'm running 10.10.3 and 1.3.1, but this issue has been seen across a number of OS X versions and Processing 3 alpha and beta software.
I’m having the same issue with Processing 3.0 on OS 10.11. Curiously it must have something to do with OpenGL because it doesn’t happen with the standard Java renderer.
I get this error when running the example code from the Amplitude documentation (AudioInput and Amplitude) as part of a larger sketch. Tested on Windows and OS X using Sound 1.3.1 and Processing 3.0.
I thought it could be a tear down problem, but stopping the input has no effect, nor does disposing it.