Bug 197019

Summary: Okular crash opening pdf file
Product: [Applications] okular Reporter: mps <moabi2000>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description mps 2009-06-18 15:20:51 UTC
Application that crashed: okular
Version of the application: 0.8.80
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.29.5-186.fc11.i586 i686
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:

Opening a pdf file (3.9mb) crashed okular. The same file subsequently opened fine. The file can be found here: http://download.osgeo.org/qgis/doc/manual/qgis-1.1.0_user_guide_en.pdf

I am using kde packages from the kde-redhat repository.



 -- Backtrace:
Application: Okular (okular), signal: Aborted
[Current thread is 1 (Thread 0xb805fab0 (LWP 14200))]

Thread 2 (Thread 0xb5292b70 (LWP 14201)):
[KCrash Handler]
#6  0x00824422 in __kernel_vsyscall ()
#7  0x00b167c1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x00b18092 in *__GI_abort () at abort.c:88
#9  0x00b5b25b in malloc_printerr (action=2, str=0x6 <Address 0x6 out of bounds>, ptr=0x8d5b460) at malloc.c:6201
#10 0x00b5efbb in *__GI___libc_free (mem=0x6) at malloc.c:3677
#11 0x004c23f1 in operator delete (ptr=0x0) at ../../../../libstdc++-v3/libsupc++/del_op.cc:44
#12 0x057d25a7 in Parser::~Parser() () from /usr/lib/libpoppler.so.4
#13 0x057e3c14 in XRef::fetch(int, int, Object*) () from /usr/lib/libpoppler.so.4
#14 0x057cc3c2 in Object::fetch(XRef*, Object*) () from /usr/lib/libpoppler.so.4
#15 0x0579f0e3 in GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*) () from /usr/lib/libpoppler.so.4
#16 0x0578ce36 in GfxResources::GfxResources(XRef*, Dict*, GfxResources*) () from /usr/lib/libpoppler.so.4
#17 0x0578f994 in Gfx::Gfx(XRef*, OutputDev*, int, Dict*, Catalog*, double, double, PDFRectangle*, PDFRectangle*, int, int (*)(void*), void*) () from /usr/lib/libpoppler.so.4
#18 0x057cfc43 in Page::createGfx(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) () from /usr/lib/libpoppler.so.4
#19 0x057cfe47 in Page::displaySlice(OutputDev*, double, double, int, int, int, int, int, int, int, int, Catalog*, int (*)(void*), void*, int (*)(Annot*, void*), void*) ()
   from /usr/lib/libpoppler.so.4
#20 0x057d37e7 in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, int, int, int, int, int, int, int, int (*)(void*), void*, int (*)(Annot*, void*), void*) ()
   from /usr/lib/libpoppler.so.4
#21 0x07c65338 in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const () from /usr/lib/libpoppler-qt4.so.3
#22 0x00834598 in PDFPixmapGeneratorThread::run (this=0x8bb68e8) at /usr/src/debug/kdegraphics-4.2.90/okular/generators/poppler/generator_pdf.cpp:1701
#23 0x023f221e in QThreadPrivate::start (arg=0x8bb68e8) at thread/qthread_unix.cpp:189
#24 0x00caa935 in start_thread (arg=0xb5292b70) at pthread_create.c:297
#25 0x00bc982e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb805fab0 (LWP 14200)):
#0  0x00824422 in __kernel_vsyscall ()
#1  0x00bbf276 in *__GI___poll (fds=0xc58ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00cf4060 in _xcb_conn_wait (c=0x8869a60, cond=0x886aaf4, vector=0xbf8377a4, count=0xbf8377a8) at xcb_conn.c:306
#3  0x00cf45db in _xcb_out_send (c=0x8869a60, vector=0xbf8377a4, count=0xbf8377a8) at xcb_out.c:338
#4  0x00cf4977 in xcb_writev (c=0x8869a60, vector=0xbf8377f8, count=3, requests=305) at xcb_out.c:286
#5  0x00142de9 in _XSend (dpy=0x88824d0, data=0x8d5be20 "\4", size=56) at xcb_io.c:332
#6  0x0013474f in _XSetClipRectangles (dpy=0x88824d0, gc=0x8d5b8f8, clip_x_origin=0, clip_y_origin=0, rectangles=0x8d5be20, n=7, ordering=3) at SetCRects.c:56
#7  0x00134907 in XSetClipRectangles (dpy=0x88824d0, gc=0x8d5b8f8, clip_x_origin=0, clip_y_origin=0, rectangles=0x8d5be20, n=7, ordering=3) at SetCRects.c:77
#8  0x02b78258 in x11SetClipRegion (r=<value optimized out>, picture=<value optimized out>, gc2=<value optimized out>, gc=<value optimized out>, dpy=<value optimized out>)
    at painting/qpaintengine_x11.cpp:166
