Bug 284280 - Konqueror crash when the mouse point a PDF file produced by printing
Summary: Konqueror crash when the mouse point a PDF file produced by printing
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 15:48 UTC by LIBON Victor
Modified: 2011-10-17 20:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LIBON Victor 2011-10-17 15:48:25 UTC
Application: konqueror (4.6.5 (4.6.5))
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.40.6-0.fc15.i686.PAE i686
Distribution: "Fedora release 15 (Lovelock)"

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

The mouse went on a PDF file produced by printing (I did not click on the file). I tried to remove the option <Display> <Preview> and the crash still happens. The PDF file does not seem to be corrupt, because okular and acroread can open it when called from Konsole.

Dolphin also crash in the same way, with the same files.

By cons, to print in PS does not cause any crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Aborted
[Current thread is 1 (Thread 0xb76d4780 (LWP 9249))]

Thread 2 (Thread 0xb52d0b70 (LWP 9265)):
[KCrash Handler]
#7  0x0038f424 in __kernel_vsyscall ()
#8  0x4f7c226f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x4f7c3ba5 in __GI_abort () at abort.c:93
#10 0x4fded0ed in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#11 0x4fdeae64 in __cxxabiv1::__terminate (handler=0x4fdecfa0 <__gnu_cxx::__verbose_terminate_handler()>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:40
#12 0x4fdeaea0 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:50
#13 0x4fdeafef in __cxxabiv1::__cxa_throw (obj=0xb4991e58, tinfo=0x4fe1b820, dest=0x4fd934c0 <std::length_error::~length_error()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:83
#14 0x4fd8d834 in std::__throw_length_error (__s=0x4fdf7c5b "basic_string::assign") at ../../../../libstdc++-v3/src/functexcept.cc:78
#15 0x4fdd0857 in _M_check_length (__s=0x4fdf7c5b "basic_string::assign", __n2=4294967190, __n1=<optimized out>, this=0xb4942644) at /usr/src/debug/gcc-4.6.1-20110908/obj-i686-redhat-linux/i686-redhat-linux/libstdc++-v3/include/bits/basic_string.h:327
#16 std::string::assign (this=0xb4942644, __s=0xb498e909 " 0 R\n>> /Font << /F3.0 10 0 R /F7.0 17 0 R /F9.0 19 0 R /F8.0 18 0 R /F12.0 30 0 R\n/F6.0 16 0 R /F1.0 8 0 R /F5.0 15 0 R /F10.0 20 0 R >> /XObject << /Im2 35 0 R\n/Im6 43 0 R /Im4 39 0 R /Im5 41 0 R /I"..., __n=4294967190) at /usr/src/debug/gcc-4.6.1-20110908/obj-i686-redhat-linux/i686-redhat-linux/libstdc++-v3/include/bits/basic_string.tcc:264
#17 0x4310d233 in PdfParser::parseName (this=0xb4942620) at /usr/src/debug/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:274
#18 0x4310dacb in PdfParser::parseDictionaryOrStream (this=0xb4942620) at /usr/src/debug/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:316
#19 0x4310e2d5 in parseObjectStreamObject (nestDepth=0, this=0xb4942620) at /usr/src/debug/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:434
#20 PdfParser::parseObjectStreamObject (this=0xb4942620, nestDepth=0) at /usr/src/debug/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:417
#21 0x4310e3c6 in PdfParser::parseObjectStreamObjectDef (this=0xb4942620) at /usr/src/debug/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:560
#22 0x4310e4f8 in PdfParser::parse (this=0xb4942620, stream=0xb4997e78) at /usr/src/debug/strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp:588
#23 0x43131c24 in PdfEndAnalyzer::analyze (this=0xb4942610, as=..., in=0xb4997e78) at /usr/src/debug/strigi-0.7.6/libstreamanalyzer/lib/endanalyzers/pdfendanalyzer.cpp:62
#24 0x4311493c in Strigi::StreamAnalyzerPrivate::analyze (this=0xb490c788, idx=..., input=0xb4997e78) at /usr/src/debug/strigi-0.7.6/libstreamanalyzer/lib/streamanalyzer.cpp:418
#25 0x42aeb8e9 in KFileMetaInfoPrivate::init (this=0xb4931488, stream=..., url=..., mtime=1317029725, w=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/kfilemetainfo.cpp:257
#26 0x42aec822 in KFileMetaInfo::KFileMetaInfo (this=0xb52d025c, path=..., w=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/kfilemetainfo.cpp:286
#27 0x42bd66e2 in KLoadFileMetaDataThread::run (this=0x91a0e70) at /usr/src/debug/kdelibs-4.6.5/kio/kfile/kloadfilemetadatathread.cpp:143
#28 0x4163c3a4 in QThreadPrivate::start (arg=0x91a0e70) at thread/qthread_unix.cpp:331
#29 0x4f92fa2e in start_thread (arg=0xb52d0b70) at pthread_create.c:305
#30 0x4f86e34e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb76d4780 (LWP 9249)):
#0  0x0038f424 in __kernel_vsyscall ()
#1  0x4f863c3e in __GI___poll (fds=0xbf841568, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x4fc593c8 in ?? () from /usr/lib/libxcb.so.1
#3  0x4fc599cc in ?? () from /usr/lib/libxcb.so.1
#4  0x4fc59a7e in xcb_writev () from /usr/lib/libxcb.so.1
#5  0x4fb523e0 in _XSend (dpy=0x8ba8710, data=0x9455370 "\b\t\t\n\030\031\031\034\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036\032\033\033\036"..., size=8736) at xcb_io.c:436
#6  0x4fb46a76 in SendZImage (dest_scanline_pad=32, dest_bits_per_pixel=32, req_yoffset=0, req_xoffset=0, image=0x9002a20, req=<optimized out>, dpy=<optimized out>) at PutImage.c:802
#7  PutImageRequest (dest_scanline_pad=32, dest_bits_per_pixel=32, req_height=26, req_width=84, y=0, x=0, req_yoffset=0, req_xoffset=0, image=0x9002a20, gc=0x9419048, d=8736, dpy=<optimized out>) at PutImage.c:870
#8  PutSubImage (dpy=<optimized out>, d=8736, gc=0x9419048, image=0x9002a20, req_xoffset=0, req_yoffset=0, x=0, y=0, req_width=84, req_height=26, dest_bits_per_pixel=32, dest_scanline_pad=32) at PutImage.c:908
#9  0x4fb46cb4 in XPutImage (dpy=0x8ba8710, d=92309512, gc=0x9419048, image=0x9002a20, req_xoffset=0, req_yoffset=0, x=0, y=0, req_width=84, req_height=26) at PutImage.c:1027
#10 0x420766be in QX11PixmapData::fromImage (this=0x8ba8710, img=..., flags=...) at image/qpixmap_x11.cpp:612
#11 0x4205d760 in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:2061
#12 0x420c4e86 in QPaintEngine::drawImage (this=0x91cf348, r=..., image=..., sr=..., flags=) at painting/qpaintengine.cpp:623
#13 0x4219cbb7 in QX11PaintEngine::drawImage (this=0x91cf348, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1903
#14 0x420dbb40 in QPainterPrivate::draw_helper (this=0x942ab78, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:497
#15 0x420dddd1 in QPainter::drawPath (this=0xbf845ab4, path=...) at painting/qpainter.cpp:3392
#16 0x420de1e2 in QPainter::drawRoundedRect (this=0xbf845ab4, rect=..., xRadius=2, yRadius=2, mode=Qt::AbsoluteSize) at painting/qpainter.cpp:4172
#17 0x00d1cb43 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#18 0x00d28092 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#19 0x00cfc473 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#20 0x422c4cde in QCommonStyle::drawControl (this=0x8bc48d8, element=149007920, opt=0xbf84594c, p=0xbf845ab4, widget=0x8e1ae30) at styles/qcommonstyle.cpp:1698
#21 0x00cfc40d in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#22 0x424427b7 in drawControl (opt=<optimized out>, ce=<optimized out>, this=<optimized out>) at ../../src/gui/painting/qstylepainter.h:89
#23 QTabBar::paintEvent (this=0x8e1ae30) at widgets/qtabbar.cpp:1580
#24 0x45345b24 in KTabBar::paintEvent (this=0x8e1ae30, event=0xbf8460a4) at /usr/src/debug/kdelibs-4.6.5/kdeui/widgets/ktabbar.cpp:306
#25 0x41fcee8b in QWidget::event (this=0x8e1ae30, event=0xbf8460a4) at kernel/qwidget.cpp:8441
#26 0x42443f2f in QTabBar::event (this=0x8e1ae30, event=0xbf8460a4) at widgets/qtabbar.cpp:1509
#27 0x41f74014 in notify_helper (e=0xbf8460a4, receiver=0x8e1ae30, this=0x8b88270) at kernel/qapplication.cpp:4481
#28 QApplicationPrivate::notify_helper (this=0x8b88270, receiver=0x8e1ae30, e=0xbf8460a4) at kernel/qapplication.cpp:4453
#29 0x41f7950a in QApplication::notify (this=0x8b88270, receiver=0x8e1ae30, e=0xbf8460a4) at kernel/qapplication.cpp:4446
#30 0x4523d8c2 in KApplication::notify (this=0xbf8476e4, receiver=0x8e1ae30, event=0xbf8460a4) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#31 0x4173865e in QCoreApplication::notifyInternal (this=0xbf8476e4, receiver=0x8e1ae30, event=0xbf8460a4) at kernel/qcoreapplication.cpp:787
#32 0x41fcbc9b in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#33 QWidgetPrivate::drawWidget (this=0x8e26a00, pdev=0x8eca8bc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8ecbd88) at kernel/qwidget.cpp:5528
#34 0x41fcc9cc in QWidgetPrivate::paintSiblingsRecursive (this=0x8e1a758, pdev=0x8eca8bc, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8ecbd88) at kernel/qwidget.cpp:5735
#35 0x41fcb9f9 in QWidgetPrivate::drawWidget (this=0x8e1a758, pdev=0x8eca8bc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8ecbd88) at kernel/qwidget.cpp:5581
#36 0x41fcc9cc in QWidgetPrivate::paintSiblingsRecursive (this=0x8dee8c8, pdev=0x8eca8bc, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8ecbd88) at kernel/qwidget.cpp:5735
#37 0x41fcb9f9 in QWidgetPrivate::drawWidget (this=0x8dee8c8, pdev=0x8eca8bc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8ecbd88) at kernel/qwidget.cpp:5581
#38 0x41fcc9cc in QWidgetPrivate::paintSiblingsRecursive (this=0x8cb0868, pdev=0x8eca8bc, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x8ecbd88) at kernel/qwidget.cpp:5735
#39 0x41fcb9f9 in QWidgetPrivate::drawWidget (this=0x8cb0868, pdev=0x8eca8bc, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x8ecbd88) at kernel/qwidget.cpp:5581
#40 0x421b416a in QWidgetBackingStore::sync (this=0x8ecbd88) at painting/qbackingstore.cpp:1338
#41 0x41fc0edb in QWidgetPrivate::syncBackingStore (this=0x8cb0868) at kernel/qwidget.cpp:1862
#42 0x41fcf823 in QWidget::event (this=0x8cb0678, event=0x92507e8) at kernel/qwidget.cpp:8588
#43 0x423f08d4 in QMainWindow::event (this=0x8cb0678, event=0x92507e8) at widgets/qmainwindow.cpp:1478
#44 0x45321724 in KMainWindow::event (this=0x8cb0678, ev=0x92507e8) at /usr/src/debug/kdelibs-4.6.5/kdeui/widgets/kmainwindow.cpp:1100
#45 0x453642b3 in KXmlGuiWindow::event (this=0x8cb0678, ev=0x92507e8) at /usr/src/debug/kdelibs-4.6.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#46 0x42cd994b in KonqMainWindow::event (this=0x8cb0678, e=0x92507e8) at /usr/src/debug/kdebase-4.6.5/konqueror/src/konqmainwindow.cpp:5547
#47 0x41f74014 in notify_helper (e=0x92507e8, receiver=0x8cb0678, this=0x8b88270) at kernel/qapplication.cpp:4481
#48 QApplicationPrivate::notify_helper (this=0x8b88270, receiver=0x8cb0678, e=0x92507e8) at kernel/qapplication.cpp:4453
#49 0x41f7950a in QApplication::notify (this=0x8b88270, receiver=0x8cb0678, e=0x92507e8) at kernel/qapplication.cpp:4446
#50 0x4523d8c2 in KApplication::notify (this=0xbf8476e4, receiver=0x8cb0678, event=0x92507e8) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#51 0x4173865e in QCoreApplication::notifyInternal (this=0xbf8476e4, receiver=0x8cb0678, event=0x92507e8) at kernel/qcoreapplication.cpp:787
#52 0x4173c0e8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b6ce00) at kernel/qcoreapplication.cpp:1428
#54 0x4173c2ad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#55 0x41766915 in sendPostedEvents () at kernel/qcoreapplication.h:220
#56 postEventSourceDispatch (s=0x8b900a0) at kernel/qeventdispatcher_glib.cpp:277
#57 0x4fa155bf in g_main_dispatch (context=0x8b8f870) at gmain.c:2441
#58 g_main_context_dispatch (context=0x8b8f870) at gmain.c:3014
#59 0x4fa15d30 in g_main_context_iterate (context=0x8b8f870, block=1336035968, dispatch=1, self=0x8b9c0e0) at gmain.c:3092
#60 0x4fa1606f in g_main_context_iteration (context=0x8b8f870, may_block=1) at gmain.c:3155
#61 0x41766d58 in QEventDispatcherGlib::processEvents (this=0x8b6db10, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#62 0x42028b4b in QGuiEventDispatcherGlib::processEvents (this=0x8b6db10, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#63 0x4173799e in QEventLoop::processEvents (this=0xbf8475b4, flags=...) at kernel/qeventloop.cpp:149
#64 0x41737bf1 in QEventLoop::exec (this=0xbf8475b4, flags=...) at kernel/qeventloop.cpp:201
#65 0x4173c35b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#66 0x41f71df5 in QApplication::exec () at kernel/qapplication.cpp:3755
#67 0x42d1d738 in kdemain (argc=4, argv=0xbf847a04) at /usr/src/debug/kdebase-4.6.5/konqueror/src/konqmain.cpp:219
#68 0x0804869c in main (argc=4, argv=0xbf847a04) at /usr/src/debug/kdebase-4.6.5/i686-redhat-linux-gnu/konqueror/src/konqueror_dummy.cpp:3

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

Possible duplicates by query: bug 284235, bug 284118, bug 284032, bug 283436, bug 283432.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2011-10-17 20:44:42 UTC
Thanks for the report. This is an issue in the corresponding Strigi analyzer
that Dolphin uses to get the metadata of a file. Konqueror and Dolphin for KDE 4.7 won't crash anymore in this case (see
http://ppenz.blogspot.com/2011/03/dont-crash-when-reading-metadata.html for
details).