Crash on startup with Behringer UMC1820
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.
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 ?
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.
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