#9  QX11PaintEngine::updateBrush (r=<value optimized out>, picture=<value optimized out>, gc2=<value optimized out>, gc=<value optimized out>, dpy=<value optimized out>)
    at painting/qpaintengine_x11.cpp:1433
#10 0x02b79c80 in QX11PaintEngine::updateState (this=0x89860a8, state=@0x8d5bce4) at painting/qpaintengine_x11.cpp:1079
#11 0x02a961c4 in QPainterPrivate::updateStateImpl (this=0x8d5bc48, newState=0x8d5bce0) at painting/qpainter.cpp:908
#12 0x02a9628c in QPainterPrivate::updateState (this=0x8d5bc48, newState=0x8d5bce0) at painting/qpainter.cpp:936
#13 0x02aa1fca in QPainter::drawEllipse (this=0xbf839b4c, r=@0xbf837e38) at painting/qpainter.cpp:4164
#14 0x0060f4eb in OxygenStyle::renderDot (this=0x8890aa0, p=0xbf839b4c, point=@0xbf8389a8, baseColor=@0x88af988) at /usr/src/debug/kdebase-runtime-4.2.90/kstyles/oxygen/oxygen.cpp:2683
#15 0x0061afa1 in OxygenStyle::drawKStylePrimitive (this=0x8890aa0, widgetType=KStyle::WT_ToolBar, primitive=0, opt=0xbf839b08, r=@0xbf83998c, pal=@0xbf8399e0, flags={i = 73857}, p=0xbf839b4c, 
    widget=0x8b8e820, kOpt=0x0) at /usr/src/debug/kdebase-runtime-4.2.90/kstyles/oxygen/oxygen.cpp:1879
#16 0x03f677b0 in KStyle::drawPrimitive (this=0x8890aa0, elem=QStyle::PE_IndicatorToolBarHandle, option=0xbf839b08, painter=0xbf839b4c, widget=0x8b8e820)
    at /usr/src/debug/kdelibs-4.2.90/kdeui/kernel/kstyle.cpp:1162
#17 0x02e30a95 in QToolBar::paintEvent (this=0x8b8e820) at widgets/qtoolbar.cpp:1046
#18 0x029c4f5a in QWidget::event (this=0x8b8e820, event=0xbf83a004) at kernel/qwidget.cpp:7659
#19 0x02e3208f in QToolBar::event (this=0x8b8e820, event=0xbf83a004) at widgets/qtoolbar.cpp:1193
#20 0x02970444 in QApplicationPrivate::notify_helper (this=0x8861cf0, receiver=0x8b8e820, e=0xbf83a004) at kernel/qapplication.cpp:4057
#21 0x02977abe in QApplication::notify (this=0xbf83aeb8, receiver=0x8b8e820, e=0xbf83a004) at kernel/qapplication.cpp:4022
#22 0x03f4f3da in KApplication::notify (this=0xbf83aeb8, receiver=0x8b8e820, event=0xbf83a004) at /usr/src/debug/kdelibs-4.2.90/kdeui/kernel/kapplication.cpp:302
#23 0x024e1fdb in QCoreApplication::notifyInternal (this=0xbf83aeb8, receiver=0x8b8e820, event=0xbf83a004) at kernel/qcoreapplication.cpp:610
#24 0x029cd6c5 in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#25 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:5052
#26 0x029cdeed in QWidgetPrivate::paintSiblingsRecursive (this=0x8898f90, pdev=0x88c6aa4, siblings=@0x8898f9c, index=22, rgn=@0xbf83a470, offset=@0x889db64, flags=4, sharedPainter=0x0, 
    backingStore=0x889db40) at kernel/qwidget.cpp:5162
