processing / processing-sound

Audio library for Processing built with JSyn
https://processing.org/reference/libraries/sound/
GNU Lesser General Public License v2.1
149 stars 50 forks source link

amp.analyze() causes crash when using a SoundFile. #2

Closed ghost closed 6 years ago

ghost commented 6 years ago

Here is the error message:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000129d6764a, pid=5943, tid=0x000000000000ec03
#
# JRE version: Java(TM) SE Runtime Environment (8.0_162-b12) (build 1.8.0_162-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.162-b12 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# 
C  [libmethcla.dylib+0xb64a]  _ZN7Methcla5Audio15EnvironmentImpl9nodeEndedENS0_6NodeIdE+0x5a
#
# 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/zbot473/hs_err_pid5943.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.
kevinstadler commented 6 years ago

It seems that you are using the old (1.4.0) version of the library, which is no longer supported. Can you go to the Contribution Manager, update the Sound library to version 2.0.0 (the interface should highlight the available update for you) and let us know if that solves the problem?

ghost commented 6 years ago

Ok. that fixed it. Thanks.