Bug 265279 - crash when scrolling
Summary: crash when scrolling
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 12:33 UTC by Johann Cohen-Tanugi
Modified: 2011-09-05 11:07 UTC (History)
0 users

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 Johann Cohen-Tanugi 2011-02-03 12:33:44 UTC
Application: okular (0.10.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-27-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
I was just browsing a file, but then hitting page-down continuously trying to get to the end of the file crashed okular. This happened with 5 or 6 files already

The crash can be reproduced every time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77cd930 (LWP 22950))]

Thread 2 (Thread 0xb4c11b70 (LWP 21845)):
[KCrash Handler]
#6  IA__FcConfigSubstituteWithPat (config=0x9350830, p=0xb35184c8, p_pat=0x0, kind=FcMatchPattern) at fccfg.c:1454
#7  0x00e3ae37 in IA__FcConfigSubstitute (config=0x9350830, p=0xb35184c8, kind=FcMatchPattern) at fccfg.c:1584
#8  0x01c61516 in GlobalParams::getDisplayFont (this=0x968aa40, font=0xb3593530) at GlobalParams.cc:1134
#9  0x01bee8d2 in SplashOutputDev::doUpdateFont (this=0x982e300, state=0xb3586a68) at SplashOutputDev.cc:1280
#10 0x01beebed in SplashOutputDev::drawChar (this=0x982e300, state=0xb3586a68, x=141.80000000000001, y=214.5, dx=7.1999999999999993, dy=0, originX=0, originY=0, code=37, nBytes=1, u=0xb35f751c, 
    uLen=1) at SplashOutputDev.cc:1600
#11 0x01c35a27 in Gfx::doShowText (this=0xb35449a8, s=0xb3505560) at Gfx.cc:3643
#12 0x01c35d46 in Gfx::opShowText (this=0xb35449a8, args=0xb4c10dc4, numArgs=1) at Gfx.cc:3429
#13 0x01c2f816 in Gfx::execOp (this=0xb35449a8, cmd=0xb4c10f64, args=0xb4c10dc4, numArgs=1) at Gfx.cc:802
#14 0x01c2fe79 in Gfx::go (this=0xb35449a8, topLevel=1) at Gfx.cc:673
#15 0x01c308a9 in Gfx::display (this=0xb35449a8, obj=0xb4c11064, topLevel=1) at Gfx.cc:642
#16 0x01c7dbd0 in Page::displaySlice (this=0x979ad70, out=0x982e300, hDPI=75.146218487394961, vDPI=75.163895486935871, rotate=0, useMediaBox=0, crop=1, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, 
    printing=0, catalog=0x972ed00, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:474
#17 0x01c818c7 in PDFDoc::displayPageSlice (this=0x9689aa8, out=0x982e300, page=46, hDPI=75.146218487394961, vDPI=75.163895486935871, rotate=0, useMediaBox=0, crop=1, printing=0, sliceX=-1, 
    sliceY=-1, sliceW=-1, sliceH=-1, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at PDFDoc.cc:414
#18 0x04048454 in Poppler::Page::renderToImage (this=0xb3558ee0, xres=75.146218487394961, yres=75.163895486935871, x=-1, y=-1, w=-1, h=-1, rotate=Poppler::Page::Rotate0) at poppler-page.cc:211
#19 0x0711f6b7 in PDFPixmapGeneratorThread::run (this=0x9667d00) at ../../../../okular/generators/poppler/generator_pdf.cpp:1839
#20 0x00edf32e in QThreadPrivate::start (arg=0x9667d00) at thread/qthread_unix.cpp:248
#21 0x009e796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#22 0x04c70a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77cd930 (LWP 22950)):
#0  0x00e78422 in __kernel_vsyscall ()
#1  0x04c62b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x080a1d60 in ?? () from /usr/lib/libxcb.so.1
#3  0x080a39b2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0x08e22f96 in _XReply () from /usr/lib/libX11.so.6
#5  0x08dff739 in XGetImage () from /usr/lib/libX11.so.6
#6  0x02c4b108 in QX11PixmapData::toImage (this=0x9e14160) at image/qpixmap_x11.cpp:1492
#7  0x02c30c6b in QPixmap::toImage (this=0x9e00560) at image/qpixmap.cpp:486
#8  0x03f50d13 in PagePainter::scalePixmapOnImage (dest=..., src=0x9e00560, scaledWidth=203, scaledHeight=287, cropRect=..., format=QImage::Format_ARGB32_Premultiplied)
    at ../../okular/ui/pagepainter.cpp:741
#9  0x03f514b8 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfa1f5ac, page=0x9814dc8, pixID=4, flags=<value optimized out>, scaledWidth=203, scaledHeight=287, limits=..., crop=...)
    at ../../okular/ui/pagepainter.cpp:229
