Bug 222364 - Dolphin crashed while trying to delete to large files [QString::operator=, KLoadMetaDataThread::run]
Summary: Dolphin crashed while trying to delete to large files [QString::operator=, KL...
Status: RESOLVED DUPLICATE of bug 224848
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 221773 222138 222819 224041 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-12 12:49 UTC by Stewart Peters
Modified: 2010-04-05 19:30 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (7.73 KB, text/plain)
2010-04-05 19:30 UTC, orhanevren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stewart Peters 2010-01-12 12:49:51 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-18-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Dolphin periodically crashes if left open for a long time (though this is the first crash which has useful crash information).  This time the crash occurred after removing two large files from my home directory.

I use Dolphin with 4 open tabs, with each tab further split into two panes. 6 of the 8 panes display information using the Details display type, with Expandable folders and the remaining 2 panes use the Icon display type, with images previewed.  2 of the 6 Details panes show SSHFS shares from a server mounted locally in /media.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7fd75fdc9910 (LWP 10168)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fd75f0b1da1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd76e0bea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd770b4d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd756cf8910 (LWP 22113)):
[KCrash Handler]
#5  QBasicAtomicInt::deref (this=0x4c99858, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#6  QString::operator= (this=0x4c99858, other=...) at tools/qstring.cpp:1281
#7  0x0000000000464add in KLoadMetaDataThread::run (this=0x4c99840) at ../../../../apps/dolphin/src/panels/information/kloadmetadatathread.cpp:85
#8  0x00007fd7711666c5 in QThreadPrivate::start (arg=0x4c99840) at thread/qthread_unix.cpp:244
#9  0x00007fd76e0bea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd770b4d80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7fd774e9e750 (LWP 8612)):
#0  0x00007fd770b413c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd76bc2629a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fd76bc27c2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007fd76fa7cf23 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007fd76fa7269d in XTranslateCoordinates () from /usr/lib/libX11.so.6
#5  0x00007fd771ee998e in QWidget::mapFromGlobal (this=<value optimized out>, pos=<value optimized out>) at kernel/qwidget_x11.cpp:1325
#6  0x00007fd771ee99f2 in QWidget::mapFromGlobal (this=0x1cfaaa0, pos=...) at kernel/qwidget_x11.cpp:1318
#7  0x00007fd771ee99f2 in QWidget::mapFromGlobal (this=0x2b86f20, pos=...) at kernel/qwidget_x11.cpp:1318
#8  0x00007fd771e51919 in QApplicationPrivate::pickMouseReceiver (candidate=0x15cb550, globalPos=..., pos=..., type=QEvent::None, buttons=) at kernel/qapplication.cpp:2883
#9  0x00007fd771ed0fd2 in QETWidget::translateMouseEvent (this=0x15cb550, event=<value optimized out>) at kernel/qapplication_x11.cpp:4358
#10 0x00007fd771ecfd6a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff49a6fff0) at kernel/qapplication_x11.cpp:3501
#11 0x00007fd771efb712 in x11EventSourceDispatch (s=0x139e050, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#12 0x00007fd76d1adbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#13 0x00007fd76d1b1598 in ?? () from /lib/libglib-2.0.so.0
#14 0x00007fd76d1b16c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#15 0x00007fd771283623 in QEventDispatcherGlib::processEvents (this=0x1367b70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#16 0x00007fd771efb2fe in QGuiEventDispatcherGlib::processEvents (this=0x7fff49a6f350, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#17 0x00007fd771258972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#18 0x00007fd771258d4c in QEventLoop::exec (this=0x7fff49a70320, flags=) at kernel/qeventloop.cpp:201
#19 0x00007fd77125ca8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#20 0x000000000043a535 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/dolphin/src/main.cpp:101
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-12 19:25:14 UTC
From bug 222138:
-- Information about the crash:
Deleted two *.avi files by marking them with the mouse and then pressing
"shift+delete" on the keyboard. 

From bug 221773:
-- Information about the crash:
Deleting a file with Shift+Del crash dolphin.
The file is deleted.

The line in KLoadMetaDataThread::run is "m_comment = file.description();"
Comment 2 Dario Andres 2010-01-12 19:25:34 UTC
*** Bug 222138 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-01-12 19:25:38 UTC
*** Bug 221773 has been marked as a duplicate of this bug. ***
Comment 4 Frank Reininghaus 2010-01-15 12:15:20 UTC
*** Bug 222819 has been marked as a duplicate of this bug. ***
Comment 5 Peter Penz 2010-01-15 12:47:11 UTC
SVN commit 1075029 by ppenz:

don't try to access invalid files

BUG: 222364

 M  +4 -0      kloadmetadatathread.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1075029
Comment 6 Peter Penz 2010-01-15 12:48:52 UTC
SVN commit 1075031 by ppenz:

Backport of SVN commit 1075029: don't try to access invalid files

CCBUG: 222364

 M  +4 -0      kloadmetadatathread.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1075031
Comment 7 Dario Andres 2010-01-24 20:08:11 UTC
*** Bug 224041 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-02-12 13:48:22 UTC
Just to keep records: the issue wasn't completely fixed: bug 224848 contains a new version (4.4RC2+)
Comment 9 Dario Andres 2010-02-21 23:41:52 UTC

*** This bug has been marked as a duplicate of bug 224848 ***
Comment 10 orhanevren 2010-04-05 19:30:35 UTC
Created attachment 42508 [details]
New crash information added by DrKonqi

dolphin chrash on deleting file

shift + del