friture icon indicating copy to clipboard operation
friture copied to clipboard

Crash on startup with Behringer UMC1820

Open wjakobczyk opened this issue 11 months ago • 3 comments

I'm getting:

Assertion 'uchunk->index % bq->base == 0' failed at ../src/pulsecore/memblockq.c:289, function pa_memblockq_push(). Aborting.

on startup of friture-0.51-20240722.AppImage. Log is:

2025-01-28 08:39:34,831 INFO friture.analyzer: Friture 0.51 starting on Linux (linux)
2025-01-28 08:39:34,831 INFO friture.analyzer: QML path: PyQt5.QtCore.QUrl('file:///tmp/.mount_friturENUVA1/usr/bin/_internal/')
2025-01-28 08:39:34,844 INFO friture.analyzer: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
2025-01-28 08:39:35,214 INFO friture.audiobackend: Initializing audio backend
2025-01-28 08:39:35,214 INFO friture.audiobackend: Found 3 input devices and 8 output devices
2025-01-28 08:39:35,226 INFO friture.audiobackend: Supported formats for 'default' on 'ALSA': ['22050 Hz, float32', '22050 Hz, int16', '22050 Hz, int8', '44100 Hz, float32', '44100 Hz, int16', '44100 Hz, int8', '48000 Hz, float32', '48000 Hz, int16', '48000 Hz, int8', '96000 Hz, float32', '96000 Hz, int16', '96000 Hz, int8']
2025-01-28 08:39:35,226 INFO friture.audiobackend: Opening the stream for device 'default'
2025-01-28 08:39:35,227 INFO friture.audiobackend: Device claims 42 ms latency
2025-01-28 08:39:35,228 INFO friture.audiobackend: Success
2025-01-28 08:39:35,228 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 2160000

When I turn off my Behringer UMC1820 interface friture starts ok.

wjakobczyk avatar Jan 28 '25 07:01 wjakobczyk

Thanks for the report @wjakobczyk, sorry for not getting back to you earlier. Is there a change this is fixed with a newer Linux distribution? I assume your Behringer audio interface works well in other programs ?

tlecomte avatar Sep 13 '25 20:09 tlecomte

I'm afraids it's still the same crash. And yes, other than that no issues with the Behringer. I'll be happy to help in investigating, just let me know what data you need.

wjakobczyk avatar Sep 29 '25 05:09 wjakobczyk

I seem to have the same issue. When I try to switch to my UMC204HD, it fails with following error:

2025-11-16 20:22:45,230 INFO friture.audiobackend: Opening the stream for device 'UMC204HD 192k: USB Audio (hw:7,0)'
2025-11-16 20:22:45,694 INFO friture.audiobackend: Device claims 42 ms latency
2025-11-16 20:22:45,694 ERROR friture.audiobackend: Failed to open input device
Traceback (most recent call last):
  File "/home/********/friture/friture/audiobackend.py", line 277, in select_input_device
    self.stream_start_time = self.stream.time
                             ^^^^^^^^^^^^^^^^
  File "/home/*********/friture/.venv/lib/python3.12/site-packages/sounddevice.py", line 1078, in time
    raise PortAudioError('Error getting stream time')
sounddevice.PortAudioError: Error getting stream time

kbasaran avatar Nov 16 '25 19:11 kbasaran