friture
friture copied to clipboard
Ubuntu: Segmentation fault on any key press and on exit
friture-0.43-20210128.AppImage, Ubuntu 18.04
Launching from command-line. Friture opens to the main window. I can use mouse for most operations, but pressing any key (even Shift) causes it to close with "Segmentation fault" message. I can use Friture for the purpose (it does process correctly the active audio, routed via JACK to system), just remember not to press any keys. Also for some reason the processing ceases completely after a while, even though the audio is still live, as if Friture somehow loses connection to the device.
Below is the contents of ~/.local/share/Friture/friture.log.txt
after a key press or after just closing the new window with the mouse (X):
------------
$ ./friture-0.43-20210128.AppImage
Segmentation fault
$ cat ~/.local/share/Friture/friture.log.txt
2021-03-01 02:45:05,425 INFO friture.analyzer: Friture 0.43 starting on Linux (linux)
2021-03-01 02:45:05,980 INFO friture.audiobackend: Initializing audio backend
2021-03-01 02:45:05,981 INFO friture.audiobackend: Found 5 input devices and 9 output devices
2021-03-01 02:45:06,020 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']
2021-03-01 02:45:06,020 INFO friture.audiobackend: Opening the stream for device 'default'
2021-03-01 02:45:06,027 INFO friture.audiobackend: Device claims 42 ms latency
2021-03-01 02:45:06,029 INFO friture.audiobackend: Success
2021-03-01 02:45:06,127 INFO friture.audioproc: audioproc: updating self.freq cache
2021-03-01 02:45:06,128 INFO friture.audioproc: audioproc: updating window
2021-03-01 02:45:06,128 INFO friture.audioproc: audioproc: updating self.freq cache
2021-03-01 02:45:06,131 INFO friture.audioproc: audioproc: updating window
2021-03-01 02:45:06,144 INFO friture.analyzer: Timer start
2021-03-01 02:45:06,145 INFO friture.analyzer: Init finished, entering the main loop
2021-03-01 02:45:06,177 INFO friture.plotting.glCanvasWidget: OpenGL format: version 3.0, No profile, Desktop OpenGL rendering
2021-03-01 02:45:06,185 INFO friture.plotting.glCanvasWidget: Intel Open Source Technology Center, Mesa DRI Intel(R) Sandybridge Mobile , Version: 3.0 Mesa 19.2.8, Shaders: 1.30, Extensions: 220
2021-03-01 02:45:06,212 ERROR friture.audiobackend: Failed to read stream time
Traceback (most recent call last):
File "friture/audiobackend.py", line 481, in get_stream_time
File "sounddevice.py", line 1061, in time
sounddevice.PortAudioError: Error getting stream time
2021-03-01 02:45:06,213 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360
----------
Not sure it's the same or not, but on Ubuntu 20.04:
~/Downloads/friture-0.43-20210128.AppImage
(friture:7725): Gtk-WARNING **: 14:07:48.840: Theme parsing error: gtk.css:6313:18: Missing name of pseudo-class (friture:7725): Gtk-WARNING **: 14:07:48.840: Theme parsing error: gtk.css:6318:20: Missing name of pseudo-class (friture:7725): Gtk-WARNING **: 14:07:48.840: Theme parsing error: gtk.css:6336:17: Missing name of pseudo-class (friture:7725): Gtk-WARNING **: 14:07:48.840: Theme parsing error: gtk.css:6351:18: '-gtk-icon-effect' is not a valid property name (friture:7725): Gtk-WARNING **: 14:07:48.840: Theme parsing error: gtk.css:6364:16: Missing name of pseudo-class (friture:7725): Gtk-WARNING **: 14:07:48.840: Theme parsing error: gtk.css:6369:16: Missing name of pseudo-class (friture:7725): Gtk-WARNING **: 14:07:48.840: Theme parsing error: gtk.css:6385:15: Missing name of pseudo-class Segmentation fault (core dumped)
I have the same error with Friture 0.45-20210328 on Debian testing/Bullseye.
First I had to install Python3-PyAudio manually, as stated on issue #145. Then Friture works bug segfaults when pressing any key
I see the same crash with 20210308 on Mint 20 (mostly Ubuntu 20.04). I already have python3-pyaudio and libportaudio installed.
It does not write anything to the log file before it dies, I waited a while after starting to press a key in the FFT settings dialog.
Build/install from git does not work either pip install gets error, see attached log2.txt
+1 with the segfault, as soon as I type anything (even if it's just a modifier key like ALT to move the window) it's gone. Xubuntu 20.10 here, no useful debug output whatsoever (except "Segmentation fault (core dumped)")