Summary: | "Sound" module in System Settings cause crash | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Phonon | Reporter: | FiNeX <finex> |
Component: | settings | Assignee: | Matthias Kretz <kretz> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
FiNeX
2008-04-08 15:22:51 UTC
Can you reproduce the crash? Reproducable every time? Unfortunatly yes. Please run valgrind kcmshell4 kcm_phonon and attach the output Here is the valgrind output: ==5855== Memcheck, a memory error detector. ==5855== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==5855== Using LibVEX rev 1804, a library for dynamic binary translation. ==5855== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==5855== Using valgrind-3.3.0, a dynamic binary instrumentation framework. ==5855== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==5855== For more details, rerun with: -v ==5855== Qt: Session management error: Could not open network socket kcmshell(5855)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-test/ksycoca4" ==5855== Syscall param writev(vector[...]) points to uninitialised byte(s) ==5855== at 0x57EB50C: writev (in /lib/libc-2.7.so) ==5855== by 0x5A0F2E8: _xcb_conn_wait (in /usr/lib/libxcb.so.1.0.0) ==5855== by 0x5A0F8EA: _xcb_out_send (in /usr/lib/libxcb.so.1.0.0) ==5855== by 0x5A0FA1E: _xcb_out_flush_to (in /usr/lib/libxcb.so.1.0.0) ==5855== by 0x5A10F37: xcb_wait_for_reply (in /usr/lib/libxcb.so.1.0.0) ==5855== by 0x48EDABA: _XReply (in /usr/lib/libX11.so.6.2.0) ==5855== by 0x48CC875: XGetWindowProperty (in /usr/lib/libX11.so.6.2.0) ==5855== by 0x48CBB46: XGetWMHints (in /usr/lib/libX11.so.6.2.0) ==5855== by 0x4FF1619: QWidgetPrivate::setWindowIcon_sys(bool) (qwidget_x11.cpp:1193) ==5855== by 0x4FC3692: QWidget::create(unsigned long, bool, bool) (qwidget.cpp:1262) ==5855== by 0x4FC3E0A: QWidgetPrivate::createWinId(unsigned long) (qwidget.cpp:2003) ==5855== by 0x4FC3E96: QWidgetPrivate::setWindowTitle_helper(QString const&) (qwidget.cpp:4850) ==5855== Address 0x5de7b6b is 4,779 bytes inside a block of size 8,556 alloc'd ==5855== at 0x4021BDE: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5855== by 0x5A0F570: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.0.0) ==5855== by 0x5A11E3A: xcb_connect (in /usr/lib/libxcb.so.1.0.0) ==5855== by 0x48ED004: _XConnectXCB (in /usr/lib/libX11.so.6.2.0) ==5855== by 0x48D5C98: XOpenDisplay (in /usr/lib/libX11.so.6.2.0) ==5855== by 0x4FDEF9D: qt_init(QApplicationPrivate*, int, _XDisplay*, unsigned long, unsigned long) (qapplication_x11.cpp:1705) ==5855== by 0x4F80108: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (qapplication.cpp:740) ==5855== by 0x4F80A69: QApplication::QApplication(int&, char**, bool, int) (qapplication.cpp:701) ==5855== by 0x46AE79D: KApplication::KApplication(bool) (kapplication.cpp:346) ==5855== by 0x402D500: kdemain (main.h:33) ==5855== by 0x8048881: main (kcmshell4_dummy.cpp:3) kcmshell(5855)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Sound" kcmshell(5855)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM "Sound" at the top level kcmshell(5855)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged: kcmshell(5855)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module "Sound" from library "kcm_phonon" using symbol "kcm_phonon" kcmshell(5855)/phonon (xine backend) Phonon::Xine::Backend::Backend: setting xine verbosity to 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::Backend::Backend: Using Xine version 1.1.10 kcmshell(5855) Phonon::KdePlatformPlugin::createBackend: using backend: "Xine" kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: isEmpty kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: outputPlugin: alsa kcmshell(5855)/phonon (audiodevicelist) Phonon::AudioDeviceEnumerator::availablePlaybackDevices: ( - "Intel ICH5 with ALC850 (Intel ICH5)" OSS ("/dev/sound/dsp1") index: 0 preference: 35 avail: true advanced: false , - "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (ADC Capture/Standard PCM Playback)" OSS ("/dev/sound/audio") index: 1 preference: 35 avail: true advanced: false , - "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (ADC Capture/Standard PCM Playback)" OSS ("/dev/sound/adsp") index: 1 preference: 35 avail: true advanced: false , - "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (ADC Capture/Standard PCM Playback)" OSS ("/dev/sound/dsp") index: 1 preference: 35 avail: true advanced: false , - "Intel ICH5 with ALC850 (Intel ICH5)" ALSA ("x-phonon:CARD=1,DEV=0", "plughw:CARD=1,DEV=0") index: 2 preference: 36 avail: true advanced: false , - "Intel ICH5 with ALC850 (Intel ICH5 - IEC958)" ALSA ("x-phonon:CARD=1,DEV=4", "plughw:CARD=1,DEV=4") index: 3 preference: 35 avail: true advanced: true , - "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (ADC Capture/Standard PCM Playback)" ALSA ("x-phonon:CARD=0,DEV=0", "plughw:CARD=0,DEV=0") index: 5 preference: 36 avail: true advanced: false , - "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (Multichannel Capture/PT Playback)" ALSA ("x-phonon:CARD=0,DEV=2", "plughw:CARD=0,DEV=2") index: 8 preference: 35 avail: true advanced: true , - "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (Multichannel Playback)" ALSA ("x-phonon:CARD=0,DEV=3", "plughw:CARD=0,DEV=3") index: 10 preference: 35 avail: true advanced: true , - "Intel ICH5 with ALC850 (Intel ICH5)" OSS ("/dev/sound/audio1") index: 0 preference: 35 avail: true advanced: false , - "Intel ICH5 with ALC850 (Intel ICH5)" OSS ("/dev/sound/adsp1") index: 0 preference: 35 avail: true advanced: false , - "SBLive! Platinum [CT4760P], ADC Capture/Standard PCM Playback (Front speakers)" ALSA ("front:CARD=Live,DEV=0") index: 14 preference: 30 avail: true advanced: true , - "SBLive! Platinum [CT4760P], ADC Capture/Standard PCM Playback (Rear speakers)" ALSA ("rear:CARD=Live,DEV=0") index: 15 preference: 30 avail: true advanced: true , - "SBLive! Platinum [CT4760P], ADC Capture/Standard PCM Playback (Center and Subwoofer speakers)" ALSA ("center_lfe:CARD=Live,DEV=0") index: 16 preference: 30 avail: true advanced: true , - "SBLive! Platinum [CT4760P], Multichannel Capture/PT Playback (IEC958 (S/PDIF) Digital Audio Output)" ALSA ("iec958:CARD=Live,DEV=0") index: 17 preference: 30 avail: true advanced: true , - "Intel ICH5, Intel ICH5 (Front speakers)" ALSA ("front:CARD=ICH5,DEV=0") index: 18 preference: 30 avail: true advanced: true , - "Intel ICH5, Intel ICH5 - IEC958 (IEC958 (S/PDIF) Digital Audio Output)" ALSA ("iec958:CARD=ICH5,DEV=0") index: 19 preference: 30 avail: true advanced: true ) kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: not an ALSA device 1 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: not an ALSA device 1 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: not an ALSA device 1 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: not an ALSA device 1 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: not an ALSA device 1 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: not an ALSA device 1 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: added to audio output 0 kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: outputPlugin: oss kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: outputPlugin: esd kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: outputPlugin: file kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: outputPlugin: none kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 2 "Intel ICH5 with ALC850 (Intel ICH5)" "alsa" ("x-phonon:CARD=1,DEV=0", "plughw:CARD=1,DEV=0") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 5 "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (ADC Capture/Standard PCM Playback)" "alsa" ("x-phonon:CARD=0,DEV=0", "plughw:CARD=0,DEV=0") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 8 "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (Multichannel Capture/PT Playback)" "alsa" ("x-phonon:CARD=0,DEV=2", "plughw:CARD=0,DEV=2") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 10 "SBLive! Platinum [CT4760P] (rev.8, serial:0x80401102) (Multichannel Playback)" "alsa" ("x-phonon:CARD=0,DEV=3", "plughw:CARD=0,DEV=3") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 3 "Intel ICH5 with ALC850 (Intel ICH5 - IEC958)" "alsa" ("x-phonon:CARD=1,DEV=4", "plughw:CARD=1,DEV=4") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 17 "SBLive! Platinum [CT4760P], Multichannel Capture/PT Playback (IEC958 (S/PDIF) Digital Audio Output)" "alsa" ("iec958:CARD=Live,DEV=0") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 18 "Intel ICH5, Intel ICH5 (Front speakers)" "alsa" ("front:CARD=ICH5,DEV=0") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 19 "Intel ICH5, Intel ICH5 - IEC958 (IEC958 (S/PDIF) Digital Audio Output)" "alsa" ("iec958:CARD=ICH5,DEV=0") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 15 "SBLive! Platinum [CT4760P], ADC Capture/Standard PCM Playback (Rear speakers)" "alsa" ("rear:CARD=Live,DEV=0") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 16 "SBLive! Platinum [CT4760P], ADC Capture/Standard PCM Playback (Center and Subwoofer speakers)" "alsa" ("center_lfe:CARD=Live,DEV=0") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 14 "SBLive! Platinum [CT4760P], ADC Capture/Standard PCM Playback (Front speakers)" "alsa" ("front:CARD=Live,DEV=0") kcmshell(5855)/phonon (xine backend) Phonon::Xine::XineEngine::checkAudioOutputs: 10000 "Esound (ESD)" "esd" () ==5855== ==5855== Invalid read of size 4 ==5855== at 0x7FD11C7: Phonon::ObjectDescriptionData::isValid() const (objectdescription.cpp:100) ==5855== by 0x7FD35D0: Phonon::ObjectDescriptionModelData::data(QModelIndex const&, int) const (objectdescriptionmodel.cpp:170) ==5855== by 0x7FB21A9: Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>::data(QModelIndex const&, int) const (objectdescriptionmodel.h:210) ==5855== by 0x7FA9B44: DeviceTreeDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const (qabstractitemmodel.h:373) ==5855== by 0x53F9905: QTreeView::indexRowSizeHint(QModelIndex const&) const (qtreeview.cpp:2697) ==5855== by 0x53F9BE1: QTreeViewPrivate::itemHeight(int) const (qtreeview.cpp:3051) ==5855== by 0x53F9EB5: QTreeViewPrivate::updateScrollBars() (qtreeview.cpp:3356) ==5855== by 0x53FA211: QTreeView::updateGeometries() (qtreeview.cpp:2593) ==5855== by 0x53BE258: QAbstractItemView::doItemsLayout() (qabstractitemview.cpp:996) ==5855== by 0x54022D1: QTreeView::doItemsLayout() (qtreeview.cpp:1931) ==5855== by 0x53F677E: QTreeView::resizeColumnToContents(int) (qabstractitemview_p.h:179) ==5855== by 0x7FB136F: OutputDeviceChoice::load() (outputdevicechoice.cpp:407) ==5855== Address 0xd is not stack'd, malloc'd or (recently) free'd KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kcmshell4 path = <unknown> pid = 5855 sock_file=/home/test/.kde4/socket-DevilBlue/kdeinit4__0 kdeinit4: Got EXEC_NEW '/home/test/KDE4/kde/lib/kde4/libexec/drkonqi' from socket. kdeinit4: preparing to launch /home/test/KDE4/kde/lib/kde4/libexec/drkonqi kdeinit4: PID 5890 terminated. ==5855== ==5855== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 239 from 1) ==5855== malloc/free: in use at exit: 1,774,109 bytes in 28,361 blocks. ==5855== malloc/free: 185,202 allocs, 156,841 frees, 44,917,695 bytes allocated. ==5855== For counts of detected errors, rerun with: -v ==5855== searching for pointers to 28,361 not-freed blocks. ==5855== checked 32,020,284 bytes. ==5855== ==5855== LEAK SUMMARY: ==5855== definitely lost: 3,152 bytes in 133 blocks. ==5855== possibly lost: 74,438 bytes in 2,276 blocks. ==5855== still reachable: 1,696,519 bytes in 25,952 blocks. ==5855== suppressed: 0 bytes in 0 blocks. ==5855== Rerun with --leak-check=full to see details of leaked memory. On recent revision it doesn't crash anymore. |