Closed jtojnar closed 5 years ago
Based on the coredump output the crash is happening somewhere inside gtkmm in functions related to the treemodel class
. So my first guess is that something went wrong with this library installation. Looking at gdb output I saw ../gtkmm/treemodel.h: No such file or directory
. But if a header is missing I would expect a compilation problem. Not a runtime one. Strange...
Although I did some code refactoring related to the interface I don't see a reason for your libraries version not being able to handle the new version. I am using the same gtkmm functions I used in the older PulseEffects versions. It feels like a library installation problem.
The missing headers are just gdb
not being able to find them because they are installed under separate prefix. No need for concern.
I was also able to reproduce the same crash on at least 4.4.1.
Ok. So it has nothing to do with the latest changes... I have just finished an Arch Linux reinstall in one of my machines and I can not reproduce this issue. But a few relevant packages have newer versions here:
local/gtk3 3.24.2+7+g43aeb52b73-1
local/gtkmm3 3.24.0-1
local/glib2 2.58.2-1
local/glibmm 2.56.0-1
local/libsigc++ 2.10.1-1
local/gcc 8.2.1+20181127-1
I wonder if this could be related to the older gcc version... But again I would expect a compilation problem...
Updated the GTK version:
/nix/store/fivq0nbggp4y8mhy3ixprqd7qyn1hy2j-glibc-2.27
/nix/store/q2q1sg5sljia8sihhwcpbxir70yw33bw-glibc-2.27-dev
/nix/store/sf0wnp30savqz9ljn6fsrn8f63w5v0za-gcc-7.4.0-lib
/nix/store/4ga86h16l157r7bas9hcwxgl9d3r32s6-gcc-7.4.0
/nix/store/ajxd08dbicnm09cgqh3vy1nba5l7qpri-glib-2.58.2
/nix/store/vs6d2fjkl4kb3jb7rwibsd76k9v2n4xy-bash-4.4-p23
/nix/store/w3qqr23mdqbbaa9i3qnw1wyqlg3k9hxd-glib-2.58.2-dev
/nix/store/56hpd3gm1213sjs1fchnnv0vi00wflxb-gdk-pixbuf-2.38.0-dev
/nix/store/n6p5bc4yvd0ajmkzwfx7i3pxmx6kg2s3-libsigc++-2.10.1
/nix/store/f3s8r4qrxmf3snhq3yy65azm8lary58l-cairomm-1.12.2
/nix/store/hv8jjrrlyz4n903dx3qz34vv3jnskqaf-cairo-1.16.0-dev
/nix/store/dcw3gnnh9ab8psbm3ya2nazjm42dfv5a-cairomm-1.12.2-dev
/nix/store/f0rmjwvj9076bqfbpcy19xs7g2kvfzyq-pango-1.42.4-dev
/nix/store/k67kv9rz4bnaid7qqgcp705df8yajwzw-glibmm-2.58.0
/nix/store/nbw3v8scwr7nyzib74h0bhnpad2zhhgf-glibmm-2.58.0-dev
/nix/store/p213737midlgmf5i7nmvc2czgl4wgm8x-pangomm-2.42.0
/nix/store/c3h33q4w1db4pzqf7shgwinf4dsrdrw9-pangomm-2.42.0-dev
/nix/store/fdvcbi2xzyq2h87ascl0mz0wl2324gqk-atk-2.30.0-dev
/nix/store/hikkd92941s55sqlj2h9j3skj94azm97-gsettings-desktop-schemas-3.28.1
/nix/store/r99nhjhlvn1rc5a6mspghw9cgnanyyr1-gtk+3-3.24.2
/nix/store/dm9v9s1d24p7hda08snh02s85p79i091-gtk+3-3.24.2-dev
/nix/store/rrpcx5iwsqmkc3jarpgl18p30flyx7vv-atkmm-2.28.0
/nix/store/fl5qyvgbqrgmmm16kahr60g9qfrmn31v-atkmm-2.28.0-dev
/nix/store/2iwa6rr6klyamsg75f6lvj7l139kdlm7-gtkmm-3.24.0
/nix/store/44wj66drhzyd8wzn3hiiym5yaba7xknp-libsndfile-1.0.28
/nix/store/ccs44376hx4xkkgwxkvnf7sxlp058rp7-dconf-0.30.1-lib
/nix/store/3bhzsab947qsq2l3mjdwkhki1gsq8p5z-pulseaudio-12.2
/nix/store/5g2ccgin3nwcd5snxav4519zlpz53c9j-libebur128-1.2.4
/nix/store/7aa27vkjqkzrs2c103n3mqfr8vyvgflm-gtkmm-3.24.0-dev
/nix/store/z860f1h8h5zh30jfj6bhk6rys7dn5p0m-gstreamer-1.14.4
/nix/store/93h9jlfy82znnna0yzw8pcw6bmgdyc8a-gst-plugins-base-1.14.4
/nix/store/9knzqs8nzz8dh8g4rz7lql5ayrzwd24x-gst-plugins-good-1.14.4
/nix/store/sf4rhf77rvkwa7fgfi57890hsscpagy4-gstreamer-1.14.4-dev
/nix/store/dyr95ijhm0mirj14xic83c5scnxmb2zq-gst-plugins-base-1.14.4-dev
/nix/store/l47kd7fafxk57dzkhf4wxxkfs2ggciz2-libsamplerate-0.1.9
/nix/store/gjdcrpwvmkr778ikw55ja22ci7igdvph-rubberband-1.8.1
/nix/store/idqhmbihvny73rw870vfc9jkvk75qs8q-boost-1.67_0
/nix/store/j6yld3hnynqlxczhkf71sp109s1gwkcs-fftw-single-3.3.8-dev
/nix/store/m2dagi6nahcjygd74i0bmvrjxnrmgdy2-calf-0.90.0
/nix/store/n8ywp3b6v4maki5vn16l2k30iwkna7ba-libsndfile-1.0.28-dev
/nix/store/p7i764kkbn998j565f2b0wg9lx404fbn-zita-convolver-4.0.3
/nix/store/qgbawznfk0hqjpblgsnaayf1bdrjghn9-pulseaudio-12.2-dev
/nix/store/vk88yky19nfcwvc4v1cp2q9zqd4ank8i-librsvg-2.44.11
/nix/store/vd7z217nkajmgvy46sg44l2pa9a9sm55-gst-plugins-bad-1.14.4
/nix/store/vpwfzkav65jz2gj6xqzyf4c6z526c9dy-libsamplerate-0.1.9-dev
/nix/store/wjjipg294qmp7c59vixi7cjh488bx4kb-hicolor-icon-theme-0.17
/nix/store/y0q28wr06y5y0j030i62zmmz0j4ga5g2-zam-plugins-3.10
/nix/store/y7jz2zwvhrmh8pfpr3vds8n90ki7v6qc-cups-2.2.10
/nix/store/ycwmfw55zdw6b7mf076prs6hdxy07mbl-mda-lv2-1.2.2
/nix/store/zvpx59pcw0s3jc5xnvv1i5xhczdk0mz2-pulseeffects-4.4.1
Still the same issue.
I also wonder why the Never mind, they are part of the debugging information.-dev
paths are built into the gstreamer plug-ins but (correctly) not into the main binary.
Is there anything different you do that triggers the crash or just waiting? The coredump suggest the crash is happening after an input device is removed. This in turns triggers the treemodel functions to updated the combobox in the settings menu(Pulseaudio section).
I tried to plug/unplug an usb microphone here but somehow the menu is updated with no problems...
Try to run in service mode and see what happens pulseeffects --gapplication-service
. This way we can make sure it is a gtkmm problem.
One weird thing I noticed, is that if I remove my USB headphones, every few seconds (in irregular intervals), the GNOME Shell volume icon will disappear for fraction of a second. Maybe there is some issue with the sound card. Here is the journal log:
Is it possible that the TreeModel
is not thread-safe, and one thread will try to add a sound card, immediately after a different thread removed it?
As far as I remember gui toolkits should not be modified by external threads. But I think I am forcing this update to be done on the main thread. I will take a look
This is the function where the crash happens pulse_settings_ui.cpp#L254. This method is called through a sigc++ signal emitted here pulse_manager.cpp#L185. This PulseManager method is run in another thread. But inside it I use Glib::signal_idle().connect_once
to connect to the interface. As far as I could understand and my tests showed this Glib::signal_idle()
function forces the method to be called in the main ui thread.
Maybe it forces the main thread only in the C implementation but not in gtkmm implementation... It is not obvious...
I did some tests here printing the thread id and Glib::signal_idle()
is forcing the code to run on the main thread. So this does not seem to be the problem. Unless it behaves differently on different hardware
Hmm, it indeed looks like the whenever the front panel jack socket is not filled with a headphones/speaker plug, PulseEffects crashes.
I managed to connect headphones (the jack is a bit wonky and the contacts need precise alignment) and with that, PulseEffects started just fine. When I disconnected the headphones, PulseEffects immediately crashed and would crash after start-up when I tried to restart it.
When I re-plugged the headphones, it started working again. It does seem to matter whether the USB headphones are connected.
I found a way to force a crash like yours after commenting a few lines. Trying to erase a uninitialized Gtk::TreeIter
from an empty Gtk::ListStore
does that. Later tonight I will makes some changes to avoid this from happening. But I still wonder how this list is becoming empty on your installation before we even try to remove the entries from the combobox. Maybe it is related to the icon disappearing problem you saw. My guess is that this device is being added/removed
so fast that the signal to remove is sometimes getting before than the one that should add the entries to the interface
By further observation, I determined that the line-out on the mother board seems to be blocked when headphones are inserted into the front panel. And when there are no headphones plugged to the front panel, the computer will still think there are headphones plugged there for a fraction of a moment, seemingly corresponding to the icon disappearances I saw. It can be noticed in the control center:
https://gfycat.com/PlayfulSleepyGoldenmantledgroundsquirrel
Now I discovered it does not seem to crash with the headphones plugged into the line-out, so it looks like the crash happens when no audio socket of the motherboard is occupied. This confounds me.
Finally, I tried disconnected the front audio panel from the F_AUDIO
headers on the motherboard and the erratic control panel flickering stopped. But when I disconnected the headphones from line-out, PulseEffects were still crashing. This falsifies the short on the front audio panel hypothesis; now I really have no idea.
I pushed a few changes to the master branch. Are you able to test it? It should avoid the crash. But it won't fix the source of the problem in you computer.
I can confirm that it fixes the crash, thank you very much.
Ok. I released a bugfix version 4.4.5
with this fix. But have in mind that whatever is wrong in your computer is still wrong
Just for the reference, here are the debug console outputs. It can be clearly seen that the devices are added and removed again and again:
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.120: application: PE version: 4.4.4
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.122: pulse_manager: context is connecting
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: context is authorizing
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: context is setting name
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: context is ready
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: connected to: /run/user/1000/pulse/native
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: protocol version: 32
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: Pulseaudio version: 12.2
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: default pulseaudio source: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: default pulseaudio sink: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: loading Pulseeffects applications output sink...
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: default pulseaudio sink sampling rate: 48000 Hz
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: default pulseaudio sink audio format: s16le
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.123: pulse_manager: loading Pulseeffects microphone output sink...
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.124: pulse_manager: default pulseaudio source sampling rate: 16000 Hz
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.124: pulse_manager: default pulseaudio source audio format: s16le
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.135: sie: using input device: PulseEffects_apps.monitor
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.135: sie: using output device: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.139: sie: limiter is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.141: sie: compressor is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.142: sie: filter is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.146: sie: equalizer is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.148: sie: reverb is enabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.150: sie: bass_enhancer is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.151: sie: exciter is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.153: sie: crossfeed is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.158: sie: maximizer is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.161: sie: multiband_compressor is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.162: sie: loudness is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.163: sie: gate is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.167: sie: pitch is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.170: sie: multiband_gate is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.172: sie: deesser is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.174: sie: stereo_tools is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.178: sie: convolver is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.179: sie: crystalizer is enabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.181: sie: autogain is enabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.199: soe: using output device: PulseEffects_mic
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.199: soe: using input device: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.199: soe: limiter is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.200: soe: compressor is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.201: soe: filter is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.205: soe: equalizer is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.206: soe: reverb is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.207: soe: gate is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.207: soe: deesser is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.209: soe: pitch is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.216: soe: webrtc is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.218: soe: multiband_compressor is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.219: soe: multiband_gate is already disabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.223: presets_manager: user preset directory already exists: /home/jtojnar/.config/PulseEffects
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.502: convolver_ui: irs directory already exists: /home/jtojnar/.config/PulseEffects/irs
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.800: sie: spectrum enabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:17.801: soe: spectrum enabled
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.239: pulse_manager: sink input: AudioIPC Server, idx = 165 moved to PE
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.241: sie: using output device: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.241: pulse_settings_ui: output device changed: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.241: pulse_settings_ui: added sink: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.241: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.241: pulse_settings_ui: added source: alsa_input.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.242: soe: using input device: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.242: pulse_settings_ui: input device changed: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.242: pulse_settings_ui: added source: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.242: pulse_settings_ui: added source: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo.monitor
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.242: pulse_settings_ui: added source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.242: pulse_settings_ui: removed source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:17360): pulseeffects-DEBUG: 01:55:18.242: pulse_settings_ui: removed sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.625: application: PE version: 4.4.4
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.627: pulse_manager: context is connecting
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.627: pulse_manager: context is authorizing
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: context is setting name
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: context is ready
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: connected to: /run/user/1000/pulse/native
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: protocol version: 32
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: Pulseaudio version: 12.2
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: default pulseaudio source: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: default pulseaudio sink: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: loading Pulseeffects applications output sink...
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: default pulseaudio sink sampling rate: 48000 Hz
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.628: pulse_manager: default pulseaudio sink audio format: s16le
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.629: pulse_manager: sink loaded
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.629: pulse_manager: loading Pulseeffects microphone output sink...
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.629: pulse_manager: default pulseaudio source sampling rate: 16000 Hz
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.629: pulse_manager: default pulseaudio source audio format: s16le
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.629: pulse_manager: sink loaded
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.641: sie: using input device: PulseEffects_apps.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.641: sie: using output device: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.646: sie: limiter is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.648: sie: compressor is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.650: sie: filter is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.653: sie: equalizer is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.655: sie: reverb is enabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.656: sie: bass_enhancer is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.658: sie: exciter is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.660: sie: crossfeed is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.665: sie: maximizer is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.669: sie: multiband_compressor is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.670: sie: loudness is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.672: sie: gate is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.675: sie: pitch is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.678: sie: multiband_gate is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.681: sie: deesser is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.683: sie: stereo_tools is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.686: sie: convolver is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.688: sie: crystalizer is enabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.689: sie: autogain is enabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.708: soe: using output device: PulseEffects_mic
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.708: soe: using input device: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.708: soe: limiter is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.710: soe: compressor is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.710: soe: filter is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.716: soe: equalizer is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.717: soe: reverb is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.717: soe: gate is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.718: soe: deesser is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.720: soe: pitch is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.726: soe: webrtc is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.727: soe: multiband_compressor is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.728: soe: multiband_gate is already disabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:15.732: presets_manager: user preset directory already exists: /home/jtojnar/.config/PulseEffects
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:16.031: convolver_ui: irs directory already exists: /home/jtojnar/.config/PulseEffects/irs
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:16.349: sie: spectrum enabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:16.350: soe: spectrum enabled
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.816: pulse_manager: sink input: AudioIPC Server, idx = 191 moved to PE
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: sie: using output device: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: pulse_settings_ui: output device changed: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: pulse_settings_ui: added sink: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: pulse_settings_ui: added source: alsa_input.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: soe: using input device: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: pulse_settings_ui: input device changed: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: pulse_settings_ui: added source: alsa_input.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-mono
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: pulse_settings_ui: added source: alsa_output.usb-0b0e_Jabra_REVO_v4.0.0_1C48F9005017040000-00.analog-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:17.820: pulse_settings_ui: added source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.003: pulse_settings_ui: removed source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.003: pulse_settings_ui: removed sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.003: pulse_settings_ui: added source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.003: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.006: sie: NULL -> READY -> PLAYING
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.007: sie: READY -> PAUSED -> PLAYING
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.007: sie: pulsesrc latency [us]: 10000
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.007: sie: pulsesrc buffer [us]: 200000
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.007: sie: sampling rate: 48000 Hz
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.036: peadapter: pulseaudio block size 480 frames
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.036: peadapter: we will read in chunks of 512 frames
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.042: sie: pulsesink latency [us]: 10000
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.042: sie: pulsesink buffer [us]: 200000
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.042: sie: PAUSED -> PLAYING -> VOID_PENDING
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:18.042: sie: total latency: 120 ms
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:19.894: pulse_settings_ui: removed source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:19.894: pulse_settings_ui: removed sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:19.894: pulse_settings_ui: added source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:19.894: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:19.978: pulse_settings_ui: removed source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:19.978: pulse_settings_ui: removed sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:19.978: pulse_settings_ui: added source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:19.978: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:22.379: pulse_settings_ui: removed source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:22.379: pulse_settings_ui: removed sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:22.379: pulse_settings_ui: added source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:22.379: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:23.888: pulse_settings_ui: removed source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:23.888: pulse_settings_ui: removed sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:23.888: pulse_settings_ui: added source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:23.888: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:24.932: pulse_settings_ui: removed source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:24.932: pulse_settings_ui: removed sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:24.932: pulse_settings_ui: added source: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor
(pulseeffects:28907): pulseeffects-DEBUG: 02:04:24.932: pulse_settings_ui: added sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
…
Very strange. My suggestion is that you try to contact Pulseaudio developers or debug Pulseaudio somehow. In PulseEffects we only react to the signals Pulseaudio is emitting.
As there was never a crash related to sink removal I think that only the source device (mic) is being added and removed again and again. PulseEffects logs are a little misleading in this regard. Whenever a device is added/removed it shows the name of both the source and the sink even if only one of them was actually added or removed. I will improve these messages someday...
4.4.7 community build crashes on Kubuntu 18.04.
I can send other info as well if you need it.
The crash is happening in GTK functions. My guess is that pulseeffect's package was built for a version of GTK, GTKMM or GLIBMM that is different from the ones you have installed.
The crash is happening in GTK functions. My guess is that pulseeffect's package was built for a version of GTK, GTKMM or GLIBMM that is different from the ones you have installed.
Yeah, most likely. Worth building it manually.
Running PulseEffects 4.4.4 built with Nix on Ubuntu, I get the following crash few seconds after start up.
I ran
rm -r ~/.config/PulseEffects
anddconf reset -f /com/github/wwmm/pulseeffects/
beforehand.log
```ShellSession $ coredumpctl gdb PID: 6686 (.pulseeffects-w) UID: 1000 (jtojnar) GID: 1000 (jtojnar) Signal: 11 (SEGV) Timestamp: Thu 2019-01-03 19:07:33 CET (23s ago) Command Line: result/bin/pulseeffects Executable: /nix/store/dgfjwpvcwi33p1vrpi52k7y7hl1xi8zs-pulseeffects-4.4.4/bin/.pulseeffects-wrapped Control Group: /user.slice/user-1000.slice/user@1000.service/gnome-terminal-server.service Unit: user@1000.service User Unit: gnome-terminal-server.service Slice: user-1000.slice Owner UID: 1000 (jtojnar) Boot ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Machine ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Hostname: jtojnar Storage: /var/lib/systemd/coredump/core.\x2epulseeffects-w.1000.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.6686.XXXXXXXXXXXXXXXX.lz4 Message: Process 6686 (.pulseeffects-w) of user 1000 dumped core. Stack trace of thread 6686: #0 0x00007f5289473b0b _ZN3Gtk9TreeModel4gobjEv (libgtkmm-3.0.so.1) #1 0x00007f52894239de _ZN3Gtk9ListStore5eraseERKNS_8TreeIterE (libgtkmm-3.0.so.1) #2 0x000000000047b2cf _ZN15PulseSettingsUi17on_source_removedEj (.pulseeffects-wrapped) #3 0x0000000000480c75 _ZNK4sigc18bound_mem_functor1Iv15PulseSettingsUijEclERKj (.pulseeffects-wrapped) #4 0x00000000004980fc _ZN4sigc8internal12signal_emit1IvjNS_3nilEE4emitEPNS0_11signal_implERKj (.pulseeffects-wrapped) #5 0x000000000048f0a3 _ZNK4sigc7signal1IvjNS_3nilEE4emitERKj (.pulseeffects-wrapped) #6 0x000000000048f0b5 call_it (.pulseeffects-wrapped) #7 0x00007f528a9f8960 _ZN12_GLOBAL__N_1L27glibmm_source_callback_onceEPv (libglibmm-2.4.so.1) #8 0x00007f528ac7f7d5 g_main_context_dispatch (libglib-2.0.so.0) #9 0x00007f528ac7fc40 g_main_context_iterate.isra.26 (libglib-2.0.so.0) #10 0x00007f528ac7fe1c g_main_context_iteration (libglib-2.0.so.0) #11 0x00007f528990325d g_application_run (libgio-2.0.so.0) #12 0x00007f52893cfe0b _ZN3Gtk11Application3runEiPPc (libgtkmm-3.0.so.1) #13 0x0000000000462a85 main (.pulseeffects-wrapped) #14 0x00007f52866a4b8e __libc_start_main (libc.so.6) #15 0x000000000046284a _start (.pulseeffects-wrapped) Stack trace of thread 6688: #0 0x00007f5286770229 syscall (libc.so.6) #1 0x00007f528acda89a g_cond_wait_until (libglib-2.0.so.0) #2 0x00007f528ac46cf6 g_async_queue_timeout_pop (libglib-2.0.so.0) #3 0x00007f528acb312e g_thread_pool_thread_proxy (libglib-2.0.so.0) #4 0x00007f528acb2905 g_thread_proxy (libglib-2.0.so.0) #5 0x00007f5286a3e5a7 start_thread (libpthread.so.0) #6 0x00007f528677522f __clone (libc.so.6) Stack trace of thread 6687: #0 0x00007f528676b501 __poll (libc.so.6) #1 0x00007f528ac7fb4e g_main_context_iterate.isra.26 (libglib-2.0.so.0) #2 0x00007f528ac7fe1c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f528ac7fe61 glib_worker_main (libglib-2.0.so.0) #4 0x00007f528acb2905 g_thread_proxy (libglib-2.0.so.0) #5 0x00007f5286a3e5a7 start_thread (libpthread.so.0) #6 0x00007f528677522f __clone (libc.so.6) Stack trace of thread 6691: #0 0x00007f528676b501 __poll (libc.so.6) #1 0x00007f528af93c61 poll_func (libpulse.so.0) #2 0x00007f528af85610 pa_mainloop_poll (libpulse.so.0) #3 0x00007f528af85ca0 pa_mainloop_iterate (libpulse.so.0) #4 0x00007f528af85d30 pa_mainloop_run (libpulse.so.0) #5 0x00007f528af93ba9 thread (libpulse.so.0) #6 0x00007f5286455f88 internal_thread_func (libpulsecommon-12.2.so) #7 0x00007f5286a3e5a7 start_thread (libpthread.so.0) #8 0x00007f528677522f __clone (libc.so.6) Stack trace of thread 6690: #0 0x00007f528676b501 __poll (libc.so.6) #1 0x00007f528ac7fb4e g_main_context_iterate.isra.26 (libglib-2.0.so.0) #2 0x00007f528ac7fe1c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f527ad9fe1d dconf_gdbus_worker_thread (libdconfsettings.so) #4 0x00007f528acb2905 g_thread_proxy (libglib-2.0.so.0) #5 0x00007f5286a3e5a7 start_thread (libpthread.so.0) #6 0x00007f528677522f __clone (libc.so.6) Stack trace of thread 6689: #0 0x00007f528676b501 __poll (libc.so.6) #1 0x00007f528ac7fb4e g_main_context_iterate.isra.26 (libglib-2.0.so.0) #2 0x00007f528ac80152 g_main_loop_run (libglib-2.0.so.0) #3 0x00007f5289942da6 gdbus_shared_thread_func (libgio-2.0.so.0) #4 0x00007f528acb2905 g_thread_proxy (libglib-2.0.so.0) #5 0x00007f5286a3e5a7 start_thread (libpthread.so.0) #6 0x00007f528677522f __clone (libc.so.6) GNU gdb (Ubuntu 8.2-0ubuntu1) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later