Bug 246971

Summary: Deleting (Shift+Del) selected files sometimes crashes Dolphin
Product: [Applications] dolphin Reporter: Cristian Ciobanu <ciobanu.n.cristian>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Cristian Ciobanu 2010-08-07 10:29:05 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723))
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Sometimes (~2/3 times) when I select files and press Shift + Del Dolphin crashes

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7feec093c760 (LWP 8957))]

Thread 2 (Thread 0x7feea7ccb710 (LWP 8984)):
[KCrash Handler]
#6  0x00007feeb863f765 in _Construct<MimeRule, MimeRule> (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_construct.h:80
#7  uninitialized_copy<__gnu_cxx::__normal_iterator<MimeRule const*, std::vector<MimeRule> >, MimeRule*> (this=0x19d5e78, __position=..., __x=<value optimized out>)
    at /usr/include/c++/4.5/bits/stl_uninitialized.h:74
#8  uninitialized_copy<__gnu_cxx::__normal_iterator<MimeRule const*, std::vector<MimeRule> >, MimeRule*> (this=0x19d5e78, __position=..., __x=<value optimized out>)
    at /usr/include/c++/4.5/bits/stl_uninitialized.h:116
#9  __uninitialized_copy_a<__gnu_cxx::__normal_iterator<MimeRule const*, std::vector<MimeRule> >, MimeRule*, MimeRule> (this=0x19d5e78, __position=..., __x=<value optimized out>)
    at /usr/include/c++/4.5/bits/stl_uninitialized.h:318
#10 vector (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_vector.h:243
#11 Mime (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:67
#12 _Construct<Mime, Mime> (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_construct.h:80
#13 uninitialized_copy<Mime*, Mime*> (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:74
#14 uninitialized_copy<Mime*, Mime*> (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:116
#15 __uninitialized_copy_a<Mime*, Mime*, Mime> (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:318
#16 __uninitialized_move_a<Mime*, Mime*, std::allocator<Mime> > (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:328
#17 std::vector<Mime, std::allocator<Mime> >::_M_insert_aux (this=0x19d5e78, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/vector.tcc:338
#18 0x00007feeb863e777 in push_back (this=0x19d5e70, file="/usr/share/mime/magic") at /usr/include/c++/4.5/bits/stl_vector.h:749
#19 Strigi::MimeEventAnalyzer::Private::parseFile (this=0x19d5e70, file="/usr/share/mime/magic") at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:268
#20 0x00007feeb863e8eb in Strigi::MimeEventAnalyzer::Private::parseFiles (this=0x19d5e70) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:121
#21 0x00007feeb863ea92 in Strigi::MimeEventAnalyzer::startAnalysis (this=0x19d67f0, ar=0x7feea7cca990) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:274
#22 0x00007feeb85fa9c2 in Strigi::EventThroughAnalyzer::connectInputStream (this=0x19d7d80, in=0x7feea7cca8c0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventthroughanalyzer.cpp:56
#23 0x00007feeb861b242 in Strigi::StreamAnalyzerPrivate::analyze (this=0x18cf9d0, idx=..., input=0x7feea7cca8c0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:395
#24 0x00007feeb8bc4361 in KFileMetaInfoPrivate::init (this=0x17c3370, stream=<value optimized out>, url=<value optimized out>, mtime=1280049580, w=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:210
#25 0x00007feeb8c5abf8 in KFileMetaInfo::KFileMetaInfo (this=0x7feea7ccad20, path=<value optimized out>, w=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:237
#26 0x00007feeb8c5b53f in KLoadFileMetaDataThread::run (this=0x8a4080) at /usr/src/debug/kdelibs-4.4.95/kio/kfile/kloadfilemetadatathread.cpp:124
#27 0x00007feebf574bf5 in QThreadPrivate::start (arg=0x8a4080) at thread/qthread_unix.cpp:248
#28 0x00007feebf2e6a4f in start_thread () from /lib64/libpthread.so.0
#29 0x00007feebe0d682d in clone () from /lib64/libc.so.6
#30 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7feec093c760 (LWP 8957)):
#0  0x00007feebc615c70 in ?? () from /usr/lib64/libxcb.so.1
#1  0x00007feebc616169 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007feebc6161f7 in xcb_writev () from /usr/lib64/libxcb.so.1
#3  0x00007feebfe52776 in _XSend () from /usr/lib64/libX11.so.6
#4  0x00007feebfe52945 in _XFlush () from /usr/lib64/libX11.so.6
#5  0x00007feebccf824c in XRenderComposite () from /usr/lib64/libXrender.so.1
#6  0x00007feebea1691e in QX11PaintEngine::drawTiledPixmap (this=<value optimized out>, r=<value optimized out>, pixmap=..., p=<value optimized out>) at painting/qpaintengine_x11.cpp:2159
#7  0x00007feebe97a7bc in QPainter::drawTiledPixmap (this=0x7fff794051b0, r=..., pixmap=..., sp=...) at painting/qpainter.cpp:6474
#8  0x00007feeae5cc30a in Oxygen::TileSet::render(QRect const&, QPainter*, QFlags<Oxygen::TileSet::Tile>) const () from /usr/lib64/liboxygenstyle.so.4
#9  0x00007feeae842750 in ?? () from /usr/lib64/kde4/plugins/styles/oxygen.so
#10 0x00007feebf65bfd7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x9183b0, event=0x7fff794057f0) at kernel/qcoreapplication.cpp:841
#11 0x00007feebe8304a1 in QApplicationPrivate::notify_helper (this=0x69c7c0, receiver=0x9183b0, e=0x7fff794057f0) at kernel/qapplication.cpp:4298
#12 0x00007feebe838aca in QApplication::notify (this=<value optimized out>, receiver=0x9183b0, e=0x7fff794057f0) at kernel/qapplication.cpp:4185
#13 0x00007feec02c1096 in KApplication::notify (this=0x7fff79406e30, receiver=0x9183b0, event=0x7fff794057f0) at /usr/src/debug/kdelibs-4.4.95/kdeui/kernel/kapplication.cpp:309
#14 0x00007feebf65be4c in QCoreApplication::notifyInternal (this=0x7fff79406e30, receiver=0x9183b0, event=0x7fff794057f0) at kernel/qcoreapplication.cpp:726
#15 0x00007feebe87c1b2 in sendSpontaneousEvent (this=0xa80470, pdev=0xa880a8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x886ad0)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#16 QWidgetPrivate::drawWidget (this=0xa80470, pdev=0xa880a8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x886ad0) at kernel/qwidget.cpp:5363
#17 0x00007feebe87cd7f in QWidgetPrivate::paintSiblingsRecursive (this=0x778bc0, pdev=0xa880a8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x886ad0) at kernel/qwidget.cpp:5476
#18 0x00007feebe87bf1a in QWidgetPrivate::drawWidget (this=0x778bc0, pdev=0xa880a8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x886ad0)
    at kernel/qwidget.cpp:5412
