crash with KFilePreview?

Cristian Tibirna tibirna at kde.org
Thu Jan 22 13:06:21 GMT 2004


Hello

Before filing a bug report, I want to make sure it's not a problem of my local 
(eventually bad) compilation, as it seems to have incurred from a discussion 
on IRC yesterday.

When using the file selector from any application (tried mostly kmail and 
kate), trying to select a file for attaching (kmail) or opening (kate) or 
whatever, I get a crash in the Arts::Dispatcher.

This behavior started (certainly) after compiling, on Jan. 18, the latest CVS 
(thus immediately after 3.2rc1 tagging). It still does crash with the 
compiling of last night (CVS of around 22 Jan, 3AM GST). I use the 
ARTS_1_1_1_RELEASE branch or arts. I'm pretty sure that if this is not a 
local problem with my copy of the code, then it's a very ugly bug that exists 
in the 3.2rc1 release. Needless to say it would badly need fixing.

Here is the line put out just before the crash (sorry, I can't do attachments, 
so I have to pase. Broken lines are resulting):

kio (KDirWatch):  Setup Stat (freq 500) for /home/ctibirna
kmail: dispatcher.cc:450: static Arts::Dispatcher* Arts::Dispatcher::the(): \ 
Assertion `_instance' failed.
*** KMail got signal 6 (Crashing)

The bt goes reliably like this:

#9  0x41fc94f9 in abort () from /lib/i686/libc.so.6
#10 0x41fc242f in __assert_fail () from /lib/i686/libc.so.6
#11 0x428a7fa3 in Arts::Dispatcher::the() () from /opt/kde/lib/libmcop.so.1
#12 0x42396bc5 in KArtsDispatcher (this=0xbfffd2c0, parent=0x0, name=0x0)
    at kartsdispatcher.cc:39
#13 0x4239459b in KDE::PlayObjectFactory::mimeTypes() ()
    at kplayobjectfactory.cc:176
#14 0x423413cd in KFileAudioPreview (this=0x85f30d8, parent=0x86842c8,
    name=0x40fdc5d9 "kfileaudiopreview") at kfileaudiopreview.cpp:56
#15 0x42342bc4 in KFileAudioPreviewFactory::createObject(QObject*, char 
const*, char const*, QStringList const&) (this=0x8645d28, parent=0x86842c8,
    name=0x40fdc5d9 "kfileaudiopreview") at kfileaudiopreview.cpp:25
#16 0x41400eae in KLibFactory::create(QObject*, char const*, char const*, 
QStringList const&) (this=0x8645d28, parent=0x86842c8,
    name=0x40fdc5d9 "kfileaudiopreview", classname=0x40fb9de4 "QObject",
    args=@0xbfffd4b0) at klibloader.cpp:93
#17 0x40fad9b1 in KFileMetaPreview::createAudioPreview(QWidget*) (
    parent=0x86842c8)
    at /home/ctibirna/kde/3_0/qt-copy/include/qvaluelist.h:431
#18 0x40fad5b2 in KFileMetaPreview::previewProviderFor(QString const&) (
    this=0x85d67a0, mimeType=@0xbfffd5b0) at kfilemetapreview.cpp:76
#19 0x40fad767 in KFileMetaPreview::showPreview(KURL const&) (this=0x85d67a0,
    url=@0x86664d8) at ../../kdecore/ksharedptr.h:160
#20 0x40fadbd3 in KFileMetaPreview::qt_invoke(int, QUObject*) (this=0x85d67a0,
    _id=48, _o=0xbfffd690)
    at /home/ctibirna/kde/3_0/qt-copy/include/private/qucom_p.h:312
#21 0x417a4163 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#22 0x40f4ac67 in KFilePreview::showPreview(KURL const&) (this=0x86810d0,
    t0=@0x86664d8) at kfilepreview.moc:106
#23 0x40f4bbbf in KFilePreview::slotHighlighted(KFileItem const*) (
    this=0x86810d0, item=0x0) at ../../kio/kio/kfileitem.h:111
#24 0x40f4ad23 in KFilePreview::qt_invoke(int, QUObject*) (this=0x86810d0,
    _id=45, _o=0xbfffd7b0)
    at /home/ctibirna/kde/3_0/qt-copy/include/private/qucom_p.h:312
#25 0x417a40d9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#26 0x40f24f4a in KFileViewSignaler::fileHighlighted(KFileItem const*) (
    this=0x85f68d0, t0=0x0) at kfileview.moc:149
#27 0x40f275f4 in KFileIconView::slotSelectionChanged() (this=0x423ba66c)
    at kfileview.h:56
#28 0x40f292c8 in KFileIconView::qt_invoke(int, QUObject*) (this=0x85f1a00,
    _id=140450304, _o=0xbfffd8c0) at kfileiconview.moc:205
#29 0x417a4163 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#30 0x417a3f8c in QObject::activate_signal(int) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#31 0x41ad5396 in QIconView::selectionChanged() ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#32 0x41947ec0 in QIconViewItem::setSelected(bool, bool) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#33 0x4194ff37 in QIconView::contentsMousePressEventEx(QMouseEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#34 0x4194fb10 in QIconView::contentsMousePressEvent(QMouseEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#35 0x411c8f33 in KIconView::contentsMousePressEvent(QMouseEvent*) (
    this=0x85f1a00, e=0xbfffdb60) at kiconview.cpp:307
#36 0x418ab595 in QScrollView::viewportMousePressEvent(QMouseEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#37 0x418aaf6f in QScrollView::eventFilter(QObject*, QEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#38 0x41955034 in QIconView::eventFilter(QObject*, QEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#39 0x40f28248 in KFileIconView::eventFilter(QObject*, QEvent*) (
    this=0x85f1a00, o=0x85f6380, e=0xbfffe030) at kfileiconview.cpp:713
#40 0x417a1c5a in QObject::activate_filters(QEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#41 0x417a1b6a in QObject::event(QEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#42 0x417d63e2 in QWidget::event(QEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#43 0x4174bc5d in QApplication::internalNotify(QObject*, QEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#44 0x4174b3e6 in QApplication::notify(QObject*, QEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#45 0x413494d5 in KApplication::notify(QObject*, QEvent*) (this=0xbffff180,
    receiver=0x85f6380, event=0xbfffe030) at kapplication.cpp:505
#46 0x416e64ef in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#47 0x416e43cc in QApplication::x11ProcessEvent(_XEvent*) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#48 0x416fa6fe in QEventLoop::processEvents(unsigned) ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#49 0x4175ccdb in QEventLoop::enterLoop() ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#50 0x4174bf30 in QApplication::enter_loop() ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#51 0x41917587 in QDialog::exec() ()
   from /home/ctibirna/kde/3_0/qt-copy/lib/libqt-mt.so.3
#52 0x40f32e85 in KFileDialog::getOpenURLs(QString const&, QString const&, 
QWidget*, QString const&) (startDir=@0x41be0370, filter=@0x41be0370,
    parent=0x8318b80, caption=@0xbfffe4b0) at kfiledialog.cpp:1361
#53 0x401dad44 in KMComposeWin::slotAttachFile() (this=0x8318b80)
    at kmcomposewin.cpp:3990
#54 0x401ba8cc in KMComposeWin::qt_invoke(int, QUObject*) (this=0x8318b80,
    _id=71, _o=0xbfffe720) at kmcomposewin.moc:665


Thanks for your attention.

-- 
Cristian Tibirna
KDE developer .. tibirna at kde.org .. http://www.kde.org




More information about the kde-core-devel mailing list