Bug 244034

Summary: Crash during startup
Product: [Unmaintained] kdelibs Reporter: Marius Kotsbak <marius>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: CLOSED WORKSFORME    
Severity: crash CC: marius, michalm, trueg
Priority: NOR    
Version: 4.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Marius Kotsbak 2010-07-09 14:04:04 UTC
Application: k3b (1.91.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I just started up k3b and it crashes with the given stack trace.  My (k)ubuntu is upgraded several times from older versions of Ubuntu.

The crash can be reproduced every time.

 -- Backtrace:
Application: K3b (k3b), signal: Segmentation fault
[Current thread is 1 (Thread 0xb772d710 (LWP 8222))]

Thread 2 (Thread 0xb4d2fb70 (LWP 8242)):
#0  0x0050b422 in __kernel_vsyscall ()
#1  0x007e2342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x053c0c1e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:398
#3  0x053c0dc0 in QThread::sleep (secs=2) at thread/qthread_unix.cpp:412
#4  0x001a25d9 in K3b::MediaCache::PollThread::run (this=0x8550420) at /build/buildd/k3b-1.91.0~rc2/libk3b/tools/k3bmediacache.cpp:106
#5  0x053c132e in QThreadPrivate::start (arg=0x8550420) at thread/qthread_unix.cpp:248
#6  0x007dd96e in start_thread (arg=0xb4d2fb70) at pthread_create.c:300
#7  0x021eca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb772d710 (LWP 8222)):
[KCrash Handler]
#6  KMimeType::d_func (this=0x0, mimeTypeName=...) at ../../kdecore/services/kmimetype.h:48
#7  KMimeType::is (this=0x0, mimeTypeName=...) at ../../kdecore/services/kmimetype.cpp:648
#8  0x0067037c in KFileItem::isDesktopFile (this=0x8950518) at ../../kio/kio/kfileitem.cpp:1467
#9  0x006703fb in KFileItem::overlays (this=0x8950518) at ../../kio/kio/kfileitem.cpp:822
#10 0x00658dfa in KDirModel::data (this=0x860ea80, index=..., role=1) at ../../kio/kio/kdirmodel.cpp:677
#11 0x05f3e3c8 in QSortFilterProxyModel::data (this=0x85f07e0, index=..., role=1) at itemviews/qsortfilterproxymodel.cpp:1678
#12 0x006826d0 in QModelIndex::data (this=0x880e360, option=..., index=...) at /usr/include/qt4/QtCore/qabstractitemmodel.h:398
#13 KFileItemDelegate::Private::decoration (this=0x880e360, option=..., index=...) at ../../kio/kio/kfileitemdelegate.cpp:1028
#14 0x006835f7 in KFileItemDelegate::Private::initStyleOption (this=0x880e360, option=0xbfd2dc3c, index=...) at ../../kio/kio/kfileitemdelegate.cpp:815
#15 0x006849ce in KFileItemDelegate::sizeHint (this=0x880e2f8, option=..., index=...) at ../../kio/kio/kfileitemdelegate.cpp:870
#16 0x05ed4bbc in QListViewPrivate::itemSize (this=0x880b298, option=..., index=...) at itemviews/qlistview.cpp:1780
#17 0x05ed79f5 in QCommonListViewBase::itemSize (this=0x880dce0, info=..., max=137) at ../../include/QtGui/private/../../../src/gui/itemviews/qlistview_p.h:473
#18 QIconModeViewBase::doBatchedItemLayout (this=0x880dce0, info=..., max=137) at itemviews/qlistview.cpp:2735
#19 0x05eca171 in QListViewPrivate::doItemsLayout (this=0x880b298, delta=138) at itemviews/qlistview.cpp:1717
#20 0x05eca5a5 in QListView::doItemsLayout (this=0x87c7118) at itemviews/qlistview.cpp:1460
#21 0x05ed1523 in QAbstractItemViewPrivate::executePostedLayout (this=0x87c7118, index=...) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
#22 QListViewPrivate::rectForIndex (this=0x87c7118, index=...) at ../../include/QtGui/private/../../../src/gui/itemviews/qlistview_p.h:344
#23 QListView::rectForIndex (this=0x87c7118, index=...) at itemviews/qlistview.cpp:1226
#24 0x05ed163c in QListView::visualRect (this=0x87c7118, index=...) at itemviews/qlistview.cpp:561
#25 0x005fe0f6 in KIO::DefaultViewAdapter::visualRect (this=0x8810a20, index=...) at ../../kio/kio/defaultviewadapter.cpp:57
#26 0x009e46a6 in KFilePreviewGenerator::Private::orderItems (this=0x8810af8, items=...) at ../../kfile/kfilepreviewgenerator.cpp:1042
#27 0x009e85bd in KFilePreviewGenerator::Private::updateIcons (this=0x8810af8, items=...) at ../../kfile/kfilepreviewgenerator.cpp:515
#28 0x009e9958 in KFilePreviewGenerator::qt_metacall (this=0x8810940, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd2e278) at ./kfilepreviewgenerator.moc:93
#29 0x054c8c9a in QMetaObject::metacall (object=0x8810940, cl=144064288, idx=4, argv=0xbfd2e278) at kernel/qmetaobject.cpp:237
#30 0x054d73d5 in QMetaObject::activate (sender=0x85f07a8, m=0x7cdfbc, local_signal_index=9, argv=0xbfd2e278) at kernel/qobject.cpp:3293
#31 0x0063f3c3 in KDirLister::newItems (this=0x85f07a8, _t1=...) at ./kdirlister.moc:267
#32 0x00640587 in KDirLister::Private::emitItems (this=0x860ea20) at ../../kio/kio/kdirlister.cpp:2360
#33 0x00648cb5 in KDirListerCache::slotEntries (this=0x85c26f8, job=0x8602e68, entries=...) at ../../kio/kio/kdirlister.cpp:1157
#34 0x00654816 in KDirListerCache::qt_metacall (this=0x85c26f8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfd2e524) at ./kdirlister_p.moc:104
#35 0x054c8c9a in QMetaObject::metacall (object=0x85c26f8, cl=144064288, idx=11, argv=0xbfd2e524) at kernel/qmetaobject.cpp:237
#36 0x054d73d5 in QMetaObject::activate (sender=0x8602e68, m=0x7cd320, local_signal_index=0, argv=0xbfd2e524) at kernel/qobject.cpp:3293
#37 0x00618599 in KIO::ListJob::entries (this=0x8602e68, _t1=0x8602e68, _t2=...) at ./jobclasses.moc:835
#38 0x00624ecb in KIO::ListJobPrivate::slotListEntries (this=0x8602dd0, list=...) at ../../kio/kio/job.cpp:2411
#39 0x006250b8 in KIO::ListJob::qt_metacall (this=0x8602e68, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xbfd2e728) at ./jobclasses.moc:821
#40 0x054c8c9a in QMetaObject::metacall (object=0x8602e68, cl=144064288, idx=46, argv=0xbfd2e728) at kernel/qmetaobject.cpp:237
#41 0x054d73d5 in QMetaObject::activate (sender=0x85d3e08, m=0x7cff44, local_signal_index=6, argv=0xbfd2e728) at kernel/qobject.cpp:3293
#42 0x006eb653 in KIO::SlaveInterface::listEntries (this=0x85d3e08, _t1=...) at ./slaveinterface.moc:185
#43 0x006ee977 in KIO::SlaveInterface::dispatch (this=0x85d3e08, _cmd=106, rawdata=...) at ../../kio/kio/slaveinterface.cpp:193
#44 0x006ebbc3 in KIO::SlaveInterface::dispatch (this=0x85d3e08) at ../../kio/kio/slaveinterface.cpp:91
#45 0x006df088 in KIO::Slave::gotInput (this=0x85d3e08) at ../../kio/kio/slave.cpp:324
#46 0x006df293 in KIO::Slave::qt_metacall (this=0x85d3e08, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd2ea0c) at ./slave.moc:82
#47 0x054c8c9a in QMetaObject::metacall (object=0x85d3e08, cl=144064288, idx=30, argv=0xbfd2ea0c) at kernel/qmetaobject.cpp:237
#48 0x054d73d5 in QMetaObject::activate (sender=0x85bb1b8, m=0x7cc820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#49 0x005e9bd7 in KIO::Connection::readyRead (this=0x85bb1b8) at ./connection.moc:92
#50 0x005ebf8e in KIO::ConnectionPrivate::dequeue (this=0x8772a48) at ../../kio/kio/connection.cpp:82
#51 0x005ec0be in KIO::Connection::qt_metacall (this=0x85bb1b8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x87b15b8) at ./connection.moc:79
#52 0x054c8c9a in QMetaObject::metacall (object=0x85bb1b8, cl=144064288, idx=5, argv=0x87b15b8) at kernel/qmetaobject.cpp:237
#53 0x054d3336 in QMetaCallEvent::placeMetaCall (this=0x85a34b8, object=0x85bb1b8) at kernel/qobject.cpp:561
#54 0x054d43fe in QObject::event (this=0x85bb1b8, e=0x85a34b8) at kernel/qobject.cpp:1248
#55 0x0590c4dc in QApplicationPrivate::notify_helper (this=0x8451110, receiver=0x85bb1b8, e=0x85a34b8) at kernel/qapplication.cpp:4300
#56 0x0591305e in QApplication::notify (this=0xbfd2fcc0, receiver=0x85bb1b8, e=0x85a34b8) at kernel/qapplication.cpp:3704
#57 0x0437ef2a in KApplication::notify (this=0xbfd2fcc0, receiver=0x85bb1b8, event=0x85a34b8) at ../../kdeui/kernel/kapplication.cpp:302
#58 0x054c3a3b in QCoreApplication::notifyInternal (this=0xbfd2fcc0, receiver=0x85bb1b8, event=0x85a34b8) at kernel/qcoreapplication.cpp:704
#59 0x054c6473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x842a710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x842a710) at kernel/qcoreapplication.cpp:1345
#61 0x054c65dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#62 0x054efadf in QCoreApplication::sendPostedEvents (s=0x8452d20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#63 postEventSourceDispatch (s=0x8452d20) at kernel/qeventdispatcher_glib.cpp:276
#64 0x077325e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#65 0x077362d8 in ?? () from /lib/libglib-2.0.so.0
#66 0x077364b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#67 0x054ef5d5 in QEventDispatcherGlib::processEvents (this=0x842a2a8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#68 0x059cc135 in QGuiEventDispatcherGlib::processEvents (this=0x842a2a8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x054c2059 in QEventLoop::processEvents (this=0xbfd2f2c0, flags=) at kernel/qeventloop.cpp:149
#70 0x054c24aa in QEventLoop::exec (this=0xbfd2f2c0, flags=...) at kernel/qeventloop.cpp:201
#71 0x05e4b4f3 in QDialog::exec (this=0x876dcf0) at dialogs/qdialog.cpp:546
#72 0x042df99f in KDialogQueue::Private::slotShowQueuedDialog (this=0x88ed040) at ../../kdeui/dialogs/kdialog.cpp:1063
#73 0x042dfa44 in KDialogQueue::qt_metacall (this=0x88ecfd8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd2f41c) at ./kdialogqueue_p.moc:72
#74 0x054c8c9a in QMetaObject::metacall (object=0x88ecfd8, cl=144064288, idx=4, argv=0xbfd2f41c) at kernel/qmetaobject.cpp:237
#75 0x054d73d5 in QMetaObject::activate (sender=0x88ed0b8, m=0x55d6188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#76 0x054defe7 in QSingleShotTimer::timeout (this=0x88ed0b8) at .moc/release-shared/qtimer.moc:82
#77 0x054df0fc in QSingleShotTimer::timerEvent (this=0x88ed0b8) at kernel/qtimer.cpp:308
#78 0x054d4254 in QObject::event (this=0x88ed0b8, e=0x0) at kernel/qobject.cpp:1212
#79 0x0590c4dc in QApplicationPrivate::notify_helper (this=0x8451110, receiver=0x88ed0b8, e=0xbfd2f950) at kernel/qapplication.cpp:4300
#80 0x0591305e in QApplication::notify (this=0xbfd2fcc0, receiver=0x88ed0b8, e=0xbfd2f950) at kernel/qapplication.cpp:3704
#81 0x0437ef2a in KApplication::notify (this=0xbfd2fcc0, receiver=0x88ed0b8, event=0xbfd2f950) at ../../kdeui/kernel/kapplication.cpp:302
#82 0x054c3a3b in QCoreApplication::notifyInternal (this=0xbfd2fcc0, receiver=0x88ed0b8, event=0xbfd2f950) at kernel/qcoreapplication.cpp:704
#83 0x054f2d66 in QCoreApplication::sendEvent (this=0x8453934) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#84 QTimerInfoList::activateTimers (this=0x8453934) at kernel/qeventdispatcher_unix.cpp:603
#85 0x054ef8e4 in timerSourceDispatch (source=0x8453900) at kernel/qeventdispatcher_glib.cpp:184
#86 0x077325e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#87 0x077362d8 in ?? () from /lib/libglib-2.0.so.0
#88 0x077364b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#89 0x054ef5d5 in QEventDispatcherGlib::processEvents (this=0x842a2a8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#90 0x059cc135 in QGuiEventDispatcherGlib::processEvents (this=0x842a2a8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#91 0x054c2059 in QEventLoop::processEvents (this=0xbfd2fc14, flags=) at kernel/qeventloop.cpp:149
#92 0x054c24aa in QEventLoop::exec (this=0xbfd2fc14, flags=...) at kernel/qeventloop.cpp:201
#93 0x054c669f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#94 0x0590c577 in QApplication::exec () at kernel/qapplication.cpp:3579
#95 0x0817caf4 in main (argc=1, argv=0xbfd30084) at /build/buildd/k3b-1.91.0~rc2/src/main.cpp:165

Reported using DrKonqi
Comment 1 Marius Kotsbak 2010-07-09 14:05:39 UTC
Output during startup:

$ k3b
QBuffer::seek: Invalid pos: 7667827
k3b(8558)/kdecore (KSycoca): "KServiceTypeFactory: unexpected object entry in KSycoca database (type = 7471151)" 

k3b(8558)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "K3b/Plugin"  not found 
K3bQProcess::QProcess(0x0)
K3bQProcess::QProcess(0x0)
k3b(8558)/kdeui (kdelibs): Attempt to use QAction "view_projects" with KXMLGUIFactory! 
k3b(8558)/kdeui (kdelibs): Attempt to use QAction "view_dir_tree" with KXMLGUIFactory! 
k3b(8558)/kdeui (kdelibs): Attempt to use QAction "view_contents" with KXMLGUIFactory! 
k3b(8558)/kdeui (kdelibs): Attempt to use QAction "location_bar" with KXMLGUIFactory! 
marius@mariuspc:~/git_gseq/Blackfin/web_interface$ k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
k3b(8558)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/local/share/mime/magic"
k3b(8558)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/home/marius/.local/share/mime/magic"
k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 1694529536)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

k3b(8558)/kdecore (KSycoca): "KMimeTypeFactory: unexpected object entry in KSycoca database (type = 35740)" 

KCrash: Application 'k3b' crashing...
Comment 2 Marius Kotsbak 2010-07-09 14:42:54 UTC
Created attachment 48713 [details]
New crash information added by DrKonqi

Updated stacktrace after last update of the k3b package.
Comment 3 Michał Małek 2010-07-10 22:45:42 UTC
Looks like kdelibs issue
Comment 4 Marius Kotsbak 2010-07-14 14:11:50 UTC
I don't reproduce the problem anymore. Maybe a newer version of k3b that just got installed solved the problem.