Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743406 - kde-apps/kmix-20.08.1 kmixctrl segfaults
Summary: kde-apps/kmix-20.08.1 kmixctrl segfaults
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-18 21:24 UTC by Chris Smith
Modified: 2021-04-06 18:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2020-09-18 21:24:30 UTC
On boot:
systemd-coredump[2990566]: Process 2990563 (kmixctrl) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 2990563:
                                                  #0  0x0000000000000000 n/a (n/a + 0x0)

From konsole:
$ kmixctrl 
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  12
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  13
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  14
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  15
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  12
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  13
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  14
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  15
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
Segmentation fault (core dumped)

With gdb:
$ gdb kmixctrl
GNU gdb (Gentoo 9.2 vanilla) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kmixctrl...
(gdb) run
Starting program: /usr/bin/kmixctrl 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  12
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  13
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  14
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  15
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  12
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  13
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  14
org.kde.kmix: Channel Map contains a pa_channel_position we cannot handle  15
[New Thread 0x7fffef7c7640 (LWP 3047944)]
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic
org.kde.kmix: no mix devices and not dynamic

Thread 1 "kmixctrl" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
Comment 1 Chris Smith 2020-09-18 21:26:56 UTC
emerge --info kde-apps/kmix
Portage 3.0.7 (python 3.8.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r1, 5.8.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.8.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-glibc2.2.5
KiB Mem:    32837188 total,  13166404 free                                                                                                                     
KiB Swap:    6291452 total,   6291452 free                                                                                                                     
Timestamp of repository gentoo: Fri, 18 Sep 2020 19:35:31 +0000
Head commit of repository gentoo: 59b2336cc9a948674ee24bea20283f15cd1d23e0                                                                                                                                                                                                                                                    
Head commit of repository audio-overlay: 447ae488052b2e4fb6c0ac3d67522af164cd3173                                                                              
                                                                                                                                                               sh bash 5.0_p18                                                                                                                                                
ld GNU ld (Gentoo 2.34 p6) 2.34.0                                                                                                                              app-shells/bash:          5.0_p18::gentoo                                                                                                                      dev-java/java-config:     2.3.1::gentoo                                                                                                                        dev-lang/perl:            5.30.3-r1::gentoo                                                                                                                    dev-lang/python:          2.7.18-r3::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc2::gentoo                                                                   dev-util/cmake:           3.18.2::gentoo                                                                                                                       dev-util/pkgconfig:       0.29.2::gentoo                                                                                                                       
sys-apps/baselayout:      2.7::gentoo                                                                                                                          sys-apps/sandbox:         2.20::gentoo                                                                                                                         
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo                                                                                                     sys-devel/automake:       1.16.2::gentoo                                                                                                                       
sys-devel/binutils:       2.34-r2::gentoo                                                                                                                      
sys-devel/gcc:            10.2.0-r1::gentoo                                                                                                                    sys-devel/gcc-config:     2.3.2::gentoo                                                                                                                        sys-devel/libtool:        2.4.6-r6::gentoo                                                                                                                     sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers)                                                                                                     
sys-libs/glibc:           2.32-r1::gentoo
Repositories:                                                                  
                                                                               
gentoo                                                                         
    location: /usr/portage
    sync-type: git                                                             
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
audio-overlay                    
    location: /usr/local/portage/audio-overlay                                 
    sync-type: git
    sync-uri: https://github.com/gentoo-audio/audio-overlay.git                
    masters: gentoo   
                                                                                                                                                               
tcgOverlay                                                                                                                                                     
    location: /usr/local/portage
    masters: gentoo                                                                                                                                            
                                                                                                                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                                                 
ACCEPT_LICENSE="* -@EULA"                                                                                                                                      
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                   
CC="gcc"                                                                                                                                                       
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"                                                                                                          
CHOST="x86_64-pc-linux-gnu"                                                                                                                                    
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"                                                                                         
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                                                                                                   
CXX="g++"                                                                                                                                                      
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"                                                                                                        
DISTDIR="/usr/portage/distfiles"                                                                                                                               
EMERGE_DEFAULT_OPTS="--with-bdeps y --autounmask-keep-masks"                                                                                                   
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"                                                                                                                   
FCFLAGS="-O2 -pipe"                                                                                                                                            
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"                                                                          
FFLAGS="-O2 -pipe"                                                                                                                                             
GENTOO_MIRRORS="http://gentoo.osuosl.org/"                                     
LANG="en_US.utf8"                     
LDFLAGS="-Wl,-O2 -Wl,--as-needed"                                                                                                                              
LINGUAS="en_US en"                                                             
MAKEOPTS="-j5"                                                                 
PKGDIR="/usr/portage/packages"                                                 
PORTAGE_CONFIGROOT="/"                                                                                                                                         
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeo
ut=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"                                                                              
PORTAGE_TMPDIR="/var/tmp"                                                      
USE="X a52 aac aalib acl acpi activities aes alsa amd64 amr apache2 audiofile avx bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm chromecast cleartype cli corefonts crypt cups curl dbus declarative djvu dri dssi dts dv dvb dvd dvdr ebook egl emboss encode exif
 fam fdk ffmpeg flac fortran gdbm gif gles2 gmp google gphoto2 gpm gstreamer gtk gtk3 gui iconv icu imagemagick imap imlib introspection ipv6 jack java jpeg jp
eg2k kde kipi kpathsea kvm kwallet ladspa lame lash lcms libffi libglvnd libinput libnotify libtirpc linguas_en_US lv2 lzma mad marble midi mmap mmx mmxext mng mozilla mp3 mp4 mpeg mtp multimedia musicbrainz ncurses network nls nodrm nptl nsplugin nvenc nvidia ofx ogg opencl openexr opengl openmp opus pam pango pcre 
pdf phonon plasma png policykit popcnt ppds pulseaudio qemu qml qt5 readline rtmp sasl scanner sdl seccomp semantic-desktop slp smp sndfile speex spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx vst wav wavpack wayland webp widgets wmf wxwidgets x264 x265 xattr xcb xcomposite xine xkb xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="author braindum
p flow karbon kexi krita sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk33
01 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presente
r-console presenter-minimizer" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" PO
STGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="(-python2_7) (-python3_6) python3_7 python3_8" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="(-ruby23) (-ruby24) (-ruby25) (-ruby26) ruby27" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"             
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS  
                                                                               
=================================================================              
                        Package Settings                                       
=================================================================              
                                       
kde-apps/kmix-20.08.1::gentoo was built with the following:                    
USE="alsa handbook plasma pulseaudio -debug" ABI_X86="(64)"
Comment 2 Jonas Stein gentoo-dev 2020-09-18 21:41:12 UTC
which versions did you try? 20.04.3, 20.08.1?
Comment 3 Chris Smith 2020-09-19 02:15:18 UTC
(In reply to Jonas Stein from comment #2)
> which versions did you try? 20.04.3, 20.08.1?

See the above emerge --info: 20.08.1
Comment 4 Andreas Sturmlechner gentoo-dev 2020-09-20 16:22:53 UTC
Does kde-plasma/plasma-pa work for you?
Comment 5 Chris Smith 2020-09-20 19:10:15 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Does kde-plasma/plasma-pa work for you?

It appears to work. I have two "speaker" icons on my panel and they both seem to work to one degree or another. Appears that one is plasma-pa and the other is kmix (despite the fact that it segfaults).
Comment 6 Andreas Sturmlechner gentoo-dev 2020-10-24 23:33:52 UTC
Please test again with 20.08.2.
Comment 7 Florian Dittmer 2020-12-02 10:34:58 UTC
Hi,
I am seeing this too in dmesg, using kde-apps/kmix-20.08.3:5::gentoo  USE="alsa handbook plasma pulseaudio -debug":


[ 8735.597943] kmix[3561]: segfault at 0 ip 0000000000000000 sp 00007ffd6d010ca8 error 14 in kmix[555cbba99000+20000]

[ 8746.968320] kmixctrl[12253]: segfault at 0 ip 0000000000000000 sp 00007ffcf0f2ac88 error 14 in kmixctrl[556c1d87c000+2000]

Same as original poster, I also see two speaker icons in the systray, both seem to work. However, I am only using the the other one (plamsa-pa?), not kmix, and will disable autostart if kmix. Don't think that I will need both.
Comment 8 tomtom69 2021-02-19 16:33:40 UTC
Seems to be related to this upstream bug:
https://bugs.kde.org/show_bug.cgi?id=425469
Issue is still present / did come back with kde-apps/kmix-20.08.3:5
The patch for kmix-20.08.2 in the upstream bug report comment #9 works for me with kmix-20.08.3:5
Comment 9 tomtom69 2021-04-06 18:55:31 UTC
Update to current version kde-apps/kmix-20.12.3 fixes this for me. 
Looking into the source I can confirm the commit is present in this version.