Bug 179417 - Sometimes crashes when I change folder
Summary: Sometimes crashes when I change folder
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-02 22:03 UTC by msnkipa
Modified: 2011-02-27 20:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description msnkipa 2009-01-02 22:03:16 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Dolphin sometimes crashes when I change directory

Backtrace:
Application: Dolphin (dolphin), signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
0x00007fb12c577ce1 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7fb130b4c750 (LWP 5869))]

Thread 1 (Thread 0x7fb130b4c750 (LWP 5869)):
[KCrash Handler]
#5  0x00007fb12c508645 in raise () from /lib64/libc.so.6
#6  0x00007fb12c509c33 in abort () from /lib64/libc.so.6
#7  0x00007fb12c501329 in __assert_fail () from /lib64/libc.so.6
#8  0x00007fb12be41932 in SubInputStream (this=<value optimized out>, i=<value optimized out>, length=<value optimized out>)
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streams/subinputstream.cpp:30
#9  0x00007fb12be425a6 in Strigi::TarInputStream::nextEntry (this=0x7fff38b9c3f0) at /home/kde-devel/kde/src/kdesupport/strigi/src/streams/tarinputstream.cpp:44
#10 0x00007fb12c0a64bf in TarEndAnalyzer::staticAnalyze (idx=@0x7fff38b9c8a0, in=0x7fff38b9c4b0) at /home/kde-devel/kde/src/kdesupport/strigi/src/streamanalyzer/endanalyzers/tarendanalyzer.cpp:65
#11 0x00007fb12c0992b9 in Bz2EndAnalyzer::analyze (this=0xa48850, idx=@0x7fff38b9c8a0, in=<value optimized out>)
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streamanalyzer/endanalyzers/bz2endanalyzer.cpp:63
#12 0x00007fb12c091536 in Strigi::StreamAnalyzerPrivate::analyze (this=0xa717d0, idx=@0x7fff38b9c8a0, input=0xaeae10)
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:415
#13 0x00007fb1305f86c7 in KFileMetaInfoPrivate::init (this=0x8e4bc0, stream=<value optimized out>, url=<value optimized out>, mtime=1194821731)
    at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kfilemetainfo.cpp:201
#14 0x00007fb1305fa41a in KFileMetaInfo (this=0x7fff38b9cae0, path=@0x7fff38b9caf0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kfilemetainfo.cpp:225
#15 0x000000000044106b in InfoSidebarPage::showMetaInfo (this=0x88c590) at /home/kde-devel/kde/src/KDE/kdebase/apps/dolphin/src/infosidebarpage.cpp:395
#16 0x0000000000441481 in InfoSidebarPage::showItemInfo (this=0x88c590) at /home/kde-devel/kde/src/KDE/kdebase/apps/dolphin/src/infosidebarpage.cpp:230
#17 0x0000000000441d38 in InfoSidebarPage::qt_metacall (this=0x88c590, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff38b9ce60)
    at /home/kde-devel/kde/build/KDE/kdebase/apps/dolphin/src/infosidebarpage.moc:93
#18 0x00007fb12d320454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007fb12d31ada3 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#20 0x00007fb12d7891bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fb12d790f8a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007fb12ec69b3b in KApplication::notify (this=0x7fff38b9d940, receiver=0x7fc8e0, event=0x7fff38b9d550) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#23 0x00007fb12d30c091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#24 0x00007fb12d3381c0 in ?? () from /usr/lib64/libQtCore.so.4
#25 0x00007fb12d33458d in ?? () from /usr/lib64/libQtCore.so.4
#26 0x00007fb1296c20db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fb1296c58ad in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fb1296c5a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fb12d3344ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007fb12d81997f in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007fb12d30a9a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007fb12d30ab2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#33 0x00007fb12d30cffd in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#34 0x000000000044386d in main (argc=6, argv=0x7fff38b9de28) at /home/kde-devel/kde/src/KDE/kdebase/apps/dolphin/src/main.cpp:94
Comment 1 Dario Andres 2009-01-03 00:23:45 UTC
This seems to be an Strigi bug.

I reported it upstream at http://sourceforge.net/tracker2/?func=detail&aid=2483004&group_id=171000&atid=856302

Waiting for Peter to know what to do.
Thanks for reporting 
Comment 2 msnkipa 2009-01-03 00:35:13 UTC
I use OpenSUSE 11.1, and I have to note that native KDE 4.1.3 works well. I have compiled KDE 4.2 from svn trun and I have this unstability in Dolphin. Do you mean strigi that are in kdesupport package?
Comment 3 Peter Penz 2009-01-04 20:18:53 UTC
Thanks Darío for reporting it it upstream, I've changed the resolution to UPSTREAM, as there is nothing Dolphin itself can do against this.
Comment 4 Peter Penz 2011-02-27 20:11:36 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