Bug 232060 - Crash while scrolling through thumbnails
Summary: Crash while scrolling through thumbnails
Status: RESOLVED DUPLICATE of bug 230282
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 02:35 UTC by Christoph Feck
Modified: 2010-03-25 21:48 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 Christoph Feck 2010-03-25 02:35:07 UTC
Application: okular (0.10.80)
KDE Platform Version: 4.4.69 (KDE 4.4.69 (KDE 4.5 >= 20100324)) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.31.12-0.2-desktop i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
While scrolling through the thumbnail list of the document reported at bug 232058 I got this crash. When I tried to reproduce, I got the same crash by just starting okular with that file. Trying a third time, I got no crash and was able to scroll through all thumbnails multiple times.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#7  0xb39f88c0 in PagePainter::scalePixmapOnImage (dest=..., src=0xbfa3b5f0, scaledWidth=56, scaledHeight=13, cropRect=..., format=Format_ARGB32)
    at /local/svn/kde/trunk/KDE/kdegraphics/okular/ui/pagepainter.cpp:755
#8  0xb39f7c02 in PagePainter::paintCroppedPageOnPainter (destPainter=0xbfa3bf1c, page=0x83c6b48, pixID=4, flags=41, scaledWidth=115, scaledHeight=167, limits=..., crop=...)
    at /local/svn/kde/trunk/KDE/kdegraphics/okular/ui/pagepainter.cpp:606
#9  0xb39f43fd in PagePainter::paintPageOnPainter (destPainter=0xbfa3bf1c, page=0x83c6b48, pixID=4, flags=41, scaledWidth=115, scaledHeight=167, limits=...)
    at /local/svn/kde/trunk/KDE/kdegraphics/okular/ui/pagepainter.cpp:54
#10 0xb3a410cb in ThumbnailWidget::paint (this=0x84068c0, p=..., _clipRect=...) at /local/svn/kde/trunk/KDE/kdegraphics/okular/ui/thumbnaillist.cpp:826
#11 0xb3a3e29c in ThumbnailListPrivate::paintEvent (this=0x81be740, e=0xbfa3c4d4) at /local/svn/kde/trunk/KDE/kdegraphics/okular/ui/thumbnaillist.cpp:165
#12 0xb6065a16 in QWidget::event (this=0x81be740, event=0xbfa3c4d4) at /local/git/Qt/qt/src/gui/kernel/qwidget.cpp:8232
#13 0xb6007bac in QApplicationPrivate::notify_helper (this=0x8073e90, receiver=0x81be740, e=0xbfa3c4d4) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4338
#14 0xb600dcb9 in QApplication::notify (this=0xbfa3d1f4, receiver=0x81be740, e=0xbfa3c4d4) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4303
#15 0xb717060c in KApplication::notify (this=0xbfa3d1f4, receiver=0x81be740, event=0xbfa3c4d4) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#16 0xb6aeae0b in QCoreApplication::notifyInternal (this=0xbfa3d1f4, receiver=0x81be740, event=0xbfa3c4d4) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:704
#17 0xb606ebd6 in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:218
#18 QWidgetPrivate::drawWidget (event=<value optimized out>, receiver=<value optimized out>) at /local/git/Qt/qt/src/gui/kernel/qwidget.cpp:5313
#19 0xb6254ceb in QWidgetBackingStore::sync (this=0x83458f0) at /local/git/Qt/qt/src/gui/painting/qbackingstore.cpp:1292
#20 0xb605ee93 in QWidgetPrivate::syncBackingStore (this=0x8174b18) at /local/git/Qt/qt/src/gui/kernel/qwidget.cpp:1703
#21 0xb60661b6 in QWidget::event (this=0x817cec0, event=0x80af778) at /local/git/Qt/qt/src/gui/kernel/qwidget.cpp:8379
#22 0xb6473c27 in QMainWindow::event (this=0x817cec0, event=0x80af778) at /local/git/Qt/qt/src/gui/widgets/qmainwindow.cpp:1415
#23 0xb7268e0b in KMainWindow::event (this=0x817cec0, ev=0x80af778) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:1103
#24 0xb72ac4cb in KXmlGuiWindow::event (this=0x817cec0, ev=0x80af778) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#25 0xb6007bac in QApplicationPrivate::notify_helper (this=0x8073e90, receiver=0x817cec0, e=0x80af778) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4338
#26 0xb600dcb9 in QApplication::notify (this=0xbfa3d1f4, receiver=0x817cec0, e=0x80af778) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4303
#27 0xb717060c in KApplication::notify (this=0xbfa3d1f4, receiver=0x817cec0, event=0x80af778) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#28 0xb6aeae0b in QCoreApplication::notifyInternal (this=0xbfa3d1f4, receiver=0x817cec0, event=0x80af778) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:704
#29 0xb6aef064 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1345
#31 0xb6aef1dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1238
#32 0xb6b18fcf in sendPostedEvents () at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch () at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:276
#34 0xb57264c2 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#35 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#36 0xb5729d98 in g_main_context_iterate (context=0x8076298, block=<value optimized out>, dispatch=1, self=0x8074030) at gmain.c:2591
#37 0xb5729ebe in IA__g_main_context_iteration (context=0x8076298, may_block=1) at gmain.c:2654
#38 0xb6b18ac5 in QEventDispatcherGlib::processEvents (this=0x8073e50, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:412
#39 0xb60c6185 in QGuiEventDispatcherGlib::processEvents (this=0x8073e50, flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#40 0xb6ae98e9 in QEventLoop::processEvents (this=0xbfa3d194, flags=) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#41 0xb6ae9d3a in QEventLoop::exec (this=0xbfa3d194, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#42 0xb6aef29f in QCoreApplication::exec () at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:981
#43 0xb6006b77 in QApplication::exec () at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3617
#44 0x0804f05e in main (argc=6, argv=0xbfa3d324) at /local/svn/kde/trunk/KDE/kdegraphics/okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-03-25 20:11:03 UTC
I'm going to assume that your checkout was prior to 1106764 and duplicate it to 230282

If it was after that please reopen the bug.

*** This bug has been marked as a duplicate of bug 230282 ***
Comment 2 Christoph Feck 2010-03-25 20:29:43 UTC
It was r1106763, but there is no later version, so I am reopening.
Comment 3 Albert Astals Cid 2010-03-25 20:47:20 UTC
Well right 1106764 was the backport to 4.4 and 1106763 the commit to trunk.

Are you sure you have actually compiled and not only updated that code? because the backtrace is exactly the same and it is the same kind of document and looking at the code there is no other reason a crash might happen in that line of code.
Comment 4 Christoph Feck 2010-03-25 21:48:38 UTC
You are right, according to my build logs, the checkout I made for building trunk was r1107137, but the build bot did not start recompiling okular after I restarted with 4.4.69, it was compiled about one hour later (the reason why I could not reproduce the third time, I left the crash dialog open for some time)

Sorry for the noise.

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