Bug 235122

Summary: okular crashes while LaTeX recompile pdf and okular scrolls through old one
Product: [Applications] okular Reporter: Christian Herzberg <mailchrisch>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Herzberg 2010-04-23 00:06:19 UTC
Application that crashed: okular
Version of the application: 0.9.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-2.slh.6-sidux-686 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
LaTeX recompiled the PDF still open in okular. Before the Compiling ends I switch to okular and scroll up to the first page. Then Okular crashes.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  QMap<int, Okular::PagePrivate::PixmapObject>::findNode (this=0x8a4b118, id=3, width=1497, height=2118) at /usr/include/qt4/QtCore/qmap.h:431
#7  QMap<int, Okular::PagePrivate::PixmapObject>::constFind (this=0x8a4b118, id=3, width=1497, height=2118) at /usr/include/qt4/QtCore/qmap.h:559
#8  Okular::Page::hasPixmap (this=0x8a4b118, id=3, width=1497, height=2118) at ../../okular/core/page.cpp:203
#9  0xb3c6fd52 in Okular::DocumentPrivate::sendGeneratorRequest (this=0x867e0a0) at ../../okular/core/document.cpp:837
#10 0xb3c75900 in Okular::Document::qt_metacall (this=0x86720d0, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfc24c8c) at ./document.moc:145
#11 0xb6d8faea in QMetaObject::metacall (object=0x86720d0, cl=11744, idx=23, argv=0xbfc24c8c) at kernel/qmetaobject.cpp:237
#12 0xb6d9e0b5 in QMetaObject::activate (sender=0x8a626e0, m=0xb6e9c2e8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#13 0xb6da5d17 in QSingleShotTimer::timeout (this=0x8a626e0) at .moc/release-shared/qtimer.moc:82
#14 0xb6da5e2c in QSingleShotTimer::timerEvent (this=0x8a626e0) at kernel/qtimer.cpp:308
#15 0xb6d9af34 in QObject::event (this=0x8a626e0, e=0x3) at kernel/qobject.cpp:1212
#16 0xb62d1bec in QApplicationPrivate::notify_helper (this=0x85a58a8, receiver=0x8a626e0, e=0xbfc251c0) at kernel/qapplication.cpp:4300
#17 0xb62d875e in QApplication::notify (this=0xbfc25588, receiver=0x8a626e0, e=0xbfc251c0) at kernel/qapplication.cpp:3704
#18 0xb7336e2a in KApplication::notify (this=0xbfc25588, receiver=0x8a626e0, event=0xbfc251c0) at ../../kdeui/kernel/kapplication.cpp:302
#19 0xb6d8a8eb in QCoreApplication::notifyInternal (this=0xbfc25588, receiver=0x8a626e0, event=0xbfc251c0) at kernel/qcoreapplication.cpp:704
#20 0xb6db9946 in QCoreApplication::sendEvent (this=0x85a8a74) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x85a8a74) at kernel/qeventdispatcher_unix.cpp:603
#22 0xb6db6604 in timerSourceDispatch (source=0x85a8a40) at kernel/qeventdispatcher_glib.cpp:184
#23 0xb59dc2e5 in g_main_dispatch (context=0x85a7c90) at /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/gmain.c:1960
#24 IA__g_main_context_dispatch (context=0x85a7c90) at /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/gmain.c:2513
#25 0xb59e0000 in g_main_context_iterate (context=0x85a7c90, block=<value optimized out>, dispatch=1, self=0x859d250) at /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/gmain.c:2591
#26 0xb59e0198 in IA__g_main_context_iteration (context=0x85a7c90, may_block=1) at /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/gmain.c:2654
#27 0xb6db62f5 in QEventDispatcherGlib::processEvents (this=0x8591358, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#28 0xb6390255 in QGuiEventDispatcherGlib::processEvents (this=0x8591358, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0xb6d88f09 in QEventLoop::processEvents (this=0xbfc25484, flags=) at kernel/qeventloop.cpp:149
#30 0xb6d8935a in QEventLoop::exec (this=0xbfc25484, flags=...) at kernel/qeventloop.cpp:201
#31 0xb6d8d4ef in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#32 0xb62d1c87 in QApplication::exec () at kernel/qapplication.cpp:3579
#33 0x0804ef79 in main (argc=2, argv=0xbfc25754) at ../../../okular/shell/main.cpp:81

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

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-04-23 00:14:32 UTC
I'm closing this as "fixed" because a lot of fixes for reload got into the KDE 4.4.x releases and it's not easy/possible to know if your case is a duplicate of those or not, please if you update KDE >= 4.4.2 and you still get crashes please open a new bug.

Thanks for using Okular :-)
Comment 2 Christian Herzberg 2010-04-23 00:28:20 UTC
Thanks a lot Albert for your very fast answer. 

Yes I see a few bug which are surely dublicates:
bug 228754
bug 234324
bug 218895

Sorry for that, I thought of DrKonqi would show my an overview of all collected
infos, but it sent the report. Writing the first version of this comment you overtake with you comment. Fast as usual ;-)

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