Bug 195986 - k3b crashes at startup (ASSERT: "!name.isEmpty() in kdirlister.cpp)
Summary: k3b crashes at startup (ASSERT: "!name.isEmpty() in kdirlister.cpp)
Status: RESOLVED DUPLICATE of bug 164252
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 10:39 UTC by Oliver Putz
Modified: 2011-01-03 13:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
bt full log for crash from bug 195986 (19.53 KB, text/plain)
2009-06-11 10:41 UTC, Oliver Putz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Putz 2009-06-11 10:39:47 UTC
Version:            (using KDE 4.2.4)
Compiler:          gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

Steps to reproduce:

1) Compile k3b from svn using KDE-4.2.4
2) Try to launch k3b
3) See k3b crash immediately with the backtace below

Note: The assert being thrown is: ASSERT: "!name.isEmpty()" in file /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kio/kio/kdirlister.cpp, line 1057

Note II: I did a quick duplicate search, but most bugs that I found already were supposedly resolved. (Mostly they were about dolphin trying to list "weird directories" (smb:/, remote:/, trash:/... Perhaps this is just yet another way of triggering such an event?)

Backtrace:

#0  0x00007fe012d96235 in raise () from /lib/libc.so.6
#1  0x00007fe012d97753 in abort () from /lib/libc.so.6
#2  0x00007fe014649375 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2017
#3  0x00007fe014649490 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2216
#4  0x00007fe019290d2a in KDirListerCache::slotEntries (this=0xb22af0, job=<value optimized out>, entries=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kio/kio/kdirlister.cpp:1057
#5  0x00007fe01929762b in KDirListerCache::qt_metacall (this=0xb22af0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff22340630) at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4_build/kio/kdirlister_p.moc:98
#6  0x00007fe0147482d5 in QMetaObject::activate (sender=0xb31530, from_signal_index=<value optimized out>, to_signal_index=40, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#7  0x00007fe0192752b4 in KIO::ListJob::entries (this=0xffffffff, _t1=0xb31530, _t2=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4_build/kio/jobclasses.moc:781
#8  0x00007fe01927be54 in KIO::ListJobPrivate::slotListEntries (this=0xb34b90, list=@0x7fff22340a90)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kio/kio/job.cpp:2351
#9  0x00007fe01927c0ce in KIO::ListJob::qt_metacall (this=0xb31530, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff223408f0) at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4_build/kio/jobclasses.moc:767
#10 0x00007fe0147482d5 in QMetaObject::activate (sender=0xbc6250, from_signal_index=<value optimized out>, to_signal_index=10, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#11 0x00007fe0192f23cf in KIO::SlaveInterface::listEntries (this=0xffffffff, _t1=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4_build/kio/slaveinterface.moc:179
#12 0x00007fe0192f3b53 in KIO::SlaveInterface::dispatch (this=0xbc6250, _cmd=<value optimized out>, rawdata=@0x7fff22340b00)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kio/kio/slaveinterface.cpp:193
#13 0x00007fe0192f4279 in KIO::SlaveInterface::dispatch (this=0xbc6250)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kio/kio/slaveinterface.cpp:91
#14 0x00007fe0192e9f93 in KIO::Slave::gotInput (this=0xbc6250)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kio/kio/slave.cpp:322
#15 0x00007fe0192eae95 in KIO::Slave::qt_metacall (this=0xbc6250, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff22340c70)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4_build/kio/slave.moc:76
#16 0x00007fe0147482d5 in QMetaObject::activate (sender=0xb44530, from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#17 0x00007fe019257e4f in KIO::ConnectionPrivate::dequeue (this=0xc5c7a0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kio/kio/connection.cpp:82
#18 0x00007fe019258a61 in KIO::Connection::qt_metacall (this=0xb44530, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xd03790)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4_build/kio/connection.moc:73
#19 0x00007fe014742e41 in QObject::event (this=0xb44530, e=0xf02310) at kernel/qobject.cpp:1106
#20 0x00007fe0139fe34d in QApplicationPrivate::notify_helper (this=0x832ad0, receiver=0xb44530, e=0xf02310)
    at kernel/qapplication.cpp:4057
#21 0x00007fe013a06f8e in QApplication::notify (this=0x7fff22343340, receiver=0xb44530, e=0xf02310) at kernel/qapplication.cpp:4022
#22 0x00007fe0154bbe7d in KApplication::notify (this=0x7fff22343340, receiver=0xb44530, event=0xf02310)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307
#23 0x00007fe01473292b in QCoreApplication::notifyInternal (this=0x7fff22343340, receiver=0xb44530, event=0xf02310)
    at kernel/qcoreapplication.cpp:606
#24 0x00007fe014736135 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x808690)
    at kernel/qcoreapplication.h:213
#25 0x00007fe01475adc3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#26 0x00007fe01011b614 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007fe01011d4d7 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#28 0x00007fe01011d5bd in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007fe01475aaff in QEventDispatcherGlib::processEvents (this=0x81bed0, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:324
#30 0x00007fe013a8c21f in QGuiEventDispatcherGlib::processEvents (this=0x42cf, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007fe014731592 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 573838752}) at kernel/qeventloop.cpp:149
#32 0x00007fe014731725 in QEventLoop::exec (this=0x7fff223415f0, flags={i = 573838864}) at kernel/qeventloop.cpp:196
#33 0x00007fe013e955c9 in QDialog::exec (this=0x7fff223416f0) at dialogs/qdialog.cpp:498
#34 0x00000000005400eb in K3b::SystemProblemDialog::checkSystem (parent=0x967940, level=K3b::SystemProblemDialog::NotifyOnlyErrors)
    at /home/oliver/k3b/multimedia/k3b/src/k3bsystemproblemdialog.cpp:597
#35 0x000000000051c665 in K3b::Application::init (this=0x7fff22343340) at /home/oliver/k3b/multimedia/k3b/src/k3bapplication.cpp:144
#36 0x000000000051c748 in K3b::Application::qt_metacall (this=0x7fff22343340, _c=QMetaObject::InvokeMetaMethod, _id=0, 
    _a=0x7fff22342960) at /home/oliver/k3b/multimedia/k3b/build/src/k3bapplication.moc:74
