Bug 178539 - Crash with chm files.
Summary: Crash with chm files.
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: CHM backend (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 190239 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-23 04:29 UTC by Mikhael
Modified: 2009-04-21 13:07 UTC (History)
4 users (show)

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 Mikhael 2008-12-23 04:29:14 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Fedora RPMs

Application: Okular (okular), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7fba770 (LWP 5796)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x00f3b2e7 in Okular::Page::deletePixmap ()
   from /usr/lib/libokularcore.so.1
#7  0x00f1e727 in Okular::Document::removeObserver ()
   from /usr/lib/libokularcore.so.1
#8  0x00e30fa0 in ?? () from /usr/lib/kde4/okularpart.so
#9  0x0804e5aa in _start ()
Comment 1 Dario Andres 2008-12-23 12:34:01 UTC
Can you attach the chm file that crashes your Okular ? Thanks :)
Comment 2 Jaroslav Franek 2008-12-28 22:05:15 UTC
Probably the same issue, see the backtrace. To trigger the issue open any chm file and before it is displayed close the Ocular. Result: signal 11 and crash.

Fedora 10, KDE 4.1.3

Application: Okular (okular), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb8016770 (LWP 9691)]
[KCrash handler]
#6  Okular::Page::deletePixmap (this=0x0, id=2)
    at /usr/src/debug/kdegraphics-4.1.3/okular/core/page.cpp:620
#7  0x08ad2727 in Okular::Document::removeObserver (this=0x9c60c68, 
    pObserver=0x9c0e3d8)
    at /usr/src/debug/kdegraphics-4.1.3/okular/core/document.cpp:1729
#8  0x01008fa0 in ~Part (this=0x9c0e3c8)
    at /usr/src/debug/kdegraphics-4.1.3/okular/part.cpp:568
#9  0x0804e5aa in ~Shell (this=0x9bb2038)
    at /usr/src/debug/kdegraphics-4.1.3/okular/shell/shell.cpp:121
#10 0x06a8a17c in qDeleteInEventHandler (o=0x2) at kernel/qobject.cpp:3659
#11 0x06a8bb33 in QObject::event (this=0x9bb2038, e=0xa3cc3d8)
    at kernel/qobject.cpp:1139
#12 0x06df2d34 in QWidget::event (this=0x9bb2038, event=0xa3cc3d8)
    at kernel/qwidget.cpp:7551
#13 0x07145b07 in QMainWindow::event (this=0x9bb2038, event=0xa3cc3d8)
    at widgets/qmainwindow.cpp:1268
#14 0x07a0f7e8 in KMainWindow::event (this=0x9bb2038, ev=0xa3cc3d8)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/widgets/kmainwindow.cpp:1073
#15 0x07a511bc in KXmlGuiWindow::event (this=0x9bb2038, ev=0xa3cc3d8)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/xmlgui/kxmlguiwindow.cpp:133
#16 0x06d9b62c in QApplicationPrivate::notify_helper (this=0x9b33ae0, 
    receiver=0x9bb2038, e=0xa3cc3d8) at kernel/qapplication.cpp:3803
#17 0x06da353a in QApplication::notify (this=0xbfb43d58, receiver=0x9bb2038, 
    e=0xa3cc3d8) at kernel/qapplication.cpp:3768
#18 0x0794a71d in KApplication::notify (this=0xbfb43d58, receiver=0x9bb2038, 
    event=0xa3cc3d8)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#19 0x06a7c1c1 in QCoreApplication::notifyInternal (this=0xbfb43d58, 
    receiver=0x9bb2038, event=0xa3cc3d8) at kernel/qcoreapplication.cpp:587
#20 0x06a7ce45 in QCoreApplication::sendEvent ()
    at ../../src/corelib/kernel/qcoreapplication.h:209
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, 
    data=0x9b2a4b8) at kernel/qcoreapplication.cpp:1198
#22 0x06a7d03d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#23 0x06aa6baf in QCoreApplication::sendPostedEvents ()
    at ../../src/corelib/kernel/qcoreapplication.h:214
#24 postEventSourceDispatch (s=0x9b35ed8)
    at kernel/qeventdispatcher_glib.cpp:205
#25 0x005a4238 in g_main_dispatch () at gmain.c:2144
#26 IA__g_main_context_dispatch (context=0x9b35e58) at gmain.c:2697
#27 0x005a78e3 in g_main_context_iterate (context=0x9b35e58, block=1, 
    dispatch=1, self=0x9b339d0) at gmain.c:2778
#28 0x005a7aa1 in IA__g_main_context_iteration (context=0x9b35e58, 
    may_block=1) at gmain.c:2841
#29 0x06aa67f8 in QEventDispatcherGlib::processEvents (this=0x9b33c28, flags=
      {i = 4}) at kernel/qeventdispatcher_glib.cpp:319
#30 0x06e34485 in QGuiEventDispatcherGlib::processEvents (this=0x9b33c28, 
    flags={i = 4}) at kernel/qguieventdispatcher_glib.cpp:198
#31 0x06a7a88a in QEventLoop::processEvents (this=0xbfb42ee8, flags={i = 4})
    at kernel/qeventloop.cpp:143
#32 0x06a7aa4a in QEventLoop::exec (this=0xbfb42ee8, flags={i = 0})
    at kernel/qeventloop.cpp:194
#33 0x0292cace in CHMGenerator::preparePageForSyncOperation (this=0x9eb2e88, 
    zoom=100, url=@0x9f23a0c)
    at /usr/src/debug/kdegraphics-4.1.3/okular/generators/chm/generator_chm.cpp:170
#34 0x0292da04 in CHMGenerator::loadDocument (this=0x9eb2e88, 
    fileName=@0xbfb43448, pagesVector=@0x9c6296c)
    at /usr/src/debug/kdegraphics-4.1.3/okular/generators/chm/generator_chm.cpp:133
#35 0x08ae290c in Okular::Document::openDocument (this=0x9c60c68, 
    docFile=@0xbfb43448, url=@0xbfb433c8, _mime=@0xbfb43468)
    at /usr/src/debug/kdegraphics-4.1.3/okular/core/document.cpp:1473
#36 0x0100ae5d in Part::openFile (this=0x9c0e3c8)
    at /usr/src/debug/kdegraphics-4.1.3/okular/part.cpp:845
#37 0x07f67cf3 in KParts::ReadOnlyPart::openUrl (this=0x9c0e3c8, 
    url=@0x9bb2088) at /usr/src/debug/kdelibs-4.1.3/kparts/part.cpp:557
#38 0x010056ec in Part::openUrl (this=0x9c0e3c8, url=@0x9bb2088)
    at /usr/src/debug/kdegraphics-4.1.3/okular/part.cpp:940
#39 0x0804e8a7 in Shell::openUrl (this=0x9bb2038, url=@0x9bb2088, page=0)
    at /usr/src/debug/kdegraphics-4.1.3/okular/shell/shell.cpp:132
#40 0x0804e9ab in Shell::delayedOpen (this=0x9bb2038)
    at /usr/src/debug/kdegraphics-4.1.3/okular/shell/shell.cpp:115
#41 0x0804fc4b in Shell::qt_metacall (this=0x9bb2038, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb43658)
    at /usr/src/debug/kdegraphics-4.1.3/i386-redhat-linux-gnu/okular/shell/shell.moc:90
#42 0x06a90df0 in QMetaObject::activate (sender=0x9ead698, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3031
#43 0x06a91b72 in QMetaObject::activate (sender=0x9ead698, m=0x6b62368, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#44 0x06a97147 in QSingleShotTimer::timeout (this=0x9ead698)
    at .moc/release-shared/qtimer.moc:74
#45 0x06a9726c in QSingleShotTimer::timerEvent (this=0x9ead698)
    at kernel/qtimer.cpp:294
#46 0x06a8b8cf in QObject::event (this=0x9ead698, e=0xbfb43aec)
    at kernel/qobject.cpp:1120
#47 0x06d9b62c in QApplicationPrivate::notify_helper (this=0x9b33ae0, 
    receiver=0x9ead698, e=0xbfb43aec) at kernel/qapplication.cpp:3803
