Bug 166921 - Dolphin crashes when clicking on preview
Summary: Dolphin crashes when clicking on preview
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 167772 168323 168826 170148 170421 170557 170691 170859 171233 171262 171419 171450 171611 172025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-18 14:48 UTC by Patrick Hoffmann
Modified: 2008-10-02 22:36 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Valgrind log (44.32 KB, text/plain)
2008-07-18 14:49 UTC, Patrick Hoffmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Hoffmann 2008-07-18 14:48:02 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          g++ (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) 
OS:                Linux

Qt: 4.4.0
KDE: 4.1.60 (KDE 4.1.60 (KDE 4.2 >= 20080709))

KDE compiled today from SVN

As soon as I click on Preview dolphin crashes when "View Mode" Columns is activated.

Steps to reproduce:
	1. Open Dolphin
	2. Activate Columns
	3. Click on Preview

Backtrace:

Application: Dolphin (dolphin), signal SIGABRT

Thread 1 (Thread 0xb5ffc720 (LWP 20973)):
[KCrash Handler]
#6  0xb7fb3410 in __kernel_vsyscall ()
#7  0xb6398085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6399a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb73ed895 in qt_message_output (msgType=QtFatalMsg, buf=0xbfa13f40 "ASSERT: \"listers.isEmpty() || killed\" in file /home/kpatrick/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp, line 581")
    at /home/kpatrick/kde/src/qt-copy/src/corelib/global/qglobal.cpp:2058
#10 0xb73ed919 in qFatal (msg=0xb7544104 "ASSERT: \"%s\" in file %s, line %d") at /home/kpatrick/kde/src/qt-copy/src/corelib/global/qglobal.cpp:2260
#11 0xb73edd71 in qt_assert (assertion=0xb7ee6985 "listers.isEmpty() || killed", file=0xb7ee6574 "/home/kpatrick/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp", line=581)
    at /home/kpatrick/kde/src/qt-copy/src/corelib/global/qglobal.cpp:1828
#12 0xb7db7cb8 in KDirListerCache::updateDirectory (this=0x81b9338, _dir=@0x81edae8) at /home/kpatrick/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:581
#13 0xb7dbeb2f in KDirListerCache::emitItemsFromCache (this=0x81b9338, lister=0x81e5860, items=@0x81edaf0, rootItem=@0x81edaf4, _url=@0x81edae8, _reload=true, _emitCompleted=true)
    at /home/kpatrick/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:289
#14 0xb7dbebc6 in KDirLister::Private::CachedItemsJob::done (this=0x81edad8) at /home/kpatrick/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:251
#15 0xb7dbec37 in KDirLister::Private::CachedItemsJob::qt_metacall (this=0x81edad8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x81fed30)
    at /home/kpatrick/kde/build/KDE/kdelibs/kio/kdirlister_p.moc:154
#16 0xb74fb4ee in QMetaCallEvent::placeMetaCall (this=0x829e588, object=0x81edad8) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:535
#17 0xb74ff860 in QObject::event (this=0x81edad8, e=0x829e588) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qobject.cpp:1137
#18 0xb689b52d in QApplicationPrivate::notify_helper (this=0x80c1ca8, receiver=0x81edad8, e=0x829e588) at /home/kpatrick/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3772
#19 0xb689b813 in QApplication::notify (this=0xbfa168ec, receiver=0x81edad8, e=0x829e588) at /home/kpatrick/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3366
#20 0xb7b4c7cd in KApplication::notify (this=0xbfa168ec, receiver=0x81edad8, event=0x829e588) at /home/kpatrick/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#21 0xb74ec68a in QCoreApplication::notifyInternal (this=0xbfa168ec, receiver=0x81edad8, event=0x829e588) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#22 0xb74f01c9 in QCoreApplication::sendEvent (receiver=0x81edad8, event=0x829e588) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:215
#23 0xb74ecba2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80aacc0) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1195
#24 0xb74ecd53 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#25 0xb751d5a2 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:220
#26 0xb751c7b3 in postEventSourceDispatch (s=0x80c3978) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:211
#27 0xb6218bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb621be5e in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb621c3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb751bbcc in QEventDispatcherGlib::processEvents (this=0x80bc740, flags=@0xbfa167d4) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325
#31 0xb6943428 in QGuiEventDispatcherGlib::processEvents (this=0x80bc740, flags=@0xbfa16804) at /home/kpatrick/kde/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#32 0xb74e954a in QEventLoop::processEvents (this=0xbfa16880, flags=@0xbfa16844) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#33 0xb74e9789 in QEventLoop::exec (this=0xbfa16880, flags=@0xbfa16888) at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#34 0xb74ece73 in QCoreApplication::exec () at /home/kpatrick/kde/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#35 0xb689b246 in QApplication::exec () at /home/kpatrick/kde/src/qt-copy/src/gui/kernel/qapplication.cpp:3304
#36 0x0808458d in main (argc=6, argv=0xbfa16aa4) at /home/kpatrick/kde/src/KDE/kdebase/apps/dolphin/src/main.cpp:94
Comment 1 Patrick Hoffmann 2008-07-18 14:49:44 UTC
Created attachment 26234 [details]
Valgrind log
Comment 2 Peter Penz 2008-07-18 15:00:48 UTC
@David: I've reassigned this issue to you (looks this is related to the fix done in bug 166255). I did not have the time yet to check this issue myself, please let me know if you think that this crash is unrelated to bug 166255. Thanks!
Comment 3 Peter Penz 2008-07-30 22:55:28 UTC
*** Bug 167772 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Åkesson 2008-08-01 21:44:03 UTC
Don't know if it's related but I get the same crash and error message as in bug #167772 (marked as duplicate of this bug):
---------
ASSERT: "listers.isEmpty() || killed" in file /build/buildd/kde4libs-4.1.0/kio/kio/kdirlister.cpp, line 581
Fatal Error: Accessed global static 'Solid::DeviceManagerPrivate *globalDeviceManager()' after destruction. Defined at /build/buildd/kde4libs-4.1.0/solid/solid/devicemanager.cpp:32
---------
This happens when I have split view enabled and I start another instance of Dolphin; when the second instance starts, both instances crash, and the first one gives the error-messages. I can't create a backtrace though.