#37 0x00007fe0147482d5 in QMetaObject::activate (sender=0x8e57b0, from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3108
#38 0x00007fe01474dd7f in QSingleShotTimer::timerEvent (this=0x8e57b0) at kernel/qtimer.cpp:298
#39 0x00007fe014742b43 in QObject::event (this=0x8e57b0, e=0x42cf) at kernel/qobject.cpp:1073
#40 0x00007fe0139fe34d in QApplicationPrivate::notify_helper (this=0x832ad0, receiver=0x8e57b0, e=0x7fff22343030)
    at kernel/qapplication.cpp:4057
#41 0x00007fe013a06f8e in QApplication::notify (this=0x7fff22343340, receiver=0x8e57b0, e=0x7fff22343030)
    at kernel/qapplication.cpp:4022
#42 0x00007fe0154bbe7d in KApplication::notify (this=0x7fff22343340, receiver=0x8e57b0, event=0x7fff22343030)
    at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307
#43 0x00007fe01473292b in QCoreApplication::notifyInternal (this=0x7fff22343340, receiver=0x8e57b0, event=0x7fff22343030)
    at kernel/qcoreapplication.cpp:606
#44 0x00007fe01475df76 in QTimerInfoList::activateTimers (this=0x83c520) at kernel/qcoreapplication.h:213
#45 0x00007fe01475ab9d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164
#46 0x00007fe01011b614 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0x00007fe01011d4d7 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#48 0x00007fe01011d5bd in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0x00007fe01475aaff in QEventDispatcherGlib::processEvents (this=0x81bed0, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:324
#50 0x00007fe013a8c21f in QGuiEventDispatcherGlib::processEvents (this=0x42cf, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:202
#51 0x00007fe014731592 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 573846128}) at kernel/qeventloop.cpp:149
#52 0x00007fe014731725 in QEventLoop::exec (this=0x7fff223432b0, flags={i = 573846208}) at kernel/qeventloop.cpp:196
#53 0x00007fe0147363ee in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#54 0x0000000000539c0f in main (argc=2, argv=0x7fff223440a8) at /home/oliver/k3b/multimedia/k3b/src/main.cpp:160
Comment 1 Oliver Putz 2009-06-11 10:41:24 UTC
Created attachment 34423 [details]
bt full log for crash from bug 195986

A more verbose backtrace (bt full) for this crash
Comment 2 Oliver Putz 2009-06-11 10:45:54 UTC
As I forgot to add this in the initial bugreport: The svn checkout of k3b I am talking about is rev 980130
Comment 3 Oliver Putz 2009-06-11 11:01:30 UTC
Ok, I just looked into this a little further: The real cause for this crash seems to be bug #164252. Just that k3b automatically at startup does what needs some user input to be done in but #164252...
Comment 4 Michał Małek 2009-10-24 19:08:24 UTC
Ok, so let's merge this with bug #164252

*** This bug has been marked as a duplicate of bug 164252 ***