Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] AudioStream: Floating Point Exception Causing Core Dump #373

Open
stefets opened this issue Sep 1, 2024 · 0 comments
Open

[Linux] AudioStream: Floating Point Exception Causing Core Dump #373

stefets opened this issue Sep 1, 2024 · 0 comments

Comments

@stefets
Copy link

stefets commented Sep 1, 2024

I am on Linux and I try the real time live audio capture with two USB sound card

OS: Linux Mint 21.1 x86_64 
Host: 10AY001TCA ThinkCentre M73 
Kernel: 5.15.0-118-generic 
Shell: bash 5.1.16 
CPU: Intel Pentium G3220T (2) @ 2.600GHz
GPU: Intel HD Graphics 
Memory: 2985MiB / 7750MiB 

The script is simple as possible:

from pedalboard import Pedalboard, Chorus
from pedalboard.io import AudioStream

with AudioStream(
  input_device_name="U192k",  # Guitar interface
  output_device_name="SD90"   # Edirol SD-90
) as stream:
  stream.plugins = Pedalboard([Chorus()])
  input("Press enter to stop streaming...")

My card are configured correctly:

$ cat /proc/asound/cards
 2 [U192k          ]: USB-Audio - UMC204HD 192k
                      BEHRINGER UMC204HD 192k at usb-0000:00:14.0-2.2, high speed
 3 [SD90           ]: USB-Audio - SD-90
                      EDIROL SD-90 at usb-0000:00:14.0-1, full speed

As soon as I lauch the script it core dumped.

$ python app.py 
Press enter to stop streaming...Floating point exception (core dumped)

I have located the core dump and open it with coredumpctl gdb and this is the result:

$ coredumpctl gdb 4736
Core was generated by `python app.py'.
Program terminated with signal SIGFPE, Arithmetic exception.
#0  0x00007f3997755945 in Pedalboard::AudioStream::audioDeviceIOCallback (this=0x0, inputChannelData=0x2, numInputChannels=0, outputChannelData=0x12e2ea0, numOutputChannels=19570592, numSamples=512)
    at /project/pedalboard/io/AudioStream.h:302
302	/project/pedalboard/io/AudioStream.h: No such file or directory.

Does anyone have any advice on how to try to fix this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant