Bug 222324

Summary: Dolphin randomly crashes [deref/QMetaObject::activate, QThread*] (KLoadMetaDataThread on SC4.4)
Product: [Applications] dolphin Reporter: Lucas Vikström <lucas.vikstrom>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: amrecio, andreiamenta, andresbajotierra, carlos_olvera_gomez, danilo_win, darkplexus, deadbabylon, dima, dkmerriman, grimm, iferca, imranoftherings, info, johann-nikolaus, johannes.schwall, j_kolberg11, karl.sebastian.liebich, klich.michal, kmg952, leese.thomas81, leonardo.salerno, mark.knos, matt, mohamednasr2000, neokore, nigel.cundy, nunoplopes, rado.kljucevsek, reconciliation, rulatir, thomas.richard, tjm1983, valerymamonov, zdenek.zikan
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Lucas Vikström 2010-01-12 03:45:41 UTC
Application: dolphin (1.3.80)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1)) "release 2"
Qt Version: 4.6.1
Operating System: Linux 2.6.31.8-0.1-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
Dolphin crashed after I shift+deleted some files. It has happend 3 times. 
 - The first time right after a deletion
 - The second time after deletion when I moved up from Documets back to home directory
 - The third time also directly after deletion (this one is the one with bug report info)

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fabb541b7f0 (LWP 10163))]

Thread 3 (Thread 0x7fab9981c910 (LWP 10408)):
[KCrash Handler]
#5  deref (this=<value optimized out>) at ../../src/corelib/arch/qatomic_x86_64.h:133
#6  QMutex::lock (this=<value optimized out>) at thread/qmutex.cpp:210
#7  0x00007fabb23c5ed9 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:270
#8  0x00007fabb23c635d in ~__pthread_cleanup_class (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/pthread.h:535
#9  QThreadPrivate::start (this=<value optimized out>, __in_chrg=<value optimized out>) at thread/qthread_unix.cpp:253
#10 0x00007fabae73565d in start_thread () from /lib64/libpthread.so.0
#11 0x00007fabb114b14d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fab9881a910 (LWP 10438)):
#0  0x00007fabae73a049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fabb23c5a83 in QMutexPrivate::wait (this=0xc10810, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fabb23c15f5 in QMutex::lock (this=0x12977e0) at thread/qmutex.cpp:205
#3  0x00007fabb23c5ed9 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:270
#4  0x00007fabb23c635d in ~__pthread_cleanup_class (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/pthread.h:535
#5  QThreadPrivate::start (this=<value optimized out>, __in_chrg=<value optimized out>) at thread/qthread_unix.cpp:253
#6  0x00007fabae73565d in start_thread () from /lib64/libpthread.so.0
#7  0x00007fabb114b14d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fabb541b7f0 (LWP 10163)):
#0  0x00007fabb115831e in ?? () from /lib64/libc.so.6
#1  0x00007fabb10f3355 in ?? () from /lib64/libc.so.6
#2  0x00007fabb10f0657 in ?? () from /lib64/libc.so.6
#3  0x00007fabb524eb55 in ?? () from /lib64/ld-linux-x86-64.so.2
#4  0x00007fabb5254826 in ?? () from /lib64/ld-linux-x86-64.so.2
#5  0x00007fabb52501e6 in ?? () from /lib64/ld-linux-x86-64.so.2
#6  0x00007fabb5254167 in ?? () from /lib64/ld-linux-x86-64.so.2
#7  0x00007fabb11828d0 in ?? () from /lib64/libc.so.6
#8  0x00007fabb52501e6 in ?? () from /lib64/ld-linux-x86-64.so.2
#9  0x00007fabb118296f in ?? () from /lib64/libc.so.6
#10 0x00007fabb1182a67 in __libc_dlopen_mode () from /lib64/libc.so.6
#11 0x00007fabb115dbe5 in ?? () from /lib64/libc.so.6
#12 0x00007fabae73b0f3 in pthread_once () from /lib64/libpthread.so.0
#13 0x00007fabb115dce4 in backtrace () from /lib64/libc.so.6
#14 0x00007fabb10e7681 in ?? () from /lib64/libc.so.6
#15 0x00007fabb10ecc76 in ?? () from /lib64/libc.so.6
#16 0x00007fabb10ed0bd in ?? () from /lib64/libc.so.6
#17 0x00007fabb10ee5d8 in ?? () from /lib64/libc.so.6
#18 0x00007fabb10eea8a in ?? () from /lib64/libc.so.6
#19 0x00007fabb197f181 in ~QExplicitlySharedDataPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../src/corelib/tools/qshareddata.h:159
#20 QPixmap::~QPixmap (this=<value optimized out>, __in_chrg=<value optimized out>) at image/qpixmap.cpp:325
#21 0x00007faba9737285 in QWidget::setUpdatesEnabled(bool) () at kernel/qwidget.cpp:7007
#22 0x00007faba97372ce in QWidget::setUpdatesEnabled(bool) () at kernel/qwidget.cpp:7007
#23 0x00007faba974a227 in QWidget::setUpdatesEnabled(bool) () at kernel/qwidget.cpp:7007
#24 0x00007fabb10af065 in ?? () from /lib64/libc.so.6
#25 0x00007fabb10af0b5 in exit () from /lib64/libc.so.6
#26 0x00007fabb1913a58 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:734
#27 0x00007fabb30efd78 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#28 0x00007fabb00822be in _XIOError () from /usr/lib64/libX11.so.6
#29 0x00007fabb0089c95 in ?? () from /usr/lib64/libX11.so.6
#30 0x00007fabb008a547 in _XEventsQueued () from /usr/lib64/libX11.so.6
#31 0x00007fabb007324b in XEventsQueued () from /usr/lib64/libX11.so.6
#32 0x00007fabb194b967 in x11EventSourcePrepare (s=0x6cce70, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#33 0x00007fabacb7afca in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fabacb7b3a1 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fabacb7b8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fabb24e20f3 in QEventDispatcherGlib::processEvents (this=0x6a1f00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x00007fabb194b73e in QGuiEventDispatcherGlib::processEvents (this=0x7fabb13d0e60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007fabb24b7482 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007fabb24b785c in QEventLoop::exec (this=0x7fffcd068b50, flags=) at kernel/qeventloop.cpp:201
#40 0x00007fabb24bb5ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0x000000000043a545 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.3.87svn1070744/apps/dolphin/src/main.cpp:101