Reproduce by:
1. Start dolphin, open the Settings->Configure-dialog and select "Split view mode"
2. Close dolphin and start it again
3. Start it again or open a new window

Dolphin Version 1.1
Using KDE 4.1.00 (KDE 4.1.0)
Ubuntu packages
Comment 5 Dario Andres 2008-08-02 19:58:30 UTC
Version 1.1 Using KDE 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) (KDEmod) in ArchLinux i686:
I can confirm the original bug and the other bug in comment 4
Comment 6 Peter Penz 2008-08-05 08:20:07 UTC
*** Bug 168323 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2008-08-09 23:47:34 UTC
*** Bug 168826 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2008-08-19 17:50:29 UTC
I can also reproduce both bugs (original and comment 4) with:
Version 4.1.62 (KDE 4.1.62 (KDE 4.2 >= 20080814))
kdelibs4.2 svn rev.849324
kdebase4.2 svn rev.849337
ArchLinux 2.6.25-zen2-20080814 i686 

Isn't this bug related to bug 167851 ?
Comment 9 Frank Reininghaus 2008-08-31 21:49:52 UTC
*** Bug 170148 has been marked as a duplicate of this bug. ***
Comment 10 Frank Reininghaus 2008-09-07 18:59:59 UTC
*** Bug 170557 has been marked as a duplicate of this bug. ***
Comment 11 Frank Reininghaus 2008-09-08 18:37:47 UTC
*** Bug 170691 has been marked as a duplicate of this bug. ***
Comment 12 Frank Reininghaus 2008-09-11 18:07:00 UTC
*** Bug 170859 has been marked as a duplicate of this bug. ***
Comment 13 Frank Reininghaus 2008-09-19 00:08:43 UTC
*** Bug 171233 has been marked as a duplicate of this bug. ***
Comment 14 Frank Reininghaus 2008-09-19 00:12:26 UTC
*** Bug 170421 has been marked as a duplicate of this bug. ***
Comment 15 Frank Reininghaus 2008-09-19 00:15:18 UTC
*** Bug 171262 has been marked as a duplicate of this bug. ***
Comment 16 David Faure 2008-09-19 20:07:15 UTC
Same bug as 167851:
Confirmed. KDirLister corner case. Unit tested. Fixed. r862727 in trunk, 862734
in branch.
Comment 17 Charles 2008-09-20 12:39:07 UTC
Will the fix be backported to 4.1.2 ?
Comment 18 Jonathan Thomas 2008-09-20 13:53:11 UTC
It already has been.
Comment 19 Oliver Putz 2008-09-21 22:41:35 UTC
*** Bug 171419 has been marked as a duplicate of this bug. ***
Comment 20 Frank Reininghaus 2008-09-22 19:15:07 UTC
*** Bug 171450 has been marked as a duplicate of this bug. ***
Comment 21 Frank Reininghaus 2008-09-28 23:57:59 UTC
*** Bug 171611 has been marked as a duplicate of this bug. ***
Comment 22 Frank Reininghaus 2008-10-02 22:36:27 UTC
*** Bug 172025 has been marked as a duplicate of this bug. ***