[Okular-devel] [Bug 275203] New: okular crashes when reading some *.chm files

Mihail Kasadjikov hamer.mk at gmail.com
Wed Jun 8 13:48:32 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=275203

           Summary: okular crashes when reading some *.chm files
           Product: okular
           Version: 0.10.5
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: hamer.mk at gmail.com


Application: okular (0.10.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.38.7-zen+ x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
I have a "Windows Script 5.6 Documentation" in CHM file "script56.chm"
downloaded from microsoft's web site. When I open it the okular shows his
content normally but crashes after few pages. The length of script56.chm is
1351013 bytes and it contains about 1192 html parts.

The crash can be reproduced every time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f3c751743c8 in khtml::InlineFlowBox::paint (this=0x14061d0, i=...,
tx=309, ty=222) at ../../khtml/rendering/render_line.cpp:878
#6  0x00007f3c751744f9 in khtml::RootInlineBox::paint (this=0x14061d0, i=...,
tx=309, ty=222) at ../../khtml/rendering/render_line.cpp:1181
#7  0x00007f3c7513635e in khtml::RenderFlow::paintLines (this=<value optimized
out>, i=..., _tx=309, _ty=222) at ../../khtml/rendering/render_flow.cpp:390
#8  0x00007f3c75111c2e in khtml::RenderBlock::paintObject (this=0x1405728,
pI=..., _tx=309, _ty=222, shouldPaintOutline=true) at
../../khtml/rendering/render_block.cpp:1794
#9  0x00007f3c75111d59 in khtml::RenderBlock::paintObject (this=0x1405648,
pI=..., _tx=306, _ty=219, shouldPaintOutline=false) at
../../khtml/rendering/render_block.cpp:1798
#10 0x00007f3c751471ba in khtml::RenderTableSection::paint (this=0x1405368,
pI=..., tx=10, ty=132) at ../../khtml/rendering/render_table.cpp:1938
#11 0x00007f3c7514e4f5 in khtml::RenderTable::paint (this=0x1405258, pI=...,
_tx=10, _ty=132) at ../../khtml/rendering/render_table.cpp:497
#12 0x00007f3c75111d59 in khtml::RenderBlock::paintObject (this=0x1404ae8,
pI=..., _tx=10, _ty=22, shouldPaintOutline=true) at
../../khtml/rendering/render_block.cpp:1798
#13 0x00007f3c75111d59 in khtml::RenderBlock::paintObject (this=0x14046d8,
pI=..., _tx=10, _ty=22, shouldPaintOutline=true) at
../../khtml/rendering/render_block.cpp:1798
#14 0x00007f3c75111d59 in khtml::RenderBlock::paintObject (this=0x1404558,
pI=..., _tx=0, _ty=0, shouldPaintOutline=true) at
../../khtml/rendering/render_block.cpp:1798
#15 0x00007f3c7513fbc3 in khtml::RenderLayer::paintLayer (this=0x1404620,
rootLayer=0x14044a0, p=0x7fff706b32e0, paintDirtyRect=..., selectionOnly=false)
at ../../khtml/rendering/render_layer.cpp:1110
#16 0x00007f3c7513fa93 in khtml::RenderLayer::paintLayer (this=0x14044a0,
rootLayer=0x14044a0, p=0x7fff706b32e0, paintDirtyRect=..., selectionOnly=false)
at ../../khtml/rendering/render_layer.cpp:1135
#17 0x00007f3c74fea216 in KHTMLView::paint (this=0x1354d10, p=0x7fff706b32e0,
rc=..., yOff=0, more=0x7fff706b32ff) at ../../khtml/khtmlview.cpp:3401
#18 0x00007f3c75960f33 in ?? () from /usr/lib/kde4/okularGenerator_chmlib.so
#19 0x00007f3c75961140 in ?? () from /usr/lib/kde4/okularGenerator_chmlib.so
#20 0x00007f3c840fd18f in QMetaObject::activate (sender=0x130d660, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3278
#21 0x00007f3c74ff8bc6 in KHTMLView::timerEvent (this=0x1354d10, e=<value
optimized out>) at ../../khtml/khtmlview.cpp:4257
#22 0x00007f3c840fbd19 in QObject::event (this=0x1354d10, e=<value optimized
out>) at kernel/qobject.cpp:1181
#23 0x00007f3c834da22d in QWidget::event (this=0x1354d10, event=0x7fff706b4050)
at kernel/qwidget.cpp:8718
#24 0x00007f3c83885f26 in QFrame::event (this=0x1354d10, e=0x7fff706b4050) at
widgets/qframe.cpp:557
#25 0x00007f3c839072ab in QAbstractScrollArea::event (this=0x1354d10,
e=0x7fff706b4050) at widgets/qabstractscrollarea.cpp:996
#26 0x00007f3c74fee663 in KHTMLView::event (this=0x1354d10, e=0x7fff706b4050)
at ../../khtml/khtmlview.cpp:552
#27 0x00007f3c83488dd4 in QApplicationPrivate::notify_helper (this=0xd35770,
receiver=0x1354d10, e=0x7fff706b4050) at kernel/qapplication.cpp:4467
#28 0x00007f3c8348d94a in QApplication::notify (this=<value optimized out>,
receiver=0x1354d10, e=0x7fff706b4050) at kernel/qapplication.cpp:4346
#29 0x00007f3c84d3d4c6 in KApplication::notify (this=0x7fff706b4390,
receiver=0x1354d10, event=0x7fff706b4050) at
../../kdeui/kernel/kapplication.cpp:302
#30 0x00007f3c840e7c8c in QCoreApplication::notifyInternal
(this=0x7fff706b4390, receiver=0x1354d10, event=0x7fff706b4050) at
kernel/qcoreapplication.cpp:731
#31 0x00007f3c841158ce in sendEvent (this=0xd394d0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QTimerInfoList::activateTimers (this=0xd394d0) at
kernel/qeventdispatcher_unix.cpp:604
#33 0x00007f3c84112694 in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:184
#34 0x00007f3c7f17a4a3 in g_main_dispatch (context=0xd37990) at
/tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#35 g_main_context_dispatch (context=0xd37990) at
/tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#36 0x00007f3c7f17ac80 in g_main_context_iterate (context=0xd37990, block=1,
dispatch=1, self=<value optimized out>) at
/tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#37 0x00007f3c7f17af1d in g_main_context_iteration (context=0xd37990,
may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#38 0x00007f3c84112d8f in QEventDispatcherGlib::processEvents (this=0xd1e9d0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f3c8352f5fe in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f3c840e7022 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f3c840e726c in QEventLoop::exec (this=0x7fff706b42e0, flags=...) at
kernel/qeventloop.cpp:201
#42 0x00007f3c840eb76b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#43 0x000000000040885c in _start ()

Possible duplicates by query: bug 169672, bug 139005.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list