#19 0x00007feebea30231 in QWidgetBackingStore::sync (this=0x886ad0) at painting/qbackingstore.cpp:1300
#20 0x00007feebe872940 in QWidgetPrivate::syncBackingStore (this=0x778bc0) at kernel/qwidget.cpp:1688
#21 0x00007feebe881272 in QWidget::event (this=0x79ca10, event=0x19560f0) at kernel/qwidget.cpp:8337
#22 0x00007feebec2ca6b in QMainWindow::event (this=0x79ca10, event=0x19560f0) at widgets/qmainwindow.cpp:1414
#23 0x00007feec033c8b3 in KXmlGuiWindow::event (this=0x79ca10, ev=0x19560f0) at /usr/src/debug/kdelibs-4.4.95/kdeui/xmlgui/kxmlguiwindow.cpp:130
#24 0x00007feebe8304d4 in QApplicationPrivate::notify_helper (this=0x69c7c0, receiver=0x79ca10, e=0x19560f0) at kernel/qapplication.cpp:4302
#25 0x00007feebe838aca in QApplication::notify (this=<value optimized out>, receiver=0x79ca10, e=0x19560f0) at kernel/qapplication.cpp:4185
#26 0x00007feec02c1096 in KApplication::notify (this=0x7fff79406e30, receiver=0x79ca10, event=0x19560f0) at /usr/src/debug/kdelibs-4.4.95/kdeui/kernel/kapplication.cpp:309
#27 0x00007feebf65be4c in QCoreApplication::notifyInternal (this=0x7fff79406e30, receiver=0x79ca10, event=0x19560f0) at kernel/qcoreapplication.cpp:726
#28 0x00007feebf65f5ba in sendEvent (receiver=0x0, event_type=0, data=0x60f570) at kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60f570) at kernel/qcoreapplication.cpp:1367
#30 0x00007feebf684173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#32 0x00007feebb1e4a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007feebb1e5270 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007feebb1e5510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007feebf68467f in QEventDispatcherGlib::processEvents (this=0x69bdb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#36 0x00007feebe8d114e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007feebf65b292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007feebf65b495 in QEventLoop::exec (this=0x7fff79406d70, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007feebf65f88b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#40 0x00007feeafc63085 in kdemain (argc=5, argv=0x677e20) at /usr/src/debug/kdebase-4.4.95/apps/dolphin/src/main.cpp:98
#41 0x00000000004074a9 in _start ()

Reported using DrKonqi
Comment 1 Peter Penz 2010-08-07 16:39:23 UTC
Thanks for the report, this issue has been fixed just recently. Please reopen
the bug if it still occurs with the final KDE SC 4.5.0 version.