#48 0x06da346e in QApplication::notify (this=0xbfb43d58, receiver=0x9ead698, 
    e=0xbfb43aec) at kernel/qapplication.cpp:3393
#49 0x0794a71d in KApplication::notify (this=0xbfb43d58, receiver=0x9ead698, 
    event=0xbfb43aec)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#50 0x06a7c1c1 in QCoreApplication::notifyInternal (this=0xbfb43d58, 
    receiver=0x9ead698, event=0xbfb43aec) at kernel/qcoreapplication.cpp:587
#51 0x06aaa081 in QCoreApplication::sendEvent ()
    at ../../src/corelib/kernel/qcoreapplication.h:209
#52 QTimerInfoList::activateTimers (this=0x9b36964)
    at kernel/qeventdispatcher_unix.cpp:557
#53 0x06aa68a0 in timerSourceDispatch (source=0x9b36930)
    at kernel/qeventdispatcher_glib.cpp:160
#54 0x005a4238 in g_main_dispatch () at gmain.c:2144
#55 IA__g_main_context_dispatch (context=0x9b35e58) at gmain.c:2697
#56 0x005a78e3 in g_main_context_iterate (context=0x9b35e58, block=1, 
    dispatch=1, self=0x9b339d0) at gmain.c:2778
#57 0x005a7aa1 in IA__g_main_context_iteration (context=0x9b35e58, 
    may_block=1) at gmain.c:2841
#58 0x06aa67f8 in QEventDispatcherGlib::processEvents (this=0x9b33c28, flags=
      {i = 4}) at kernel/qeventdispatcher_glib.cpp:319
#59 0x06e34485 in QGuiEventDispatcherGlib::processEvents (this=0x9b33c28, 
    flags={i = 4}) at kernel/qguieventdispatcher_glib.cpp:198
#60 0x06a7a88a in QEventLoop::processEvents (this=0xbfb43d10, flags={i = 4})
    at kernel/qeventloop.cpp:143
#61 0x06a7aa4a in QEventLoop::exec (this=0xbfb43d10, flags={i = 0})
    at kernel/qeventloop.cpp:194
#62 0x06a7d105 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#63 0x06d9b4a7 in QApplication::exec () at kernel/qapplication.cpp:3331
#64 0x0804d98f in main (argc=168790512, argv=0xa0f89f0)
    at /usr/src/debug/kdegraphics-4.1.3/okular/shell/main.cpp:58
Comment 3 Cristi 2009-01-10 11:10:32 UTC
similar here:
Application: Okular (okular), signal SIGSEGV
0x00007fd123ccbd90 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7fd1275dd750 (LWP 2342)):
[KCrash Handler]                            
#5  Okular::Page::deletePixmap (this=0x0, id=2) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/core/page.cpp:620
#6  0x00007fd11d2212a9 in Okular::Document::removeObserver (this=0x15f0ce0, pObserver=<value optimized out>) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/core/document.cpp:1843                                                            
#7  0x00007fd11d4dfa9f in ~Part (this=0x1595180) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/part.cpp:590     
#8  0x0000000000409813 in ~Shell (this=0x1590ce0) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/shell/shell.cpp:125                                                                                                                          
#9  0x00007fd1255fae4d in QObject::event (this=0x1590ce0, e=0x2) at kernel/qobject.cpp:1136                                  
#10 0x00007fd124910ff6 in QWidget::event (this=0x1590ce0, event=0x1838880) at kernel/qwidget.cpp:7557                        
#11 0x00007fd124c4e90b in QMainWindow::event (this=0x1590ce0, event=0x1838880) at widgets/qmainwindow.cpp:1274               
#12 0x00007fd1264c83e0 in KXmlGuiWindow::event (this=0x0, ev=0x2) at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/xmlgui/kxmlguiwindow.cpp:131                                                                                            
#13 0x00007fd1248b9f5d in QApplicationPrivate::notify_helper (this=0x14f3e60, receiver=0x1590ce0, e=0x1838880) at kernel/qapplication.cpp:3809                                                                                                            
#14 0x00007fd1248c0d9e in QApplication::notify (this=0x7fff2f61dc10, receiver=0x1590ce0, e=0x1838880) at kernel/qapplication.cpp:3774                                                                                                                     
#15 0x00007fd1263e26c6 in KApplication::notify (this=0x7fff2f61dc10, receiver=0x1590ce0, event=0x1838880) at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/kernel/kapplication.cpp:307                                                     
#16 0x00007fd1255eac2e in QCoreApplication::notifyInternal (this=0x7fff2f61dc10, receiver=0x1590ce0, event=0x1838880) at kernel/qcoreapplication.cpp:593                                                                                                  
#17 0x00007fd1255ebbeb in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14e1a60) at kernel/qcoreapplication.h:215                                                                                                         
#18 0x00007fd125615ab3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:220                 
#19 0x00007fd1212ae031 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0                                          
#20 0x00007fd1212b170d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0                                           
#21 0x00007fd1212b18cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0                                         
#22 0x00007fd1256157ff in QEventDispatcherGlib::processEvents (this=0x14f3d80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325                                                                                                       
#23 0x00007fd12494ea0f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204                                                                                                       
#24 0x00007fd1255e9832 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 794931600}) at kernel/qeventloop.cpp:149                                                                                                                      
#25 0x00007fd1255e99bd in QEventLoop::exec (this=0x7fff2f61b1e0, flags={i = 794931760}) at kernel/qeventloop.cpp:200         
#26 0x00007fd1175a32c9 in CHMGenerator::preparePageForSyncOperation (this=0x1adc080, zoom=100, url=@0x1b5f130)               
    at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/generators/chm/generator_chm.cpp:170                          
#27 0x00007fd1175a396c in CHMGenerator::loadDocument (this=0x1adc080, fileName=@0x1adc098, pagesVector=@0x15f0f08)           
    at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/generators/chm/generator_chm.cpp:133                          
#28 0x00007fd11d224ea7 in Okular::DocumentPrivate::openDocumentInternal (this=0x15f0dd0, offer=@0x0, isstdin=false, docFile=@0x7fff2f61bd70, filedata=@0x7fff2f61b8f0)                                                                                    
    at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/core/document.cpp:643                                         
#29 0x00007fd11d229159 in Okular::Document::openDocument (this=0x15f0ce0, docFile=@0x7fff2f61bd70, url=<value optimized out>, _mime=<value optimized out>)                                                                                                
    at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/core/document.cpp:1593                                        
#30 0x00007fd11d4ddf12 in Part::openFile (this=0x1595180) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/part.cpp:874                                                                                                                         
#31 0x00007fd1271d993e in KParts::ReadOnlyPart::openUrl (this=0x1595180, url=@0x7fff2f61bf70) at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kparts/part.cpp:558                                                                               
#32 0x00007fd11d4df306 in Part::openUrl (this=0x0, url=@0x2) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/part.cpp:970                                                                                                                      
#33 0x0000000000409388 in Shell::openUrl (this=0x1590ce0, url=@0x7fff2f61c120, page=0) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/shell/shell.cpp:136                                                                                     
#34 0x0000000000409645 in Shell::fileOpen (this=0x1590ce0) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/shell/shell.cpp:256                                                                                                                 
#35 0x0000000000409a88 in Shell::qt_metacall (this=0x1590ce0, _c=QMetaObject::InvokeMetaMethod, _id=28704688, _a=0x7fff2f61c340)                                                                                                                          
    at /var/tmp/paludis/kde-base-okular-scm/work/okular_build/okular/shell/shell.moc:85                                      