Reported using DrKonqi
Comment 1 Thomas Richard 2010-02-01 19:32:57 UTC
Created attachment 40442 [details]
New crash information added by DrKonqi

I also got this crash when deleting a file
Comment 2 Dario Andres 2010-02-21 23:51:07 UTC
From bug 224542:

-- Information about the crash:
I grabbed the vertical scrollbar and tried to scroll up and then Dolphin
crashed. However, it didn't crash before when scrolling and I was unable to
reproduce it, so it's certainly not the only condition to trigger the bug (if
at all).

The crash does not seem to be reproducible.

 -- Backtrace:
Thread 2 (Thread 0xb13a3b70 (LWP 4604)):
[KCrash Handler]
#6  0x04227b59 in QMetaObject::activate (sender=0xa105920, m=0x80cc4e0,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3217
#7  0x04276647 in QThread::started (this=0xa105920) at
.moc/release-shared/moc_qthread.cpp:99
#8  0x0411238d in QThreadPrivate::start (arg=0xa105920) at
thread/qthread_unix.cpp:239
#9  0x0053c80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x02cf68de in clone () from /lib/tls/i686/cmov/libc.so.6

------

From bug 226491:
-- Information about the crash:
I've created an icon for timeline:/ in places. A few minutes ago I clicked on
it and dolphin crashed. At least once I've encountered a crash when doing so (I
didn't saved the crash report), but normally it is working fine.

It it matters: Strigi was indexing while the crash happens (the initial index).

The crash can be reproduced some of the time.

 -- Backtrace:
Thread 2 (Thread 0x7f111d05f710 (LWP 10045)):
[KCrash Handler]
#5  ref (this=0x69002f0065006c) at ../../src/corelib/arch/qatomic_x86_64.h:121
#6  QThreadData::ref (this=0x69002f0065006c) at thread/qthread.cpp:119
#7  0x0000003e1a070979 in QThreadPrivate::start (arg=0x17758e0) at
thread/qthread_unix.cpp:237
#8  0x0000003b92206a3a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#9  0x0000003b916de67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Comment 3 Dario Andres 2010-02-21 23:51:12 UTC
*** Bug 224542 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2010-02-21 23:51:15 UTC
*** Bug 226491 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2010-02-21 23:52:35 UTC
*** Bug 227178 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-02-21 23:52:39 UTC
*** Bug 227403 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2010-02-21 23:53:07 UTC
From bug 227178:
-- Information about the crash:
I tried to delete 3 large files when I pressed <DELETE> the delete dialog
appeared but when I pressed delete the items where deleted but dolphin crashed.

From bug 227403:
-- Information about the crash:
After opening a file (a PDF in this moment) Dolphin sometimes crashes.
The crash can be reproduced some of the time.
Comment 8 Dario Andres 2010-02-21 23:54:12 UTC
From bug 220814:
-- Information about the crash:
Before the crash i cute with Ctrl+X some files an thand change the folder
clicking on it.
Comment 9 Dario Andres 2010-02-21 23:54:22 UTC
*** Bug 220814 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-02-21 23:56:40 UTC
From bug 227432:
-- Information about the crash:
I opened dolphin to display the contents of a folder containing JPGs just
downloaded from my camera and immediately clicked on the first JPG file to have
it opened in gwenview. The action was successful (gwenview started and
displayed the image) but dolphin crashed.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f952d17e7f0 (LWP 7096))]

Thread 2 (Thread 0x7f951bbf7910 (LWP 7109)):
[KCrash Handler]
#5  QThreadData::get2 (arg=0x1631100) at thread/qthread_p.h:192
#6  QThreadPrivate::start (arg=0x1631100) at thread/qthread_unix.cpp:222
#7  0x00007f952636fa04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#8  0x00007f9528e0a80d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

----

From bug 227726:
-- Information about the crash:
Kubuntu packages. I've had dolphin crashing on me several times when trying to
delete or move photos

The crash can be reproduced some of the time.
Comment 11 Dario Andres 2010-02-21 23:56:46 UTC
*** Bug 227432 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-02-21 23:56:48 UTC
*** Bug 227726 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-02-21 23:58:23 UTC
From bug 227932:
-- Information about the crash:
Dophin crashed when copying files from shared samba folder on network to local
folder.
Comment 14 Dario Andres 2010-02-21 23:58:30 UTC
*** Bug 227932 has been marked as a duplicate of this bug. ***
Comment 15 Dario Andres 2010-02-23 23:47:01 UTC
*** Bug 228240 has been marked as a duplicate of this bug. ***
Comment 16 Dario Andres 2010-02-26 19:00:24 UTC
From bug 228567:
-- Information about the crash:
I was deleting 4 700MB files using Del (key) which sits on another hard drive,
mounted as /storage.
After I was noticing that Dolphin was moving the files to the trash:/ folder on
the first hard drive I clicked cancel on the operation and Dolphin crashed.
It might be noteworthy that both hard drives are encrypted.

Thread 2 (Thread 0x7f017970b710 (LWP 13568)):
[KCrash Handler]
#5  0x00007f019beeacfb in QBasicAtomicInt::fetchAndAddOrdered (this=0xd35840)
at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:164
#6  QBasicAtomicInt::fetchAndAddAcquire (this=0xd35840) at
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:297
#7  QMutex::lock (this=0xd35840) at thread/qmutex.cpp:158
#8  0x00007f019beef345 in QThreadPrivate::finish (arg=<value optimized out>) at
thread/qthread_unix.cpp:270
#9  0x00007f019beef7b6 in ~__pthread_cleanup_class (arg=0xe93720) at
/usr/include/pthread.h:535
#10 QThreadPrivate::start (arg=0xe93720) at thread/qthread_unix.cpp:253
#11 0x00007f019bc63537 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
Comment 17 Dario Andres 2010-02-26 19:00:26 UTC
*** Bug 228567 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2010-02-28 14:30:13 UTC
From bug 228880:
-- Information about the crash:
I noticed dolphin crashing after trying to cut and paste files from one folder
to another. It has also crashed many times due to shift delete.
Comment 19 Dario Andres 2010-02-28 14:30:20 UTC
*** Bug 228880 has been marked as a duplicate of this bug. ***
Comment 20 Peter Penz 2010-02-28 23:03:17 UTC
SVN commit 1097312 by ppenz:

