Bug 189708 - Okular crashes on PDF (LaTeX microtype docs)
Summary: Okular crashes on PDF (LaTeX microtype docs)
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.8.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL: http://www.tug.org/texlive/Contents/l...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-15 12:52 UTC by Jakob Petsovits
Modified: 2009-04-15 13:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Petsovits 2009-04-15 12:52:46 UTC
Just try to open the document at http://www.tug.org/texlive/Contents/live/texmf-dist/doc/latex/microtype/microtype.pdf - Okular will crash with a backtrace like this:

Application: Okular (okular), signal SIGSEGV
[Current thread is 0 (LWP 17732)]

Thread 3 (Thread 0xb2c90b90 (LWP 17756)):
#0  0xb7f94430 in __kernel_vsyscall ()
#1  0xb64e13a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6858c14 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libc.so.6
#3  0xb73456cc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb733a886 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb73446ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb64dd50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb684aa0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb20f3b90 (LWP 17761)):
[KCrash Handler]
#6  0xb21630fb in Form::findWidgetByRef () from /usr/lib/libpoppler.so.3
#7  0xb2154f84 in AnnotWidget::initialize () from /usr/lib/libpoppler.so.3
#8  0xb2155294 in AnnotWidget::AnnotWidget () from /usr/lib/libpoppler.so.3
#9  0xb21576b2 in Annots::createAnnot () from /usr/lib/libpoppler.so.3
#10 0xb21579ca in Annots::Annots () from /usr/lib/libpoppler.so.3
#11 0xb21bd666 in Page::displaySlice () from /usr/lib/libpoppler.so.3
#12 0xb21c14f0 in PDFDoc::displayPageSlice () from /usr/lib/libpoppler.so.3
#13 0xb22b4d55 in Poppler::Page::renderToImage () from /usr/lib/libpoppler-qt4.so.3
#14 0xb2d28b53 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so
#15 0xb73446ae in ?? () from /usr/lib/libQtCore.so.4
#16 0xb64dd50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb684aa0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb60da8d0 (LWP 17732)):
#0  0xb7f94430 in __kernel_vsyscall ()
#1  0xb6842df1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb618fe5f in ?? () from /usr/lib/libxcb.so.1
#3  0xb619056e in ?? () from /usr/lib/libxcb.so.1
#4  0xb6190afb in xcb_send_request () from /usr/lib/libxcb.so.1
#5  0xb6574166 in _XPutXCBBuffer () from /usr/lib/libX11.so.6
#6  0xb657582f in _XSend () from /usr/lib/libX11.so.6
#7  0xb6560fc5 in ?? () from /usr/lib/libX11.so.6
#8  0xb65611c4 in XPutImage () from /usr/lib/libX11.so.6
#9  0xb6bfb0cc in ?? () from /usr/lib/libQtGui.so.4
#10 0xb6bec4ca in QPixmap::fromImage () from /usr/lib/libQtGui.so.4
#11 0xb6c2689c in QPaintEngine::drawImage () from /usr/lib/libQtGui.so.4
#12 0xb6cd30d9 in ?? () from /usr/lib/libQtGui.so.4
#13 0xb6c32bc5 in ?? () from /usr/lib/libQtGui.so.4
#14 0xb6c37d4f in QPainter::drawPath () from /usr/lib/libQtGui.so.4
#15 0xb6c398dc in QPainter::drawRoundedRect () from /usr/lib/libQtGui.so.4
#16 0xb5f18f90 in OxygenStyle::renderScrollBarHandle (this=0x9d35040, p=0xbfd94018, r=@0xbfd93164, pal=@0xbfd93254, orientation=Qt::Horizontal, hover=false)
    at /build/buildd/kdebase-runtime-4.2.2/kstyles/oxygen/oxygen.cpp:2482
#17 0xb5f1d0e4 in OxygenStyle::drawKStylePrimitive (this=0x9d35040, widgetType=KStyle::WT_ScrollBar, primitive=9, opt=0xbfd93694, r=@0xbfd93164, pal=@0xbfd93254, flags={i = -1076284768}, 
    p=0xbfd94018, widget=0x9e715e8, kOpt=0x0) at /build/buildd/kdebase-runtime-4.2.2/kstyles/oxygen/oxygen.cpp:1017
#18 0xb79c8ad7 in KStyle::drawControl (this=0x9d35040, element=QStyle::CE_ScrollBarSlider, option=0xbfd93694, p=0xbfd94018, widget=0x9e715e8)
    at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kstyle.cpp:2134
#19 0xb5f136b2 in OxygenStyle::drawControl (this=0x9d35040, element=QStyle::CE_ScrollBarSlider, option=0xbfd93694, p=0xbfd94018, widget=0x9e715e8)
    at /build/buildd/kdebase-runtime-4.2.2/kstyles/oxygen/oxygen.cpp:370