#10 0x03f573cb in PagePainter::paintPageOnPainter (destPainter=0xbfa1f5ac, page=0x9814dc8, pixID=4, flags=41, scaledWidth=203, scaledHeight=287, limits=...) at ../../okular/ui/pagepainter.cpp:54
#11 0x03f981c5 in ThumbnailWidget::paint (this=0x9831cf8, p=..., _clipRect=...) at ../../okular/ui/thumbnaillist.cpp:826
#12 0x03f985d8 in ThumbnailListPrivate::paintEvent (this=0x94d3d30, e=0xbfa1fb44) at ../../okular/ui/thumbnaillist.cpp:165
#13 0x02b996b6 in QWidget::event (this=0x94d3d30, event=0xbfa1fb44) at kernel/qwidget.cpp:8144
#14 0x02b3b4dc in QApplicationPrivate::notify_helper (this=0x934c670, receiver=0x94d3d30, e=0xbfa1fb44) at kernel/qapplication.cpp:4300
#15 0x02b420f9 in QApplication::notify (this=0xbfa20930, receiver=0x94d3d30, e=0xbfa1fb44) at kernel/qapplication.cpp:4265
#16 0x002f040a in KApplication::notify (this=0xbfa20930, receiver=0x94d3d30, event=0xbfa1fb44) at ../../kdeui/kernel/kapplication.cpp:302
#17 0x00fe1a3b in QCoreApplication::notifyInternal (this=0xbfa20930, receiver=0x94d3d30, event=0xbfa1fb44) at kernel/qcoreapplication.cpp:704
#18 0x02ba29d6 in QCoreApplication::sendSpontaneousEvent (this=0x94cce10, pdev=0x96b83d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x96bb0d0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#19 QWidgetPrivate::drawWidget (this=0x94cce10, pdev=0x96b83d4, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x96bb0d0) at kernel/qwidget.cpp:5339
#20 0x02d797d7 in QWidgetBackingStore::sync (this=0x96bb0d0) at painting/qbackingstore.cpp:1283
#21 0x02b92b93 in QWidgetPrivate::syncBackingStore (this=0x94a2ad0) at kernel/qwidget.cpp:1672
#22 0x02b99e76 in QWidget::event (this=0x94a0398, event=0x9d99cd0) at kernel/qwidget.cpp:8291
#23 0x02fb4bc7 in QMainWindow::event (this=0x94a0398, event=0x9d99cd0) at widgets/qmainwindow.cpp:1433
#24 0x003e22e4 in KMainWindow::event (this=0x94a0398, ev=0x9d99cd0) at ../../kdeui/widgets/kmainwindow.cpp:1103
#25 0x0042a0ff in KXmlGuiWindow::event (this=0x94a0398, ev=0x9d99cd0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#26 0x02b3b4dc in QApplicationPrivate::notify_helper (this=0x934c670, receiver=0x94a0398, e=0x9d99cd0) at kernel/qapplication.cpp:4300
#27 0x02b420f9 in QApplication::notify (this=0xbfa20930, receiver=0x94a0398, e=0x9d99cd0) at kernel/qapplication.cpp:4265
#28 0x002f040a in KApplication::notify (this=0xbfa20930, receiver=0x94a0398, event=0x9d99cd0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00fe1a3b in QCoreApplication::notifyInternal (this=0xbfa20930, receiver=0x94a0398, event=0x9d99cd0) at kernel/qcoreapplication.cpp:704
#30 0x00fe4473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9338550) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9338550) at kernel/qcoreapplication.cpp:1345
#32 0x00fe45dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#33 0x0100dadf in QCoreApplication::sendPostedEvents (s=0x934eb10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x934eb10) at kernel/qeventdispatcher_glib.cpp:276
#35 0x034da5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x034de2d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x034de4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x0100d5d5 in QEventDispatcherGlib::processEvents (this=0x9338090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0x02bfb135 in QGuiEventDispatcherGlib::processEvents (this=0x9338090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00fe0059 in QEventLoop::processEvents (this=0xbfa20834, flags=) at kernel/qeventloop.cpp:149
#41 0x00fe04aa in QEventLoop::exec (this=0xbfa20834, flags=...) at kernel/qeventloop.cpp:201
#42 0x00fe469f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x02b3b577 in QApplication::exec () at kernel/qapplication.cpp:3579
#44 0x0804ef09 in main (argc=2, argv=0xbfa20b24) at ../../../okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Pino Toscano 2011-02-03 12:41:11 UTC
Does it happen just with a particular PDF document, or any?
Which is the version of your poppler library?
Comment 2 Johann Cohen-Tanugi 2011-02-03 13:09:19 UTC
- different pdf files, nothing special about them.
- 0.12.4-0ubuntu5.1



On 02/03/2011 12:41 PM, Pino Toscano wrote:
> https://bugs.kde.org/show_bug.cgi?id=265279
>
>
> Pino Toscano<pino@kde.org>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Summary|KDE OKULAR CRASH            |crash when scrolling
>
>
>
>
> --- Comment #1 from Pino Toscano<pino kde org>   2011-02-03 12:41:11 ---
> Does it happen just with a particular PDF document, or any?
> Which is the version of your poppler library?
>
Comment 3 Albert Astals Cid 2011-02-03 19:54:15 UTC
can you run okular trough valgrind and attach the log?
Comment 4 Johann Cohen-Tanugi 2011-02-03 20:22:03 UTC
I can't reproduce the bug after a reboot. I will use valgrind if I manage to reproduce it
Comment 5 Albert Astals Cid 2011-09-05 11:07:08 UTC
Resolving as worksforme as the user was not able to reproduce after a reboot and for 7 months