Backport of SVN commit 1097289: Only access the data of the thread that has been created most recently. Data of older threads will just get ignored.

The fix will be part of KDE SC 4.4.2 (4.4.1 has been tagged already).

BUG: 224848
BUG: 226706
BUG: 222324

 M  +10 -3     kloadmetadatathread.cpp  
 M  +9 -1      kloadmetadatathread_p.h  
 M  +43 -28    kmetadatawidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1097312
Comment 21 Dario Andres 2010-03-01 12:36:13 UTC
*** Bug 228964 has been marked as a duplicate of this bug. ***
Comment 22 Dario Andres 2010-03-10 12:56:54 UTC
*** Bug 229973 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2010-03-12 20:36:10 UTC
*** Bug 230394 has been marked as a duplicate of this bug. ***
Comment 24 Dario Andres 2010-03-12 20:39:02 UTC
*** Bug 229083 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2010-03-12 20:40:34 UTC
*** Bug 228058 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2010-03-12 20:40:50 UTC
*** Bug 228066 has been marked as a duplicate of this bug. ***
Comment 27 Dario Andres 2010-03-12 20:41:39 UTC
*** Bug 228118 has been marked as a duplicate of this bug. ***
Comment 28 Frank Reininghaus 2010-03-14 10:29:12 UTC
*** Bug 230661 has been marked as a duplicate of this bug. ***
Comment 29 Frank Reininghaus 2010-03-14 10:30:15 UTC
*** Bug 230517 has been marked as a duplicate of this bug. ***
Comment 30 Dario Andres 2010-03-15 13:11:26 UTC
*** Bug 230791 has been marked as a duplicate of this bug. ***
Comment 31 Dario Andres 2010-03-15 13:11:49 UTC
*** Bug 230822 has been marked as a duplicate of this bug. ***
Comment 32 Frank Reininghaus 2010-03-18 09:53:44 UTC
*** Bug 231184 has been marked as a duplicate of this bug. ***
Comment 33 Frank Reininghaus 2010-03-18 18:50:45 UTC
*** Bug 231242 has been marked as a duplicate of this bug. ***
Comment 34 Dario Andres 2010-03-21 13:14:34 UTC
*** Bug 231531 has been marked as a duplicate of this bug. ***
Comment 35 Dario Andres 2010-03-22 22:30:43 UTC
*** Bug 231832 has been marked as a duplicate of this bug. ***
Comment 36 Dario Andres 2010-03-26 22:24:00 UTC
*** Bug 232275 has been marked as a duplicate of this bug. ***
Comment 37 Frank Reininghaus 2010-03-28 14:10:31 UTC
*** Bug 232419 has been marked as a duplicate of this bug. ***
Comment 38 Dario Andres 2010-03-31 14:36:14 UTC
*** Bug 232803 has been marked as a duplicate of this bug. ***
Comment 39 Dario Andres 2010-04-07 13:54:31 UTC
*** Bug 233592 has been marked as a duplicate of this bug. ***
Comment 40 Dario Andres 2010-04-08 15:00:50 UTC
*** Bug 233653 has been marked as a duplicate of this bug. ***
Comment 41 Danilo 2011-01-19 19:22:08 UTC
Created attachment 56199 [details]
New crash information added by DrKonqi

dolphin (1.5) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.0

- What I was doing when the application crashed:

Dolphin crashes when I copy multiple files to the Desk.

-- Backtrace (Reduced):
#14 0x00c1929c in XFreeGC () from /usr/lib/libX11.so.6
#15 0x02e20627 in QX11PaintEngine::end (this=0x8d82f18) at painting/qpaintengine_x11.cpp:583
#16 0x02d5ae18 in QPainter::end (this=0xbfc74fec) at painting/qpainter.cpp:1948
#17 0x02d5bb20 in QPainter::~QPainter (this=0xbfc74fec, __in_chrg=<value optimized out>) at painting/qpainter.cpp:1504
#18 0x03083ba5 in QMainWindow::event (this=0x8c2faf0, event=0xbfc754e4) at widgets/qmainwindow.cpp:1298