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

Sound Library causing JRE VM runtime error

Open benfry opened this issue 8 years ago • 7 comments

https://github.com/processing/processing/issues/4727

benfry avatar Nov 04 '16 22:11 benfry

I was able to get the sound to start playing again. I think something got corrupted in the registry related to Java or JRE. I uninstalled all Java and JRE programs, and reinstalled the latest versions a couple of times and then it started working again. Not sure what the corruption was, I tried removing all references to Java and JRE from the registry (backing it up first), and their were a ton of references even though the programs were uninstalled,before installing them, but this did not solve it, so I uninstalled them again, restored the registry, and reinstalled them and it worked.

bworld1 avatar Nov 06 '16 03:11 bworld1

This program crashes the JVM on Windows10/64 and Windows 7/64. Interestingly, it works fine on another of my Windows 7/64 machines. (Processing 3.2.3 and Sound 1.3.2)

import processing.sound.*;

void setup() {
  SinOsc so = new SinOsc(this);
  so.play();
}

void draw() {}

Crash log attached.

hs_err_pid308.log.txt

Robodanny avatar Jan 15 '17 23:01 Robodanny

I have the same problem. I upgrade my Mac to 10.12.3, now the sound library doesn't work and it is the only library so far that I have tested that fail to work. I can use minim instead to play sound.

Tuangping avatar Mar 07 '17 21:03 Tuangping

Yea I switched to Minim as well.

On 3/7/2017 3:27 PM, Tuangping wrote:

I have the same problem. I upgrade my Mac to 10.12.3, now the sound library doesn't work and it is the only library so far that I have tested that fail to work. I can use minim instead to play sound.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/processing/processing-sound/issues/100#issuecomment-284864655, or mute the thread https://github.com/notifications/unsubscribe-auth/AVn80nfC0Lz_ZNA4hKTfAzR4JU68gpFTks5rjcupgaJpZM4KqD1g.

bworld1 avatar Mar 08 '17 01:03 bworld1

It seems this issue is the same: https://github.com/processing/processing-sound/issues/97

q2dg avatar Aug 16 '17 23:08 q2dg

same problem on windows 8.2, used to work fine.

tuggerfub avatar Oct 17 '17 01:10 tuggerfub

Same issue here, Crashes ever time on Windows 10 + processing 3.3.6/3.3.7 + Sound 1.4.0. 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 04:03 flamixin