Bug 263502 - Dolphin Crash When Slecting Files
Summary: Dolphin Crash When Slecting Files
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 02:57 UTC by Henry
Modified: 2011-02-27 20:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henry 2011-01-18 02:57:28 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.10-74.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I was selecting various files to be deleted by using the + or the ctrl key on the keyboard, and Dolphin crashed. Does not matter which method is used. This happens very frequently when selecting many files.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[Current thread is 1 (Thread 0x7f9fd0c81840 (LWP 4355))]

Thread 2 (Thread 0x7f9fbbb9b700 (LWP 4646)):
[KCrash Handler]
#6  0x0000003ca9634085 in raise () from /lib64/libc.so.6
#7  0x0000003ca9635a36 in abort () from /lib64/libc.so.6
#8  0x0000003ca962c8c5 in __assert_fail () from /lib64/libc.so.6
#9  0x0000003cbb41ab2f in Strigi::AnalysisResult::Private::Private (this=0x7f9fb40a0d60, p="/home/Henry/Downloads/TrueTransparency.zip/", name=<value optimized out>, mt=<value optimized out>, t=@0x7f9fb40587f0, parent=@0x7f9fbbb9a8b0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#10 0x0000003cbb41abf5 in Strigi::AnalysisResult::AnalysisResult (this=0x7f9fb40587f0, path="/home/Henry/Downloads/TrueTransparency.zip/", name=0x7f9fb4058733 "", mt=1259762664, parent=@0x7f9fbbb9a8b0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#11 0x0000003cbb41af22 in Strigi::AnalysisResult::indexChild (this=0x7f9fbbb9a8b0, name=<value optimized out>, mt=1259762664, file=0x7f9fb4021640) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#12 0x0000003cbb457fd8 in ZipEndAnalyzer::analyze (this=0x7f9fb4015c40, idx=..., in=0x7f9fb4053930) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
#13 0x0000003cbb43e24a in Strigi::StreamAnalyzerPrivate::analyze (this=0x1a, idx=..., input=0x7f9fb4053930) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#14 0x00000036f6d44405 in KFileMetaInfoPrivate::init (this=<value optimized out>, stream=..., url=<value optimized out>, mtime=1281760640, w=<value optimized out>) at /usr/src/debug/kdelibs-4.5.5/kio/kio/kfilemetainfo.cpp:271
#15 0x00000036f6d44c98 in KFileMetaInfo::KFileMetaInfo (this=0x7f9fbbb9ac40, path=<value optimized out>, w=<value optimized out>) at /usr/src/debug/kdelibs-4.5.5/kio/kio/kfilemetainfo.cpp:300
#16 0x00000036f6e1006f in KLoadFileMetaDataThread::run (this=0x1b37860) at /usr/src/debug/kdelibs-4.5.5/kio/kfile/kloadfilemetadatathread.cpp:130
#17 0x000000361b4726ee in QThreadPrivate::start (arg=0x1b37860) at thread/qthread_unix.cpp:285
#18 0x0000003ca9e06d5b in start_thread () from /lib64/libpthread.so.0
#19 0x0000003ca96e4a7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9fd0c81840 (LWP 4355)):
#0  0x0000003ca96db083 in poll () from /lib64/libc.so.6
#1  0x0000003cab208b6a in ?? () from /usr/lib64/libxcb.so.1
#2  0x0000003cab2090b3 in ?? () from /usr/lib64/libxcb.so.1
#3  0x0000003cab209144 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x0000003cac24d546 in _XSend (dpy=0x1672490, data=<value optimized out>, size=<value optimized out>) at xcb_io.c:427
#5  0x0000003cac24d8d1 in _XEventsQueued (dpy=0x1672490, mode=<value optimized out>) at xcb_io.c:294
#6  0x0000003cac2365df in XEventsQueued (dpy=0x1672490, mode=2) at Pending.c:43
#7  0x000000361c85c447 in x11EventSourcePrepare (s=0x166a630, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#8  0x0000003cabe4131f in g_main_context_prepare (context=0x1669520, priority=0x7fff6355e75c) at gmain.c:2469
#9  0x0000003cabe42209 in g_main_context_iterate (context=0x1669520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2760
#10 0x0000003cabe428ad in g_main_context_iteration (context=0x1669520, may_block=1) at gmain.c:2843
#11 0x000000361b5868bf in QEventDispatcherGlib::processEvents (this=0x16383f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#12 0x000000361c85c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#13 0x000000361b55ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x000000361b55ad8c in QEventLoop::exec (this=0x7fff6355e8a0, flags=...) at kernel/qeventloop.cpp:201
#15 0x000000361b55f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#16 0x00000036f8a45525 in kdemain (argc=6, argv=0x7fff6355ee88) at /usr/src/debug/kdebase-4.5.5/apps/dolphin/src/main.cpp:98
#17 0x0000003ca961ee7d in __libc_start_main (main=0x400880 <main(int, char**)>, argc=6, ubp_av=0x7fff6355ee88, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff6355ee78) at libc-start.c:226
#18 0x00000000004007a9 in _start ()

This bug may be a duplicate of or related to bug 263468.

Possible duplicates by query: bug 263468, bug 261952, bug 258715, bug 253991, bug 252152.

Reported using DrKonqi
Comment 1 Henry 2011-01-18 03:02:15 UTC
With more testing I have discovered that it is specificity related to moving the mouse or using the keyboard and highlighting the specific zip file TrueTransparency.zip. Every time that file is highlighted the program crashes. It will do it every time.
Comment 2 Peter Penz 2011-02-27 20:11:35 UTC
Git commit d1254968eac95f4d9d8c47552e27f0cc40e6aed9 by Peter Penz.
Committed on 27/02/2011 at 20:01.
Pushed by ppenz into branch 'master'.

KFileMetaDataProvider: Don't crash if a Strigi analyzer crashes

Some Strigi analyzers are still unstable and crash under certain circumstances. This patch moves the reading of the meta-data into a custom process instead of doing it in a thread, which assures that a crashing Strigi analyzer does not result in crashing Dolphin or Konqueror when hovering some items.

FIXED-IN: 4.7.0
BUG: 257964
BUG: 258715
BUG: 262299
BUG: 263468
BUG: 263502
BUG: 264254
BUG: 234799
BUG: 251462
BUG: 251701
BUG: 258918
BUG: 192377
BUG: 195564
BUG: 199368
BUG: 210841
BUG: 245376
BUG: 246461
BUG: 246901
BUG: 249150
BUG: 261952
BUG: 249876
BUG: 179376
BUG: 179417
BUG: 179420
BUG: 181591
BUG: 183269
BUG: 183722
BUG: 185667
BUG: 188596
BUG: 191864
BUG: 193112
BUG: 205813
BUG: 244621
BUG: 245451
BUG: 248214
BUG: 249655
BUG: 249876
BUG: 265549
BUG: 267079

M  +11   -1    kio/CMakeLists.txt     
M  +68   -38   kio/kfile/kfilemetadataprovider.cpp     
M  +2    -1    kio/kfile/kfilemetadataprovider_p.h     
A  +174  -0    kio/kfile/kfilemetadatareader.cpp         [License: LGPL (v2+)]
M  +0    -2    kio/kfile/kfilemetadatawidget.cpp     
D  +0    -178  kio/kfile/kloadfilemetadatathread.cpp     
D  +0    -96   kio/kfile/kloadfilemetadatathread_p.h     

http://commits.kde.org/kdelibs/d1254968eac95f4d9d8c47552e27f0cc40e6aed9