Bug 311803 - Okular crashes when I scroll to third page of PDF document
Summary: Okular crashes when I scroll to third page of PDF document
Status: RESOLVED DUPLICATE of bug 311601
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: 2012-12-16 20:46 UTC by Jure Repinc
Modified: 2012-12-16 23:06 UTC (History)
2 users (show)

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


Attachments
crashy.pdf (106.67 KB, application/pdf)
2012-12-16 20:47 UTC, Jure Repinc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2012-12-16 20:46:05 UTC
Application: okular (0.15.90)
KDE Platform Version: 4.9.90 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.7.0 x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:
I downloaded this PDF, opened it and started scrolling. When I get to the third page Koular just crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x0000003d1dab0933 in isNull (this=0x64006e0065007f) at tools/qrect.h:232
#7  QRect::operator& (this=0x7fff34df00b0, r=...) at tools/qrect.cpp:1127
#8  0x00007fee5da66c17 in intersect (r=..., this=0x7fff34df00b0) at /usr/include/qt4/QtCore/qrect.h:478
#9  slotRequestPreloadPixmap (i=0x64006e0065006b, expandedViewportRect=..., requestedPixmaps=requestedPixmaps@entry=0x7fff34df0060) at /var/tmp/portage/kde-base/okular-9999/work/okular-9999/ui/pageview.cpp:4019
#10 0x00007fee5da67ba8 in PageView::slotRequestVisiblePixmaps (this=<optimized out>, newValue=<optimized out>) at /var/tmp/portage/kde-base/okular-9999/work/okular-9999/ui/pageview.cpp:4195
#11 0x00007fee5da6e5f5 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/okular-9999/work/okular-9999_build/pageview.moc:172
#12 PageView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/okular-9999/work/okular-9999_build/pageview.moc:149
#13 0x0000003d1db9351f in QMetaObject::activate (sender=0x2071470, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff34df0300) at kernel/qobject.cpp:3539
#14 0x0000003d1fa3406e in QAbstractSlider::valueChanged (this=<optimized out>, _t1=3490) at .moc/release-shared/moc_qabstractslider.cpp:196
#15 0x00007fee5da5ddf0 in PageView::slotScrollDown (this=0x207cc20, singleStep=singleStep@entry=false) at /var/tmp/portage/kde-base/okular-9999/work/okular-9999/ui/pageview.cpp:4551
#16 0x00007fee5da6e79d in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/okular-9999/work/okular-9999_build/pageview.moc:199
#17 PageView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/okular-9999/work/okular-9999_build/pageview.moc:149
#18 0x0000003d1db9351f in QMetaObject::activate (sender=0x212c940, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff34df04c0) at kernel/qobject.cpp:3539
#19 0x0000003d1f3d5af2 in QAction::triggered (this=this@entry=0x212c940, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#20 0x0000003d1f3d5cb8 in QAction::activate (this=0x212c940, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#21 0x0000003d1f3d5dff in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#22 0x0000003fa6179a77 in KAction::event (this=<optimized out>, event=0x7fff34df0a70) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/actions/kaction.cpp:131
#23 0x0000003d1f3dbe8c in QApplicationPrivate::notify_helper (this=this@entry=0x1c74b60, receiver=receiver@entry=0x212c940, e=e@entry=0x7fff34df0a70) at kernel/qapplication.cpp:4562
#24 0x0000003d1f3e02f6 in QApplication::notify (this=0x7fff34df2140, receiver=0x212c940, e=0x7fff34df0a70) at kernel/qapplication.cpp:3944
#25 0x0000003fa6254628 in KApplication::notify (this=0x7fff34df2140, receiver=0x212c940, event=0x7fff34df0a70) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#26 0x0000003d1db7dd4d in QCoreApplication::notifyInternal (this=0x7fff34df2140, receiver=0x212c940, event=0x7fff34df0a70) at kernel/qcoreapplication.cpp:946
#27 0x0000003d1f40ced0 in sendEvent (event=0x7fff34df0a70, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QShortcutMap::dispatchEvent (this=this@entry=0x1c74c80, e=e@entry=0x7fff34df1060) at kernel/qshortcutmap.cpp:884
#29 0x0000003d1f40e465 in QShortcutMap::tryShortcutEvent (this=0x1c74c80, o=<optimized out>, e=0x7fff34df1060) at kernel/qshortcutmap.cpp:364
#30 0x0000003d1f3e1f37 in QApplication::notify (this=0x7fff34df2140, receiver=0x207cc20, e=0x7fff34df1060) at kernel/qapplication.cpp:3986
#31 0x0000003fa6254628 in KApplication::notify (this=0x7fff34df2140, receiver=0x207cc20, event=0x7fff34df1060) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#32 0x0000003d1db7dd4d in QCoreApplication::notifyInternal (this=0x7fff34df2140, receiver=0x207cc20, event=0x7fff34df1060) at kernel/qcoreapplication.cpp:946
#33 0x0000003d1f478cd3 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x207cc20, grab=grab@entry=false, type=QEvent::KeyPress, code=32, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=18) at kernel/qkeymapper_x11.cpp:1866
#34 0x0000003d1f479099 in QKeyMapperPrivate::translateKeyEvent (this=0x1cbba50, keyWidget=0x207cc20, event=0x7fff34df1a60, grab=false) at kernel/qkeymapper_x11.cpp:1836
#35 0x0000003d1f4570e0 in QApplication::x11ProcessEvent (this=0x7fff34df2140, event=0x7fff34df1a60) at kernel/qapplication_x11.cpp:3532
#36 0x0000003d1f47cde2 in x11EventSourceDispatch (s=s@entry=0x1c76b00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x000000396f84a5b4 in g_main_dispatch (context=0x1c71940) at gmain.c:2539
#38 g_main_context_dispatch (context=context@entry=0x1c71940) at gmain.c:3075
#39 0x000000396f84a924 in g_main_context_iterate (context=context@entry=0x1c71940, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#40 0x000000396f84a9ec in g_main_context_iteration (context=0x1c71940, may_block=1) at gmain.c:3207
#41 0x0000003d1dbac764 in QEventDispatcherGlib::processEvents (this=0x1c4db30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x0000003d1f47caa6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x0000003d1db7ca4f in QEventLoop::processEvents (this=this@entry=0x7fff34df1e40, flags=...) at kernel/qeventloop.cpp:149
#44 0x0000003d1db7cd30 in QEventLoop::exec (this=0x7fff34df1e40, flags=...) at kernel/qeventloop.cpp:204
#45 0x0000003d1db81a08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#46 0x0000000000409085 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/okular-9999/work/okular-9999/shell/main.cpp:94

Reported using DrKonqi
Comment 1 Jure Repinc 2012-12-16 20:47:46 UTC
Created attachment 75873 [details]
crashy.pdf
Comment 2 Fabio D'Urso 2012-12-16 20:51:58 UTC
It works fine here. What is your git HEAD? Can you check if you have commit 5b8d51d66e877a33bb30ebb76322e678a81808b4?
Comment 3 Albert Astals Cid 2012-12-16 21:27:34 UTC
Waiting for info
Comment 4 Jure Repinc 2012-12-16 22:44:50 UTC
Ah yes, all fine after a compile from git, looks like I was just a few commits befor the fix. Sorry for the noise.
Comment 5 Fabio D'Urso 2012-12-16 23:06:13 UTC
No problem. Thank you for reporting

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