Skip to content

SoundFile causes a fatal Java error #127

@Starwort

Description

@Starwort

Description

When I run the sketch, instead of playing the sound, or even doing nothing at all, the entire sketch crashes with Java throwing a fatal error

Expected Behavior

Kinda obvious, I was expecting the mp3 to play (code matches up with reference's example)

Current Behavior

Crash
Error thrown in console:

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (0x20474343), pid=21196, tid=0x0000000000002124
#
# 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 windows-amd64 compressed oops)
# Problematic frame:
# C  [KERNELBASE.dll+0x14008]
#
# 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\Starwort\Downloads\processing-3.3.7\hs_err_pid21196.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.
#

The mentioned file can be found here

Steps to Reproduce

import processing.sound.*;
public void setup() {
  String mp3name = "cYsmix - Moonlight Sonata.mp3"; // this file exists in the \data folder of the sketch
  SoundFile file = new SoundFile(this,mp3name);
}

Your Environment

  • Processing version: 3.3.7
  • Operating System and OS version: Windows 10 Home
  • Other information: Graphics card: NVidia GTX 1050 Ti

Possible Causes / Solutions

Extra

Was sent here from default Processing repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions