Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mixxx DJ app segfaults (dbus, alsa, & possible KDE issues)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jebriggsy
n00b
n00b


Joined: 22 Aug 2013
Posts: 16
Location: New England, USA

PostPosted: Thu Mar 13, 2014 6:21 pm    Post subject: Mixxx DJ app segfaults (dbus, alsa, & possible KDE issue Reply with quote

Running on a Hardened system. Applied all PaX disable flags to /usr/bin/mixxx. Program just refuses to start. I suspect an issue with ALSA, dbus, or KDE since those are the errors that occur but recompiling all of the above had no effect and I cannot locate the issue. I have posted this to the Mixxx forums as well.

Mixxx version: 1.10.1
Kernel: Linux (x86_64) 3.9.9-hardened

Running from gdb I get the following output:
Code:

Starting program: /usr/bin/mixxx
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Debug [Main]: Dynamically loaded "/usr/lib/mixxx/plugins/soundsource/libsoundsourcem4a.so"
Debug [Main]: m4a
Debug [Main]: mp4
Debug [Main]: Plugin supports: m4a
Debug [Main]: Plugin supports: mp4
Debug [Main]: Dynamically loaded "/usr/lib/mixxx/plugins/soundsource/libsoundsourcewv.so"
Debug [Main]: wv
Debug [Main]: Plugin supports: wv
Debug [Main]: Mixxx 1.10.1 "(built on: Mar 13 2014 @ 13:46:23; flags: faad hifieq mad midiscript qdebug shoutcast verbose vinylcontrol wv)" is starting...
Debug [Main]: Qt version is: 4.8.5
Debug [Main]: Could not read "/root/.mixxx/mixxx.cfg"
Debug [Main]: No version number in configuration file. Setting to 1.10.1
Debug [Main]: Loading translations for locale "C" from translations folder "/usr/share/mixxx/translations/" : fail
Debug [Main]: Found folder 'Mixxx' within default OS music directory
Debug [Main]: Could not create folder 'Recordings' within 'Mixxx'
[New Thread 0x3ffe39fc700 (LWP 21397)]
[New Thread 0x3ffe2e48700 (LWP 21398)]
Debug [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "vinylcontrol_mode" )
Debug [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "vinylcontrol_mode" )
Debug [Main]: JACK client name set
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.front.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.surround40.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.surround51.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.surround51.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.surround51.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.surround71.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.modem.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.modem.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.modem.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.Loopback.pcm.modem.0:CARD=0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM phoneline
[New Thread 0x3ffe133a700 (LWP 21399)]
[Thread 0x3ffe133a700 (LWP 21399) exited]
[New Thread 0x3ffe133a700 (LWP 21400)]
[Thread 0x3ffe133a700 (LWP 21400) exited]
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[New Thread 0x3ffe133a700 (LWP 21401)]
[Thread 0x3ffe133a700 (LWP 21401) exited]
[New Thread 0x3ffe133a700 (LWP 21402)]
[Thread 0x3ffe133a700 (LWP 21402) exited]
[New Thread 0x3ffe133a700 (LWP 21403)]
[Thread 0x3ffe133a700 (LWP 21403) exited]
Debug [Main]: mixxx(21391)/kdecore (KSycoca) KSycocaPrivate::checkDatabase: We have no database.... launching kdeinit
Debug [Main]: mixxx(21391)/kdecore (kdelibs) KToolInvocation::klauncher: klauncher not running... launching kdeinit
[New Thread 0x3ffe133a700 (LWP 21405)]
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_klauncher.so
kdeinit4: Launched KLauncher, pid = 21408, result = 0
klauncher(21408) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
Debug [Main]: startkdeinitlock(21391)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-root/ksycoca4"
Debug [Main]: startkdeinitlock(21391)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open global ksycoca from  "/root/.kde4/share/kde4/services/ksycoca4"
Debug [Main]: startkdeinitlock(21391)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Could not open ksycoca
Debug [Main]: startkdeinitlock(21391)/kdecore (KSycoca) KSycocaPrivate::checkDatabase: Still no database...
Fatal [Main]: ASSERT: "str" in file /var/tmp/portage/kde-base/kdelibs-4.11.5/work/kdelibs-4.11.5/kdecore/services/kservicefactory.cpp, line 47

Program received signal SIGABRT, Aborted.
0x000003fff1482315 in raise () from /lib64/libc.so.6


gdb backtrace returns:
Code:

#0  0x000003fff1482315 in raise () from /lib64/libc.so.6
#1  0x000003fff14837e5 in abort () from /lib64/libc.so.6
#2  0x000003fff3baa6cd in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x000003fff3baa82d in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x000003fff3baa983 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x000003fff3baaa0e in qt_assert(char const*, char const*, int) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x000003ffe7858baa in KServiceFactory::KServiceFactory() () from /usr/lib64/libkdecore.so.5
#7  0x000003ffe7858d93 in KServiceFactory::self() () from /usr/lib64/libkdecore.so.5
#8  0x000003ffe7850442 in KService::serviceByDesktopName(QString const&) () from /usr/lib64/libkdecore.so.5
#9  0x000003ffe84f5bb3 in ?? () from /usr/lib64/libkio.so.5
#10 0x000003ffe84f5e07 in ?? () from /usr/lib64/libkio.so.5
#11 0x000003ffe84fbadc in ?? () from /usr/lib64/libkio.so.5
#12 0x000003fff4a3253f in QFileDialog::getExistingDirectory(QWidget*, QString const&, QString const&, QFlags<QFileDialog::Option>) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x000002aaaabf4db0 in ?? ()
#14 0x000002aaaabe21fc in main ()


paxctl-ng -v /usr/bin/mixxx:
Code:

    /usr/bin/mixxx:
            PT_PAX    : pemrs
            XATTR_PAX : pemrs


Relevant dmesg output:
Code:

    [107783.756382] grsec: Segmentation fault occurred at            (nil) in /usr/bin/mixxx[mixxx:12708] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:4766] uid/euid:0/0 gid/egid:0/0
    [107783.756470] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/mixxx[mixxx:12708] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:4766] uid/euid:0/0 gid/egid:0/0



Any help would be much appreciated!
Back to top
View user's profile Send private message
jebriggsy
n00b
n00b


Joined: 22 Aug 2013
Posts: 16
Location: New England, USA

PostPosted: Thu Mar 13, 2014 10:59 pm    Post subject: Reply with quote

After some more troubleshooting I have found that launching with the command export $(dbus-launch) & kdesu mixxx from a root terminal successfully launches the program.

This makes me think that somehow there is a block in communication between dbus and kde, and also that for some reason Mixxx is requiring root access. Any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum