Bug 267079 - Dolphin crashes every time when hovering over specific .war file.
Summary: Dolphin crashes every time when hovering over specific .war file.
Status: RESOLVED FIXED
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:
: 270740 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-24 18:50 UTC by Bruce Edge
Modified: 2011-04-12 09:58 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 Bruce Edge 2011-02-24 18:50:34 UTC
Application: dolphin (1.6)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic-pae i686
Distribution: Ubuntu 10.10

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

Opened dir containing war file, then hovered over war file. 
Happens evvery time.

Same thing happens with konqueror too so it's probably not dolphin related.

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb26a5b70 (LWP 14949)):
#0  0xb50f2e36 in clock_gettime (clock_id=-1257279500, tp=0xb26a4f90) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb5b6c50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb5c436e5 in QTimerInfoList::updateCurrentTime (this=0x941cdfc) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb5c4372a in QTimerInfoList::timerWait (this=0x941cdfc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb5c417a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb26a50bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb5c4183d in timerSourcePrepare (source=0x0, timeout=0xb50f6ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5267e6a in g_main_context_prepare (context=0x947cef0, priority=0xb26a513c) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2469
#8  0xb5268279 in g_main_context_iterate (context=0x947cef0, block=<value optimized out>, dispatch=1, self=0xb1d00688) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2760
#9  0xb5268848 in g_main_context_iteration (context=0x947cef0, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#10 0xb5c4159f in QEventDispatcherGlib::processEvents (this=0x947c6e0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb5c11609 in QEventLoop::processEvents (this=0xb26a5290, flags=) at kernel/qeventloop.cpp:149
#12 0xb5c11a8a in QEventLoop::exec (this=0xb26a5290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5b0db7e in QThread::exec (this=0x9403798) at thread/qthread.cpp:490
#14 0xb5bf035b in QInotifyFileSystemWatcherEngine::run (this=0x9403798) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5b10df9 in QThreadPrivate::start (arg=0x9403798) at thread/qthread_unix.cpp:266
#16 0xb5312cc9 in start_thread (arg=0xb26a5b70) at pthread_create.c:304
#17 0xb76d669e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb07d1b70 (LWP 14961)):
#0  0xb77f4424 in __kernel_vsyscall ()
#1  0xb76c7df6 in __poll (fds=0xb775eff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb5275a1b in g_poll (fds=0x97b7da8, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.26.1/glib/gpoll.c:132
#3  0xb526843c in g_main_context_poll (context=0x97b6958, block=<value optimized out>, dispatch=1, self=0x97b7d80) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:3093
#4  g_main_context_iterate (context=0x97b6958, block=<value optimized out>, dispatch=1, self=0x97b7d80) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2775
#5  0xb5268848 in g_main_context_iteration (context=0x97b6958, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#6  0xb5c4159f in QEventDispatcherGlib::processEvents (this=0x9683f38, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0xb5c11609 in QEventLoop::processEvents (this=0xb07d1290, flags=) at kernel/qeventloop.cpp:149
#8  0xb5c11a8a in QEventLoop::exec (this=0xb07d1290, flags=...) at kernel/qeventloop.cpp:201
#9  0xb5b0db7e in QThread::exec (this=0x96b42f0) at thread/qthread.cpp:490
#10 0xb5bf035b in QInotifyFileSystemWatcherEngine::run (this=0x96b42f0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb5b10df9 in QThreadPrivate::start (arg=0x96b42f0) at thread/qthread_unix.cpp:266
#12 0xb5312cc9 in start_thread (arg=0xb07d1b70) at pthread_create.c:304
#13 0xb76d669e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaf7cfb70 (LWP 16293)):
[KCrash Handler]
#7  0xb77f4424 in __kernel_vsyscall ()
#8  0xb7630941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb7633e42 in abort () at abort.c:92
#10 0xb76298e8 in __assert_fail (assertion=0xb56ae64c "m_path.size() > m_parent->p->m_path.size()+1", file=0xb56ae608 "/build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp", line=134, function=0xb56ae940 "Strigi::AnalysisResult::Private::Private(const std::string&, const char*, time_t, Strigi::AnalysisResult&, Strigi::AnalysisResult&)") at assert.c:81
#11 0xb565f0a1 in Strigi::AnalysisResult::Private::Private (this=0xae91e7d8, p=..., name=0xae91e795 "", mt=1298470420, t=..., parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:134
#12 0xb565f193 in Strigi::AnalysisResult::AnalysisResult (this=0xb1dd6cb8, path=..., name=0xae91e795 "", mt=1298470420, parent=...) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:140
#13 0xb565fde7 in Strigi::AnalysisResult::indexChild (this=0xaf7cf074, name=..., mt=1298470420, file=0xae91ed20) at /build/buildd/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:249
#14 0xb569eccb in ZipEndAnalyzer::analyze (this=0xb1d18988, idx=..., in=0xb1d5b078) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endanalyzers/zipendanalyzer.cpp:62
#15 0xb56836c2 in Strigi::StreamAnalyzerPrivate::analyze (this=0xb1d44b80, idx=..., input=0xb1d5b078) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#16 0xb6fd1382 in KFileMetaInfoPrivate::init (this=0x973e7c8, stream=..., url=..., mtime=1298569481, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#17 0xb6fd34f8 in KFileMetaInfo::KFileMetaInfo (this=0xaf7cf2bc, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#18 0xb70d8c07 in KLoadFileMetaDataThread::run (this=0x98aa0b8) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#19 0xb5b10df9 in QThreadPrivate::start (arg=0x98aa0b8) at thread/qthread_unix.cpp:266
#20 0xb5312cc9 in start_thread (arg=0xaf7cfb70) at pthread_create.c:304
#21 0xb76d669e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4b7e710 (LWP 14940)):
#0  0xb77f4424 in __kernel_vsyscall ()
#1  0xb76c7df6 in __poll (fds=0xb775eff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb50c1d90 in ?? () from /usr/lib/libxcb.so.1
#3  0xb50c231b in ?? () from /usr/lib/libxcb.so.1
#4  0xb50c26b7 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb53f1dec in _XSend () from /usr/lib/libX11.so.6
#6  0xb53de145 in ?? () from /usr/lib/libX11.so.6
#7  0xb53de34c in XPutImage () from /usr/lib/libX11.so.6
#8  0xb48cf5b6 in XcursorImageLoadCursor () from /usr/lib/libXcursor.so.1
#9  0xb48d03f6 in XcursorImagesLoadCursors () from /usr/lib/libXcursor.so.1
#10 0xb48d0517 in XcursorImagesLoadCursor () from /usr/lib/libXcursor.so.1
#11 0xb48d342d in XcursorLibraryLoadCursor () from /usr/lib/libXcursor.so.1
#12 0xb61b919f in QCursorData::update (this=0x9380008) at kernel/qcursor_x11.cpp:291
#13 0xb61b9966 in QCursor::handle (this=0x9869330) at kernel/qcursor_x11.cpp:145
#14 0xb61c963e in qt_x11_enforce_cursor (w=0x93f1698, force=false) at kernel/qwidget_x11.cpp:330
#15 0xb61c9799 in qt_x11_enforce_cursor (w=0x96b8d30) at kernel/qwidget_x11.cpp:346
#16 0xb61a109c in QApplication::setOverrideCursor (cursor=...) at kernel/qapplication_x11.cpp:2819
#17 0xb7493b62 in ToolTipManager::showToolTip (this=0x967ee98) at ../../../../apps/dolphin/src/views/tooltips/tooltipmanager.cpp:247
#18 0xb7495033 in ToolTipManager::qt_metacall (this=0x967ee98, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfd689bc) at ./tooltipmanager.moc:89
#19 0xb5c188ca in QMetaObject::metacall (object=0x967ee98, cl=QMetaObject::ReadProperty, idx=10, argv=0xbfd689bc) at kernel/qmetaobject.cpp:237
#20 0xb5c2b6ad in QMetaObject::activate (sender=0x9680c00, m=0xb5d455a4, local_signal_index=0, argv=0x1) at kernel/qobject.cpp:3280
#21 0xb5c7d1e7 in QTimer::timeout (this=0x9680c00) at .moc/release-shared/moc_qtimer.cpp:134
#22 0xb5c311ce in QTimer::timerEvent (this=0x9680c00, e=0xbfd68ef0) at kernel/qtimer.cpp:271
#23 0xb5c25504 in QObject::event (this=0x9680c00, e=0xffffffff) at kernel/qobject.cpp:1183
#24 0xb6119fdc in QApplicationPrivate::notify_helper (this=0x937bf60, receiver=0x9680c00, e=0xbfd68ef0) at kernel/qapplication.cpp:4396
#25 0xb612004e in QApplication::notify (this=0xbfd69260, receiver=0x9680c00, e=0xbfd68ef0) at kernel/qapplication.cpp:3798
#26 0xb6cc0f7a in KApplication::notify (this=0xbfd69260, receiver=0x9680c00, event=0xbfd68ef0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0xb5c12b3b in QCoreApplication::notifyInternal (this=0xbfd69260, receiver=0x9680c00, event=0xbfd68ef0) at kernel/qcoreapplication.cpp:732
#28 0xb5c44ad6 in sendEvent (this=0x937f574) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QTimerInfoList::activateTimers (this=0x937f574) at kernel/qeventdispatcher_unix.cpp:602
#30 0xb5c41874 in timerSourceDispatch (source=0x937f540) at kernel/qeventdispatcher_glib.cpp:184
#31 0xb5264855 in g_main_dispatch (context=0x937e690) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#32 g_main_context_dispatch (context=0x937e690) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#33 0xb5268668 in g_main_context_iterate (context=0x937e690, block=<value optimized out>, dispatch=1, self=0x9381c98) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#34 0xb5268848 in g_main_context_iteration (context=0x937e690, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#35 0xb5c41565 in QEventDispatcherGlib::processEvents (this=0x935bb58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#36 0xb61dbbe5 in QGuiEventDispatcherGlib::processEvents (this=0x935bb58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0xb5c11609 in QEventLoop::processEvents (this=0xbfd691b4, flags=) at kernel/qeventloop.cpp:149
#38 0xb5c11a8a in QEventLoop::exec (this=0xbfd691b4, flags=...) at kernel/qeventloop.cpp:201
#39 0xb5c1600f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0xb6118e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#41 0xb77b838b in kdemain (argc=5, argv=0xbfd69454) at ../../../../apps/dolphin/src/main.cpp:98
#42 0x080485ab in main (argc=5, argv=0xbfd69454) at dolphin_dummy.cpp:3

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

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