#20 0xb6dd17f0 in QCommonStyle::drawComplexControl () from /usr/lib/libQtGui.so.4
#21 0xb79c68a4 in KStyle::drawComplexControl (this=0x9d35040, cc=QStyle::CC_ScrollBar, opt=0xbfd93fb0, p=0xbfd94018, w=0x9e715e8) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kstyle.cpp:3389
#22 0xb5f13017 in OxygenStyle::drawComplexControl (this=0x9d35040, control=QStyle::CC_ScrollBar, option=0xbfd93fb0, painter=0xbfd94018, widget=0x9e715e8)
    at /build/buildd/kdebase-runtime-4.2.2/kstyles/oxygen/oxygen.cpp:316
#23 0xb6f0f715 in QScrollBar::paintEvent () from /usr/lib/libQtGui.so.4
#24 0xb6b7c74b in QWidget::event () from /usr/lib/libQtGui.so.4
#25 0xb6e68e64 in QAbstractSlider::event () from /usr/lib/libQtGui.so.4
#26 0xb6f1014a in QScrollBar::event () from /usr/lib/libQtGui.so.4
#27 0xb6b248ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#28 0xb6b2c7fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#29 0xb79b92ad in KApplication::notify (this=0xbfd95e2c, receiver=0x9e715e8, event=0xbfd944dc) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#30 0xb7434e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#31 0xb6b853de in ?? () from /usr/lib/libQtGui.so.4
#32 0xb6b7b110 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#33 0xb6b7b8b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#34 0xb6b7ad88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#35 0xb6b7b8b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#36 0xb6b7b7be in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#37 0xb6b7ad88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#38 0xb6b7b8b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#39 0xb6b7ad88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#40 0xb6b7b8b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#41 0xb6b7b7be in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#42 0xb6b7ad88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#43 0xb6b7b8b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#44 0xb6b7ad88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#45 0xb6b7b8b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#46 0xb6b7b7be in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#47 0xb6b7ad88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#48 0xb6ceafae in ?? () from /usr/lib/libQtGui.so.4
#49 0xb6ceb4a7 in ?? () from /usr/lib/libQtGui.so.4
#50 0xb6b7c576 in QWidget::event () from /usr/lib/libQtGui.so.4
#51 0xb6ed0517 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#52 0xb7a9c247 in KMainWindow::event (this=0x9d88568, ev=0xa19c2b0) at /build/buildd/kde4libs-4.2.2/kdeui/widgets/kmainwindow.cpp:1094
#53 0xb7ae104c in KXmlGuiWindow::event (this=0x9d88568, ev=0xa19c2b0) at /build/buildd/kde4libs-4.2.2/kdeui/xmlgui/kxmlguiwindow.cpp:131
#54 0xb6b248ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#55 0xb6b2c7fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#56 0xb79b92ad in KApplication::notify (this=0xbfd95e2c, receiver=0x9d88568, event=0xa19c2b0) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#57 0xb7434e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#58 0xb7435ae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#59 0xb7435cdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#60 0xb745f82f in ?? () from /usr/lib/libQtCore.so.4
#61 0xb6410718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb6413dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#63 0xb6413f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0xb745f478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#65 0xb6bbeea5 in ?? () from /usr/lib/libQtGui.so.4
#66 0xb743352a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#67 0xb74336ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#68 0xb7435da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#69 0xb6b24767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#70 0x0804e457 in _start ()
Comment 1 Jakob Petsovits 2009-04-15 13:00:06 UTC
Worked in the latest version of KPDF, btw.
Comment 2 Pino Toscano 2009-04-15 13:04:05 UTC
(In reply to comment #0)
> #6  0xb21630fb in Form::findWidgetByRef () from /usr/lib/libpoppler.so.3
> #7  0xb2154f84 in AnnotWidget::initialize () from /usr/lib/libpoppler.so.3
> #8  0xb2155294 in AnnotWidget::AnnotWidget () from /usr/lib/libpoppler.so.3
> #9  0xb21576b2 in Annots::createAnnot () from /usr/lib/libpoppler.so.3
> #10 0xb21579ca in Annots::Annots () from /usr/lib/libpoppler.so.3
> #11 0xb21bd666 in Page::displaySlice () from /usr/lib/libpoppler.so.3
> #12 0xb21c14f0 in PDFDoc::displayPageSlice () from /usr/lib/libpoppler.so.3
> #13 0xb22b4d55 in Poppler::Page::renderToImage () from
> /usr/lib/libpoppler-qt4.so.3

Old Poppler library (0.8.x), please update to the 0.10.x serie.

(In reply to comment #1)
> Worked in the latest version of KPDF, btw.

Yeah, KPDF does not support annotations at all :)