Closed okcprime closed 5 years ago
The error Assertion 'o' failed at pulse/operation.c:133, function pa_operation_get_state(). Aborting.
may be caused by missing plugins. Not all of them are optional. Is the package gstreamer1.0-autogain-pulseeffects
installed?
Forget it. It is optional so it should not be the problem
Check if gstreamer1.0-adapter-pulseeffects
is really installed.
it shows installed
dpkg -s gstreamer1.0-adapter-pulseeffects gstreamer1.0-adapter-pulseeffects
Package: gstreamer1.0-adapter-pulseeffects
Status: install ok installed
Priority: optional
Section: sound
Installed-Size: 33
Maintainer: Mikhail Novosyolov <mikhailnov@dumalogiya.ru>
Architecture: amd64
Source: pulseeffects
Version: 4.3.7-1~bionic1
Provides: gstreamer1.0-adapter, peadapter
Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.37.3), libgstreamer-plugins-base1.0-0 (>= 1.0.0), libgstreamer1.0-0 (>= 1.12.5), libstdc++6 (>= 4.1.1)
Description: Gstreamer adapter
Simple plugin that gives output buffers
with the desired number of samples.
.
It is used in PulseEffects to ensure that
the number of audio samples in the buffer
is a power of 2. The convolver needs this.
Homepage: https://github.com/wwmm/pulseeffects
Package: gstreamer1.0-adapter-pulseeffects
Status: install ok installed
Priority: optional
Section: sound
Installed-Size: 33
Maintainer: Mikhail Novosyolov <mikhailnov@dumalogiya.ru>
Architecture: amd64
Source: pulseeffects
Version: 4.3.7-1~bionic1
Provides: gstreamer1.0-adapter, peadapter
Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.37.3), libgstreamer-plugins-base1.0-0 (>= 1.0.0), libgstreamer1.0-0 (>= 1.12.5), libstdc++6 (>= 4.1.1)
Description: Gstreamer adapter
Simple plugin that gives output buffers
with the desired number of samples.
.
It is used in PulseEffects to ensure that
the number of audio samples in the buffer
is a power of 2. The convolver needs this.
Homepage: https://github.com/wwmm/pulseeffects
The situation is that when I click the pulseeffects from the application launcher it notify me as
Pulseeffects was Updated with option to reset the settings ( yes/No) but nothing happens , Any idea to diagnose the issue ??
Assertion 'o' failed at pulse/operation.c:133, function pa_operation_get_state(). Aborting.
[1] 9126 abort (core dumped) pulseeffects --reset
If i do run pulseeffects --gapplication-service
it immediately shows The pop up notification as Pulseeffects was Updated ....... with option yes/no to reset . than it halts
Few information ( if it helps )
sudo journalctl | grep -i pulse
Sep 27 04:19:59 dev-system dbus-daemon[754]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.48' (uid=1000 pid=1479 comm="/usr/bin/pulseaudio --daemonize=no " label="unconfined")
Sep 27 04:20:00 dev-system dbus-daemon[1043]: [session uid=1000 pid=1043] Activating service name='org.gnome.GConf' requested by ':1.31' (uid=1000 pid=1528 comm="/usr/lib/x86_64-linux-gnu/pulse/gconf-helper " label="unconfined")
Sep 27 04:20:00 dev-system pulseaudio[1479]: E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
Sep 27 04:20:01 dev-system pulseaudio[1479]: E: [pulseaudio] module.c: Module "module-device-manager" should be loaded once at most. Refusing to load.
Sep 27 04:20:05 dev-system dbus-daemon[1043]: [session uid=1000 pid=1043] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.33' (uid=1000 pid=1493 comm="/usr/bin/pulseeffects --gapplication-service " label="unconfined")
Sep 27 04:20:05 dev-system dbus-daemon[1043]: [session uid=1000 pid=1043] Activating service name='org.freedesktop.Notifications' requested by ':1.33' (uid=1000 pid=1493 comm="/usr/bin/pulseeffects --gapplication-service " label="unconfined")
Sep 27 06:03:14 dev-system whoopsie-upload-all[6636]: /var/crash/_usr_bin_pulseeffects.1000.crash already marked for upload, skipping
Sep 27 06:03:19 dev-system whoopsie-upload-all[7442]: /var/crash/_usr_bin_pulseeffects.1000.crash already marked for upload, skipping
Sep 27 11:22:56 dev-system org.kde.ActivityManager[1043]: Creating the cache for: "applications:com.github.wwmm.pulseeffects.desktop"
Sep 27 11:22:56 dev-system org.kde.ActivityManager[1043]: ResourceScoreUpdated: "70afa59a-5fb3-4fb2-90b9-2ac5be2a81ca" "org.kde.plasma.kicker" "applications:com.github.wwmm.pulseeffects.desktop"
Sep 27 11:23:25 dev-system org.kde.ActivityManager[1043]: Creating the cache for: "applications:com.github.wwmm.pulseeffects.desktop"
Sep 27 11:23:25 dev-system org.kde.ActivityManager[1043]: ResourceScoreUpdated: "70afa59a-5fb3-4fb2-90b9-2ac5be2a81ca" "org.kde.plasma.kicker" "applications:com.github.wwmm.pulseeffects.desktop"
Even after a complete removal of the pulseeffects package from my system I have installed it again but the situation is same
removed :: few other files too manually after uninstalling the pulseeffects like $HOME/.config/pulse
Try to reset PulseEffects from the command line dconf reset -f /com/github/wwmm/pulseeffects/
I have done as said to reset PulseEffects with dconf reset........... but no change to the issue But one thing i noticed when i checked pulseeffects with my one more system ( same distribution installed )
The issue is even after removing the pulseeffects package and after reboot My system still shows PulseEffescts ( app ) & ( mic) as device suitable for all these categories
While i have checked in my other system if i do uninstall the package this list never shows the PulseEffects as available device
I think If somehow it can be removed from the system than the issue can be resolved
@wwmm kinda weird experience but issue resolved .. when i connected my USB sound card just few moments ago and i clicked the PulseEffects from menu and suddenly it worked
look at this
What keeps PulseEffects from not loading it's GUI and showing those errors !!!!!
Strange. We may be having another problem with phonon/kde. It would not be the first time...
Same behavior here. (pulseeffects 4.3.7)
thor@thor ~ $ pulseeffects Assertion 'o' failed at pulse/operation.c:133, function pa_operation_get_state(). Aborting. Aborted (core dumped) thor@thor ~ $
This is my system:
What is printed in the terminal when you run PE in debug mode G_MESSAGES_DEBUG=pulseeffects pulseeffects
?
thor@thor ~ $ G_MESSAGES_DEBUG=pulseeffects pulseeffects (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.549: application: PE version: 4.3.7 (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.550: pulse_manager: context is connecting (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.550: pulse_manager: context is authorizing (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.550: pulse_manager: context is setting name (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: context is ready (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: connected to: unix:/run/user/1000/pulse/native (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: protocol version: 32 (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: Pulseaudio version: 12.2 (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: default pulseaudio source: alsa_input.usb-FongLun_USB_Microphone_201605-00.analog-stereo (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: default pulseaudio sink: alsa_output.pci-0000_00_1f.3.analog-stereo (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: loading Pulseeffects applications output sink... (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: default pulseaudio sink sampling rate: 48000 Hz (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: default pulseaudio sink audio format: s16le (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: loading Pulseeffects microphone output sink... (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: default pulseaudio source sampling rate: 44100 Hz (pulseeffects:31407): pulseeffects-DEBUG: 16:17:15.551: pulse_manager: default pulseaudio source audio format: s16le Assertion 'o' failed at pulse/operation.c:133, function pa_operation_get_state(). Aborting. Aborted (core dumped) thor@thor ~ $
Ready to test what you suggest. Just tell me ;)
It seems PE is not being able to load its sinks in your system. Sometime ago a user had a similar problem but it is not clear what could cause this. Here PE never fails to load these sinks. Are you able to install PE using flatpak? Instructions here Package-Repositories. This way we could see if it is a problem with the package.
first, i completely removed the pulseeffects installed via ppa; after that, i followed the instructions:
thor@thor ~ $ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
thor@thor ~ $ flatpak install flathub com.github.wwmm.pulseeffects
Required runtime for com.github.wwmm.pulseeffects/x86_64/stable (org.gnome.Platform/x86_64/3.28) is not installed, searching...
Found in remote flathub, do you want to install it? [y/n]: y
Installing: org.gnome.Platform/x86_64/3.28 from flathub
[####################] 10 delta parts, 80 loose fetched; 262102 KiB transferred in 14 seconds
Installing: org.freedesktop.Platform.GL.nvidia-396-54/x86_64/1.4 from flathub
[####################] Downloading: 49,7 MB/49,7 MB (6,2 MB/s)
Installing: org.freedesktop.Platform.ffmpeg/x86_64/1.6 from flathub
[####################] 1 delta parts, 2 loose fetched; 2649 KiB transferred in 0 seconds
Installing: org.gtk.Gtk3theme.Mint-Y/x86_64/3.22 from flathub
[####################] 1 delta parts, 1 loose fetched; 126 KiB transferred in 0 seconds
Installing: org.gnome.Platform.Locale/x86_64/3.28 from flathub
[####################] 4 metadata, 1 content objects fetched; 14 KiB transferred in 0 seconds
Installing: com.github.wwmm.pulseeffects/x86_64/stable from flathub
[####################] 1 delta parts, 10 loose fetched; 8762 KiB transferred in 1 seconds
Installing: com.github.wwmm.pulseeffects.Locale/x86_64/stable from flathub
[####################] 3 metadata, 1 content objects fetched; 1 KiB transferred in 0 seconds
thor@thor ~ $ pulseeffects
bash: /usr/bin/pulseeffects: No such file or directory
thor@thor ~ $
a link in the menu exists, selecting it no reaction at all. launching the command in shell you can see the result above. NOTE: LinuxMint 19 is freshly installed so no strange configuration(s) have been done. Ready to do any test you will suggest.
Flatpak packages are not executed this way. You have to do flatpak run com.github.wwmm.pulseeffects
thor@thor ~ $ flatpak run com.github.wwmm.pulseeffects
(process:3): Gtk-WARNING **: 17:18:23.200: Locale not supported by C library.
Using the fallback 'C' locale.
Assertion 'o' failed at pulse/operation.c:133, function pa_operation_get_state(). Aborting.
thor@thor ~ $
neve used it... (embarassed...) so, same problem occurs. Since Mint 19 is strictly derived from Ubuntu 18.04, if we try to solve this problem on Mint 19, there is 99% of chance that can be solved on Ubuntu 18.04....
Note: the locale prob is that i have the interface set to US but everything else (time, date etc.) in EU/Italian mode. But i think this is not a problem...
Hummm... Did you try dconf reset -f /com/github/wwmm/pulseeffects/
?
after the reset it works. great!
So, flatpak
installation and the dconf
reset works. Hoping, however, you will find the problem in the PPA installation mode. In the PPA installation the reset request pops up with the Yes/No available answers when you try to start pulseeffects
but probably the dconf
does not perform the correct action to the relative key.
Thank you very much!
When resetting through dconf the popup will be shown. Only when resetting thought pulseeffects they are not shown.
Understood. Anyway i would try to take a look precisely in that procedure (if you accept that suggestion...) :)
My sincere compliments to your work. As an audiophile (or close to that), I had been waiting for some time for some willing hero to take care of this aspect ;)
I got this problem too in Solus 86_64 when I upgraded the packages.
$ pulseeffects
(pulseeffects:2857): Gtk-WARNING **: 17:15:29.396: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:2857): Gtk-WARNING **: 17:15:29.396: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:2857): Gtk-WARNING **: 17:15:29.396: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:2857): Gtk-WARNING **: 17:15:29.396: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:2857): Gtk-WARNING **: 17:15:29.396: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:2857): Gtk-WARNING **: 17:15:29.396: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:2857): Gtk-WARNING **: 17:15:29.398: Theme parsing error: gtk.css:83:29: The style property GtkStatusbar:shadow-type is deprecated and shouldn't be used anymore. It will be removed in a future version
Assertion 'o' failed at pulse/operation.c:133, function pa_operation_get_state(). Aborting.
Aborted
I don't feel like reseting any settings since I spent some creating an equalizer preset for my cheap headphones that made them sound really good.
EDIT: The preset did not get removed by using the dconf command posted further up.
I wonder if this problem occurs when I select to use Dark Theme in Pulseeffects because after I did it I had to run the dconf command again to get Pulseaudio to open.
Is this problem with the dark theme reproducible? Here I can switch the dark mode on and off without problems. But I do not have the GTK warnings that you have.
after the reset it works. great! So, flatpak installation and the dconf reset works.
I think it does not depend on installation method, but depends on some other random factors, the phase of the moon for example.
So I also have the same problem under both Ubuntu 18.04 and 18.10, also with both versions from the ppa and flathub. I tried the dconf-reset, but that wouldn't solve it either.
The debug from the ppa version read:
~$ G_MESSAGES_DEBUG=pulseeffects pulseeffects (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.899: application: PE version: 4.3.9 (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.900: pulse_manager: context is connecting (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: context is authorizing (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: context is setting name (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: context is ready (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: connected to: unix:/run/user/1000/pulse/native (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: protocol version: 32 (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: Pulseaudio version: 12.2 (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: default pulseaudio source: alsa_input.pci-0000_00_1b.0.analog-stereo (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: default pulseaudio sink: alsa_output.pci-0000_00_1b.0.analog-stereo (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: loading Pulseeffects applications output sink... (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: default pulseaudio sink sampling rate: 44100 Hz (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.901: pulse_manager: default pulseaudio sink audio format: s16le (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.902: pulse_manager: sink loaded (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.902: pulse_manager: loading Pulseeffects microphone output sink... (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.903: pulse_manager: default pulseaudio source sampling rate: 44100 Hz (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.903: pulse_manager: default pulseaudio source audio format: s16le (pulseeffects:3602): pulseeffects-DEBUG: 16:22:18.903: pulse_manager: sink loaded Assertion 'o' failed at pulse/operation.c:133, function pa_operation_get_state(). Aborting. Abgebrochen (Speicherabzug geschrieben)
It would be good to see the core dump of this crash. Run the command coredumpctl list
. This should show an output like this:
TIME PID UID GID SIG COREFILE EXE
Sat 2018-10-13 17:58:21 -03 16527 1000 1000 11 present /usr/bin/nautilus
Once you have the PID of the core dump generated by PE run the command coredumpctl info pid_value
. Put the lines below Stack trace of thread
here
The output (called "Stack trace of thread 2" for some reason) reads
#0 0x00007f797cd82fba n/a (/usr/lib/x86_64-linux-gnu/libc-2.27.so)
Hummm... Unfortunately this output is of no help
Hummm... Unfortunately this output is of no help
Is there any other information I could provide you with?
We have to make this core dump useful. @mikhailnov is there a package with debug symbol on ubuntu?
In case there isn't you would have to try to compile the source code @Blahpunkt
Yes, but they are not in the repository. You have to download and install them by yourself. Go to https://launchpad.net/~mikhailnov/+archive/ubuntu/pulseeffects/+packages
Bionic is Ubuntu 18.04, Cosmic is 18.10
Choose your architectire, e.g. amd6, then manually download all packages *-dbgsym
from there and put all downloaded files into one directory.
Then open terminal in that directory and execute:
sudo apt install ./*.ddeb
I can't open pulseeffects in Kubuntu 18.04.1 too....
G_MESSAGES_DEBUG=pulseeffects pulseeffects
(pulseeffects:8776): Gtk-WARNING **: 18:22:41.084: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:8776): Gtk-WARNING **: 18:22:41.084: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:8776): Gtk-WARNING **: 18:22:41.084: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:8776): Gtk-WARNING **: 18:22:41.084: Theme parsing error: gtk.css:71:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:8776): Gtk-WARNING **: 18:22:41.084: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:8776): Gtk-WARNING **: 18:22:41.085: Theme parsing error: gtk.css:76:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:8776): Gtk-WARNING **: 18:22:41.085: Theme parsing error: gtk.css:83:29: The style property GtkStatusbar:shadow-type is deprecated and shouldn't be used anymore. It will be removed in a future version (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.120: application: PE version: 4.3.9 (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.121: pulse_manager: context is connecting (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.122: pulse_manager: context is authorizing (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.122: pulse_manager: context is setting name (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: context is ready (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: connected to: unix:/run/user/1000/pulse/native (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: protocol version: 32 (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: Pulseaudio version: 11.1 (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: default pulseaudio source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: default pulseaudio sink: alsa_output.pci-0000_00_1b.0.analog-stereo (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: loading Pulseeffects applications output sink... (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: default pulseaudio sink sampling rate: 48000 Hz (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.123: pulse_manager: default pulseaudio sink audio format: s16le (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.125: pulse_manager: sink loaded (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.125: pulse_manager: loading Pulseeffects microphone output sink... (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.125: pulse_manager: default pulseaudio source sampling rate: 48000 Hz (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.125: pulse_manager: default pulseaudio source audio format: s16le (pulseeffects:8776): pulseeffects-DEBUG: 18:22:41.126: pulse_manager: sink loaded Violation of memory protection (memory dump)
Thanks @mikhailnov for pointing out the right files. The coredump now reads:
Stack trace of thread 18810:
0 0x00007fd60d95b077 __GI_raise (libc.so.6)
1 0x00007fd60d93c535 __GI_abort (libc.so.6)
2 0x00007fd61032bf23 pa_operation_get_state (libpulse.so.0)
3 0x000056462301df49 _ZN12PulseManager13get_sink_infoENSt7__cxx1112basic_stringIcSt11
4 0x000056462304153b _ZN16SinkInputEffectsC2EP12PulseManager (pulseeffects)
5 0x000056462300341a _ZSt11make_uniqueI16SinkInputEffectsJP12PulseManagerEENSt9_MakeU
6 0x00007fd60e762add _ZN3Gio17Application_Class16startup_callbackEP13_GApplication (l
7 0x00007fd60ff26b6d g_closure_invoke (libgobject-2.0.so.0)
8 0x00007fd60ff39a96 n/a (libgobject-2.0.so.0)
9 0x00007fd60ff42882 g_signal_emit_valist (libgobject-2.0.so.0)
10 0x00007fd60ff42ecf g_signal_emit (libgobject-2.0.so.0)
11 0x00007fd60f6ca502 g_application_register (libgio-2.0.so.0)
12 0x00007fd60f6cab2a n/a (libgio-2.0.so.0)
13 0x00007fd60e7626ab _ZN3Gio11Application24local_command_line_vfuncERPPcRi (libgiomm-
14 0x00007fd60e7628ed _ZN3Gio17Application_Class33local_command_line_vfunc_callbackEP1
15 0x00007fd60f6cb0a7 g_application_run (libgio-2.0.so.0)
16 0x0000564622fff088 main (pulseeffects)
17 0x00007fd60d93e09b __libc_start_main (libc.so.6)
18 0x0000564622fffc3a _start (pulseeffects)
This helps. Now I know where to look. The crash starts when the function get_sink_info
is called. I will take a look. But it is odd. This function is always called when PE starts. It makes no sense that a few people are having segfaults with it and others don't =/
Commended in #363 but this seems more like the issues I'm having. Installed with the debug symbols and get this output
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.748: application: PE version: 4.3.9
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.749: pulse_manager: context is connecting
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.749: pulse_manager: context is authorizing
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.749: pulse_manager: context is setting name
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: context is ready
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: connected to: unix:/run/user/1000/pulse/native
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: protocol version: 32
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: Pulseaudio version: 11.1
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: default pulseaudio source: bluez_sink.00_16_94_25_DB_E8.a2dp_sink.monitor
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: default pulseaudio sink: bluez_sink.00_16_94_25_DB_E8.a2dp_sink
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: loading Pulseeffects applications output sink...
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: default pulseaudio sink sampling rate: 44100 Hz
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: default pulseaudio sink audio format: s16le
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: sink loaded
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: loading Pulseeffects microphone output sink...
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: default pulseaudio source sampling rate: 44100 Hz
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.750: pulse_manager: default pulseaudio source audio format: s16le
(pulseeffects:17449): pulseeffects-DEBUG: 10:33:44.751: pulse_manager: sink loaded
Segmentation fault (core dumped)
PID: 17449 (pulseeffects)
UID: 1000 (jacek)
GID: 1000 (jacek)
Signal: 11 (SEGV)
Timestamp: Tue 2018-11-06 10:33:44 GMT (1min 34s ago)
Command Line: pulseeffects
Executable: /usr/bin/pulseeffects
Control Group: /user.slice/user-1000.slice/session-3.scope
Unit: session-3.scope
Slice: user-1000.slice
Session: 3
Owner UID: 1000 (jacek)
Boot ID: 686772764ec84892944f8758c03d0280
Machine ID: eea1c4afe0287570a9a9d6cc555cc707
Hostname: jacek-work-desktop
Storage: /var/lib/systemd/coredump/core.pulseeffects.1000.686772764ec84892944f8758c03d0280.17449.1541500424000000.lz4
Message: Process 17449 (pulseeffects) of user 1000 dumped core.
Stack trace of thread 17449:
#0 0x000055b6b908d687 _ZNSt7__cxx119to_stringEj (pulseeffects)
#1 0x000055b6b908dc7e _ZN12PipelineBaseC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKj (pulseeffects)
#2 0x000055b6b9077f3a _ZN16SinkInputEffectsC2EP12PulseManager (pulseeffects)
#3 0x000055b6b9037bfa _ZSt11make_uniqueI16SinkInputEffectsJP12PulseManagerEENSt9_MakeUniqIT_E15__single_objectEDpOT0_ (pulseeffects)
#4 0x00007fc131206add _ZN3Gio17Application_Class16startup_callbackEP13_GApplication (libgiomm-2.4.so.1)
#5 0x00007fc132f8810d g_closure_invoke (libgobject-2.0.so.0)
#6 0x00007fc132f9b09e n/a (libgobject-2.0.so.0)
#7 0x00007fc132fa3685 g_signal_emit_valist (libgobject-2.0.so.0)
#8 0x00007fc132fa409f g_signal_emit (libgobject-2.0.so.0)
#9 0x00007fc13216e1a2 g_application_register (libgio-2.0.so.0)
#10 0x00007fc13216e9b7 n/a (libgio-2.0.so.0)
#11 0x00007fc1312066ab _ZN3Gio11Application24local_command_line_vfuncERPPcRi (libgiomm-2.4.so.1)
#12 0x00007fc1312068ed _ZN3Gio17Application_Class33local_command_line_vfunc_callbackEP13_GApplicationPPPcPi (libgiomm-2.4.so.1)
#13 0x00007fc13216ed46 g_application_run (libgio-2.0.so.0)
#14 0x000055b6b9032b3c main (pulseeffects)
#15 0x00007fc12f1dab97 __libc_start_main (libc.so.6)
#16 0x000055b6b903376a _start (pulseeffects)
Stack trace of thread 17452:
#0 0x00007fc12f2cdbf9 __GI___poll (libc.so.6)
#1 0x00007fc133498439 n/a (libglib-2.0.so.0)
#2 0x00007fc13349854c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007fc12474536d n/a (libdconfsettings.so)
#4 0x00007fc1334bfe85 n/a (libglib-2.0.so.0)
#5 0x00007fc12f5b16db start_thread (libpthread.so.0)
#6 0x00007fc12f2da88f __clone (libc.so.6)
Stack trace of thread 17450:
#0 0x00007fc12f2cdbf9 __GI___poll (libc.so.6)
#1 0x00007fc133498439 n/a (libglib-2.0.so.0)
#2 0x00007fc13349854c g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007fc133498591 n/a (libglib-2.0.so.0)
#4 0x00007fc1334bfe85 n/a (libglib-2.0.so.0)
#5 0x00007fc12f5b16db start_thread (libpthread.so.0)
#6 0x00007fc12f2da88f __clone (libc.so.6)
Stack trace of thread 17451:
#0 0x00007fc12f2cdbf9 __GI___poll (libc.so.6)
#1 0x00007fc133498439 n/a (libglib-2.0.so.0)
#2 0x00007fc1334987d2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007fc13219af66 n/a (libgio-2.0.so.0)
#4 0x00007fc1334bfe85 n/a (libglib-2.0.so.0)
#5 0x00007fc12f5b16db start_thread (libpthread.so.0)
#6 0x00007fc12f2da88f __clone (libc.so.6)
Stack trace of thread 17453:
#0 0x00007fc12f2cdbf9 __GI___poll (libc.so.6)
#1 0x00007fc133794481 n/a (libpulse.so.0)
#2 0x00007fc133785e40 pa_mainloop_poll (libpulse.so.0)
#3 0x00007fc1337864d0 pa_mainloop_iterate (libpulse.so.0)
#4 0x00007fc133786560 pa_mainloop_run (libpulse.so.0)
#5 0x00007fc1337943c9 n/a (libpulse.so.0)
#6 0x00007fc12ef8d238 n/a (libpulsecommon-12.2.so)
#7 0x00007fc12f5b16db start_thread (libpthread.so.0)
#8 0x00007fc12f2da88f __clone (libc.so.6)
I made a few changes in PE 4.4.0
that should help with the kind of segfault reported in this issue. But your segfault has a different source @betterphp. It seems it is happening when a conversion from number to string is made (the line with to_string
). Honestly I do not see how this is even possible. std::string
should throw an exception when a bad input is given.
Oh weird, I'll make a new issue for my thing then - unfortunately my C++ is a bit too rusty to help out :(
Is this still a problem in 4.4.0
? Not that it fixes Pulseaudio problems... But it has a workaround
I build 4.4.0 from source and it works! Thank you for all the work and looking into it so thoroughly!
Also it might be good to know that flathub still seems to distribute v4.3.8
when ever i try to start PE gui it never opens . than i tried to start PE from terminal it shows . ( Pulseeffects installed using Ubuntu PPA , System details : kubuntu 18.04.1 LTS
I have no idea why this happening