Reported using DrKonqi
Comment 1 Peter Penz 2011-02-24 19:31:06 UTC
Thanks for the report. This is an issue in Strigi - would it be possible that you attach the file where it crashes to this bug-report? By this we can forward the issue to the Strigi developers so that they can reproduce + fix the issue.
Comment 2 Bruce Edge 2011-02-24 20:13:48 UTC
Unfortunately, after I rebuilt the war file, it doesn't happen any more.

Sorry.

If I get it to happen again, I'll upload it.

On Thu, Feb 24, 2011 at 10:31 AM, Peter Penz <peter.penz19@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=267079
>
>
> Peter Penz <peter.penz19@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |NEEDSINFO
>         Resolution|                            |WAITINGFORINFO
>
>
>
>
> --- Comment #1 from Peter Penz <peter penz19 gmail com>  2011-02-24
> 19:31:06 ---
> Thanks for the report. This is an issue in Strigi - would it be possible
> that
> you attach the file where it crashes to this bug-report? By this we can
> forward
> the issue to the Strigi developers so that they can reproduce + fix the
> issue.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 3 Peter Penz 2011-02-25 08:35:15 UTC
Thanks. In this case please directly submit a bug-report at http://sourceforge.net/tracker/?group_id=171000&atid=856302 instead of here (there the Strigi-bugs get tracked).
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
Comment 5 Peter Penz 2011-04-12 09:58:32 UTC
*** Bug 270740 has been marked as a duplicate of this bug. ***