Bug 244959 - Dolphin crashed on PDF preview
Summary: Dolphin crashed on PDF preview
Status: RESOLVED DUPLICATE of bug 245928
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 246144 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-17 16:10 UTC by René Serral
Modified: 2010-08-02 15:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.67 KB, text/plain)
2010-07-20 13:40 UTC, Pablo Cabezas
Details
New crash information added by DrKonqi (8.73 KB, text/plain)
2010-07-29 11:00 UTC, mps
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Serral 2010-07-17 16:10:35 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.4.93 (KDE 4.4.93 (KDE 4.5 >= 20100713)) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-toi i686
Distribution: Debian GNU/Linux 5.0.5 (lenny)

-- Information about the crash:
While hovering above some icons on a folder, while displaying the file preview (PDF), I manage to crash dolphin more or less often. It seems to be a strigi related crash.

The weird thing is that it does not happen all the time.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xaae10b70 (LWP 19062)):
[KCrash Handler]
#7  0x03000019 in ?? ()
#8  0xb53bd685 in Strigi::DataEventInputStream::read (this=0x94ac908, start=@0xaae0fda8, min=1, max=56727)
    at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreams/lib/dataeventinputstream.cpp:39
#9  0xb53bbd43 in Strigi::StreamBase<char>::skip (this=0x94ac908, ntoskip=56727) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreams/include/strigi/streambase.h:214
#10 0xb53bdb03 in Strigi::DataEventInputStream::skip (this=0x94ac908, ntoskip=56727) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreams/lib/dataeventinputstream.cpp:92
#11 0xb53bdb7b in Strigi::DataEventInputStream::reset (this=0x94ac908, np=69172) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreams/lib/dataeventinputstream.cpp:102
#12 0xb548e356 in PdfParser::parseDictionaryOrStream (this=0x9475268) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreamanalyzer/lib/pdf/pdfparser.cpp:392
#13 0xb548e67f in PdfParser::parseObjectStreamObject (this=0x9475268, nestDepth=0) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreamanalyzer/lib/pdf/pdfparser.cpp:442
#14 0xb548ed52 in PdfParser::parseObjectStreamObjectDef (this=0x9475268) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreamanalyzer/lib/pdf/pdfparser.cpp:566
#15 0xb548eeab in PdfParser::parse (this=0x9475268, stream=0x94ac908) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreamanalyzer/lib/pdf/pdfparser.cpp:600
#16 0xb54c343a in PdfEndAnalyzer::analyze (this=0x9475258, as=..., in=0x94ac908) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreamanalyzer/lib/endanalyzers/pdfendanalyzer.cpp:62
#17 0xb5499ee9 in Strigi::StreamAnalyzerPrivate::analyze (this=0x9494be0, idx=..., input=0x94ac908) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreamanalyzer/lib/streamanalyzer.cpp:424
#18 0xb5499a41 in Strigi::StreamAnalyzer::analyze (this=0x94a7010, idx=..., input=0xaae100f0) at /media/kdesvn/kde4svn/src/kdesupport_trunk/strigi/libstreamanalyzer/lib/streamanalyzer.cpp:365
#19 0xb7384138 in KFileMetaInfoPrivate::init (this=0x947a420, stream=..., url=..., mtime=1232009887, w=...) at /media/kdesvn/kde4svn/src/kdelibs/kio/kio/kfilemetainfo.cpp:210
#20 0xb738459f in KFileMetaInfo (this=0xaae10214, path=..., w=...) at /media/kdesvn/kde4svn/src/kdelibs/kio/kio/kfilemetainfo.cpp:237
#21 0xb7467c6d in KLoadFileMetaDataThread::run (this=0x945b918) at /media/kdesvn/kde4svn/src/kdelibs/kio/kfile/kloadfilemetadatathread.cpp:124
#22 0xb5c46fae in ?? () from /usr/lib/libQtCore.so.4
#23 0xb5bc3955 in start_thread (arg=0xaae10b70) at pthread_create.c:300
#24 0xb580410e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4ad4710 (LWP 18544)):
#0  0xb7762424 in __kernel_vsyscall ()
#1  0xb57f6916 in *__GI___poll (fds=0xb587aff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb4fd50f0 in ?? () from /usr/lib/libxcb.so.1
#3  0xb4fd56fb in ?? () from /usr/lib/libxcb.so.1
#4  0xb4fd5a97 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb558f57c in _XSend () from /usr/lib/libX11.so.6
#6  0xb558fbd0 in _XEventsQueued () from /usr/lib/libX11.so.6
#7  0xb55785f8 in XPending () from /usr/lib/libX11.so.6
#8  0xb638ef43 in ?? () from /usr/lib/libQtGui.so.4
#9  0xb638e28b in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#10 0xb63bc3e2 in ?? () from /usr/lib/libQtGui.so.4
#11 0xb521b2f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0xb521efd8 in ?? () from /lib/libglib-2.0.so.0
#13 0xb521f1b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#14 0xb5d6f095 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#15 0xb63bbf45 in ?? () from /usr/lib/libQtGui.so.4
#16 0xb5d41b49 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0xb5d41f9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0xb5d471cf in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#19 0xb62fd667 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#20 0xb7706904 in kdemain (argc=1, argv=0xbf9a5704) at /media/kdesvn/kde4svn/src/kdebase/apps/dolphin/src/main.cpp:98
#21 0x08048759 in main (argc=1, argv=0xbf9a5704) at /media/kdesvn/kde4svn/build/kdebase/apps/dolphin/src/dolphin_dummy.cpp:3

Possible duplicates by query: bug 234391.

Reported using DrKonqi
Comment 1 Pablo Cabezas 2010-07-20 13:40:45 UTC
Created attachment 49335 [details]
New crash information added by DrKonqi

dolphin (1.5) on KDE Platform 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2)) using Qt 4.6.3

- What I was doing when the application crashed: I selected multiple files at once in the window of Dolphin.

-- Backtrace (Reduced):
#8  0xb54287dd in Strigi::DataEventInputStream::read(char const*&, int, int) () from /usr/lib/libstreams.so.0
#9  0xb5428621 in Strigi::DataEventInputStream::skip(long long) () from /usr/lib/libstreams.so.0
#10 0xb542850a in Strigi::DataEventInputStream::reset(long long) () from /usr/lib/libstreams.so.0
#11 0xb59ae961 in PdfParser::parseDictionaryOrStream() () from /usr/lib/libstreamanalyzer.so.0
#12 0xb59af01c in PdfParser::parseObjectStreamObject(int) () from /usr/lib/libstreamanalyzer.so.0
Comment 2 mps 2010-07-29 11:00:37 UTC
Created attachment 49624 [details]
New crash information added by DrKonqi

dolphin (1.5) on KDE Platform 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723)) using Qt 4.7.0

- What I was doing when the application crashed:

With multiple files selected in dolphin, hovering on a pdf or zip regularly (but not always) produces a crash, as per this report.

-- Backtrace (Reduced):
#7  0x000000324d01b152 in Strigi::DataEventInputStream::skip (this=0x18f8310, ntoskip=<value optimized out>) at /usr/src/debug/strigi-0.7.2/src/streams/dataeventinputstream.cpp:85
#8  0x000000324d01b1c9 in Strigi::DataEventInputStream::reset (this=0x18f8310, np=<value optimized out>) at /usr/src/debug/strigi-0.7.2/src/streams/dataeventinputstream.cpp:102
#9  0x000000324d458a10 in PdfParser::parseDictionaryOrStream (this=0x18f8930) at /usr/src/debug/strigi-0.7.2/src/streams/pdf/pdfparser.cpp:392
#10 0x000000324d458c01 in PdfParser::parseObjectStreamObject (this=0x18f8930, nestDepth=0) at /usr/src/debug/strigi-0.7.2/src/streams/pdf/pdfparser.cpp:442
#11 0x000000324d458dfe in PdfParser::parseObjectStreamObjectDef (this=0x18f8930) at /usr/src/debug/strigi-0.7.2/src/streams/pdf/pdfparser.cpp:566
Comment 3 Peter Penz 2010-07-29 11:12:54 UTC
Thanks for the reports + backtraces, this seems to be an issue in the Strigi PDF analyzer (the analyzer is also active, if "Strigi" is disabled btw). Would it be possible that you attach one small, problematic PDF to this bug report? This would help us to reproduce and fix the issue.
Comment 4 René Serral 2010-07-30 16:57:17 UTC
First of all thanks for your prompt response.

It is very strange. Yesterday I tried to reproduce the bug but I was unable to do so.

Today I realized that virtuoso was taking a lot of my CPU and I killed it. Then I stopped the Strigi indexer, and now dolphin crashes just with a segmentation fault, without the possibility of having a backtrace (just kdeini4: dolphin segmentation fault).

Afterward, I reenabled strigi, and strangely the crash doesn't happen anymore (at least I was not able to reproduce). Just for the sake of trying, I stopped strigi again and the crash reappears, while starting it again and restarting dolphin works.

All the above was while on battery with my laptop, so indexing is suspended. I will try again next week with the indexing working just in case I can reproduce.

Best
  René
Comment 5 FiNeX 2010-08-02 15:18:03 UTC
*** Bug 246144 has been marked as a duplicate of this bug. ***
Comment 6 FiNeX 2010-08-02 15:23:20 UTC

*** This bug has been marked as a duplicate of bug 245928 ***