#27 0x029cd2b6 in QWidgetPrivate::drawWidget (this=0x8898f90, pdev=0x88c6aa4, rgn=@0xbf83a470, offset=@0x889db64, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x889db40)
    at kernel/qwidget.cpp:5101
#28 0x02b89168 in QWidgetBackingStore::sync (this=0x889db40) at painting/qbackingstore.cpp:1268
#29 0x029be556 in QWidgetPrivate::syncBackingStore (this=0x8898f90) at kernel/qwidget.cpp:1602
#30 0x029c5734 in QWidget::event (this=0x88c8c88, event=0x8ba0ec8) at kernel/qwidget.cpp:7799
#31 0x02dbf377 in QMainWindow::event (this=0x88c8c88, event=0x8ba0ec8) at widgets/qmainwindow.cpp:1402
#32 0x04034854 in KMainWindow::event (this=0x88c8c88, ev=0x8ba0ec8) at /usr/src/debug/kdelibs-4.2.90/kdeui/widgets/kmainwindow.cpp:1094
#33 0x0407b95f in KXmlGuiWindow::event (this=0x88c8c88, ev=0x8ba0ec8) at /usr/src/debug/kdelibs-4.2.90/kdeui/xmlgui/kxmlguiwindow.cpp:131
#34 0x02970444 in QApplicationPrivate::notify_helper (this=0x8861cf0, receiver=0x88c8c88, e=0x8ba0ec8) at kernel/qapplication.cpp:4057
#35 0x02977abe in QApplication::notify (this=0xbf83aeb8, receiver=0x88c8c88, e=0x8ba0ec8) at kernel/qapplication.cpp:4022
#36 0x03f4f3da in KApplication::notify (this=0xbf83aeb8, receiver=0x88c8c88, event=0x8ba0ec8) at /usr/src/debug/kdelibs-4.2.90/kdeui/kernel/kapplication.cpp:302
#37 0x024e1fdb in QCoreApplication::notifyInternal (this=0xbf83aeb8, receiver=0x88c8c88, event=0x8ba0ec8) at kernel/qcoreapplication.cpp:610
#38 0x024e2ad8 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#39 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#40 0x024e2cad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#41 0x0250d0af in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#42 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:209
#43 0x00d44d78 in g_main_dispatch (context=<value optimized out>) at gmain.c:1814
#44 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2367
#45 0x00d48310 in g_main_context_iterate (context=0x8864098, block=<value optimized out>, dispatch=1, self=0x8861eb0) at gmain.c:2445
#46 0x00d48443 in IA__g_main_context_iteration (context=0x8864098, may_block=1) at gmain.c:2508
#47 0x0250ccdc in QEventDispatcherGlib::processEvents (this=0x8861cd0, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:324
#48 0x02a0f305 in QGuiEventDispatcherGlib::processEvents (this=0x8861cd0, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#49 0x024e05c9 in QEventLoop::processEvents (this=0xbf83adb4, flags={i = 36}) at kernel/qeventloop.cpp:149
#50 0x024e0a12 in QEventLoop::exec (this=0xbf83adb4, flags={i = 0}) at kernel/qeventloop.cpp:200
#51 0x024e2d6f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#52 0x029702c7 in QApplication::exec () at kernel/qapplication.cpp:3526
#53 0x0804e559 in main (argc=4, argv=0xbf83b0a4) at /usr/src/debug/kdegraphics-4.2.90/okular/shell/main.cpp:81

This bug may be a duplicate of or related to bug 196881

Reported using DrKonqi
Comment 1 Rex Dieter 2009-06-19 13:51:54 UTC
Confirmed, *but*, not reproducible without 
MALLOC_CHECK_=2
(as set in beta's /usr/bin/startkde)
Comment 2 Dario Andres 2009-06-19 15:35:23 UTC
What are your poppler and poppler-qt4 versions ? Thanks
Comment 3 mps 2009-06-19 15:52:41 UTC
poppler.i586                        0.10.5-1.fc11              installed
poppler-glib.i586                   0.10.5-1.fc11              installed
poppler-qt4.i586                    0.10.5-1.fc11              installed
poppler-utils.i586                  0.10.5-1.fc11              installed
Comment 4 Pino Toscano 2009-12-26 18:34:48 UTC

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