Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67677 - [kmix] segfault at startup for kmixctrl

Attached to Project: Arch Linux
Opened by patrick (potomac) - Saturday, 22 August 2020, 19:20 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 17 October 2020, 18:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since a recent "pacman -Syu" I noticed in dmesg output about kmixctrl :

[ 72.047675] kmixctrl[787]: segfault at 0 ip 0000000000000000 sp 00007ffd2a3ff0e8 error 14 in kmixctrl[5628352c9000+2000]
[ 72.047682] Code: Bad RIP value.


Additional info:
* package version(s) kmix 20.08.0-1 (kde-applications kde-multimedia)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
- update your system
- if you use kmix then you will notice error message in dmesg about kmixctrl
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 17 October 2020, 18:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  Already fixed in 20.08.0-2
Comment by patrick (potomac) - Saturday, 22 August 2020, 19:50 GMT
To trigger the bug :

-open a console
-type "kmixctrl"
-you will notice a crash with the message "segmentation fault"

the backtrace with gdb :

(gdb) backtrace
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff606b2c1 in ?? () from /usr/lib/pulseaudio/libpulsecommon-13.0.so
#2 0x00007ffff606d860 in pa_socket_client_unref () from /usr/lib/pulseaudio/libpulsecommon-13.0.so
#3 0x00007ffff72c5c58 in ?? () from /usr/lib/libpulse.so.0
#4 0x00007ffff72c5d72 in ?? () from /usr/lib/libpulse.so.0
#5 0x00007ffff7f2b41d in ?? () from /usr/lib/libkmixcore.so.5
#6 0x00007ffff7f2b439 in ?? () from /usr/lib/libkmixcore.so.5
#7 0x00007ffff7f07a15 in Mixer::~Mixer() () from /usr/lib/libkmixcore.so.5
#8 0x00007ffff7f07a2a in Mixer::~Mixer() () from /usr/lib/libkmixcore.so.5
#9 0x00007ffff7f012e7 in MixerToolBox::deinitMixer() () from /usr/lib/libkmixcore.so.5
#10 0x0000555555556796 in ?? ()
#11 0x00007ffff74dc152 in __libc_start_main () from /usr/lib/libc.so.6
#12 0x000055555555683e in ?? ()
Comment by Admoni Rotem (rotema8) - Sunday, 23 August 2020, 19:28 GMT
there is workaround this segfault by creating file: ~/.config/autostart/restore_kmix_volumes.desktop
and writing following two lines :

[Desktop Entry]
Hidden=true

I didnt find any drawback to this workaround in my computer . everything keep going but without the segfault.


Comment by patrick (potomac) - Monday, 24 August 2020, 00:32 GMT
@rotema8 : can you explain what the "hidden" option does?

It seems that this option will disable the desktop file related to kmixctrl :
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

A similar workaround would be to disable the volume restoration in the options of kmix.
Comment by Admoni Rotem (rotema8) - Monday, 24 August 2020, 15:51 GMT
it's explained in the link . I have nothing to add .
Comment by patrick (potomac) - Saturday, 17 October 2020, 18:18 GMT
  • Field changed: Percent Complete (100% → 0%)
Crash is still here with kmix 20.08.0-2 when I check dmesg, in kmix options : check the option "Restore previous volume settings on desktop startup", the message crash in dmesg may be related to a conflict between kmix and pulseaudio for this feature "restore previous volume at desktop startup". Linux Kernel version I use : Linux 5.8.14-arch1-1 #1 SMP PREEMPT Wed, 07 Oct 2020 23:59:46 +0000 x86_64 GNU/Linux

Loading...