#36 0x00007fd125601d3c in QMetaObject::activate (sender=0x175e2e0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0) at kernel/qobject.cpp:3028                                                                                       
#37 0x00007fd1248b3e57 in QAction::triggered (this=0x0, _t1=false) at .moc/debug-shared/moc_qaction.cpp:216                  
#38 0x00007fd1248b45f4 in QAction::activate (this=0x175e2e0, event=<value optimized out>) at kernel/qaction.cpp:1131         
#39 0x00007fd124c78495 in QMenuPrivate::activateAction (this=0x1785230, action=0x175e2e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1008                                                                                                 
#40 0x00007fd126497154 in KMenu::mouseReleaseEvent (this=0x15a2f90, e=0x7fff2f61cfc0) at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/widgets/kmenu.cpp:454                                                                               
#41 0x00007fd124911939 in QWidget::event (this=0x15a2f90, event=0x7fff2f61cfc0) at kernel/qwidget.cpp:7169                   
#42 0x00007fd124c7ad33 in QMenu::event (this=0x15a2f90, e=0x7fff2f61cfc0) at widgets/qmenu.cpp:2271                          
#43 0x00007fd1248b9f5d in QApplicationPrivate::notify_helper (this=0x14f3e60, receiver=0x15a2f90, e=0x7fff2f61cfc0) at kernel/qapplication.cpp:3809                                                                                                       
#44 0x00007fd1248c15e4 in QApplication::notify (this=<value optimized out>, receiver=0x15a2f90, e=0x7fff2f61cfc0) at kernel/qapplication.cpp:3534                                                                                                         
#45 0x00007fd1263e26c6 in KApplication::notify (this=0x7fff2f61dc10, receiver=0x15a2f90, event=0x7fff2f61cfc0)               
    at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/kernel/kapplication.cpp:307                              
#46 0x00007fd1255eac2e in QCoreApplication::notifyInternal (this=0x7fff2f61dc10, receiver=0x15a2f90, event=0x7fff2f61cfc0) at kernel/qcoreapplication.cpp:593                                                                                             
#47 0x00007fd1248c2a22 in QApplicationPrivate::sendMouseEvent (receiver=0x15a2f90, event=0x7fff2f61cfc0, alienWidget=0x0, nativeWidget=0x15a2f90, buttonDown=<value optimized out>,                                                                       
    lastMouseReceiver=@0x7fd12527a750) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218               
#48 0x00007fd12492ae5c in QETWidget::translateMouseEvent (this=0x15a2f90, event=<value optimized out>) at kernel/qapplication_x11.cpp:3982                                                                                                                
#49 0x00007fd1249296ec in QApplication::x11ProcessEvent (this=0x7fff2f61dc10, event=0x7fff2f61d890) at kernel/qapplication_x11.cpp:3166                                                                                                                   
#50 0x00007fd12494f29c in x11EventSourceDispatch (s=0x14f76c0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#51 0x00007fd1212ae031 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0x00007fd1212b170d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#53 0x00007fd1212b18cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0x00007fd1256157ff in QEventDispatcherGlib::processEvents (this=0x14f3d80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#55 0x00007fd12494ea0f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007fd1255e9832 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 794942336}) at kernel/qeventloop.cpp:149
#57 0x00007fd1255e99bd in QEventLoop::exec (this=0x7fff2f61dbc0, flags={i = 794942416}) at kernel/qeventloop.cpp:200
#58 0x00007fd1255ebefd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#59 0x000000000040846d in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/paludis/kde-base-okular-scm/work/okular/okular/shell/main.cpp:81
Comment 4 Pino Toscano 2009-01-12 16:43:43 UTC
This happens because we start an event loop for each page we render during the loading phase (waiting for KHTML): events that come in the middle of the loading (like events for "Ctrl+Q" for similar) get through the local event loop and get dispatched, giving problems as this could cause the closing of the document.

This is the problem, but not sure how to solve that. Ideas welcome.
Comment 5 Pino Toscano 2009-02-03 22:06:52 UTC
SVN commit 920833 by pino:

Backport: really exclude user input while doing the sync loading of the HTML documents.
Will be in KDE 4.2.1.
CCBUG: 178539


 M  +6 -2      generator_chm.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=920833
Comment 6 Pino Toscano 2009-02-03 22:07:01 UTC
SVN commit 920831 by pino:

Really exclude user input while doing the sync loading of the HTML documents.
(And disable/enable a connection correctly.)
BUG: 178539


 M  +6 -2      generator_chm.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=920831
Comment 7 Pino Toscano 2009-04-21 13:07:19 UTC
*** Bug 190239 has been marked as a duplicate of this bug. ***