Bug 163840 - konqueror crashes when printing (khtml::RenderBlock::clearChildOfPageBreaks)
Summary: konqueror crashes when printing (khtml::RenderBlock::clearChildOfPageBreaks)
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 23:45 UTC by kavol
Modified: 2009-01-13 12:49 UTC (History)
2 users (show)

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


Attachments
the file I tried to print (3.69 KB, text/html)
2008-06-11 23:46 UTC, kavol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2008-06-11 23:45:03 UTC
Version:            (using KDE 4.0.5)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) 
OS:                Linux

Hi,

this is basically a duplicate of bug #143281, but since I have no rights to reopen it, I am filling a new report ...

I just tried to print another file, with page size set to A5 and left margin to 25 mm, otherwise using the defaults (i.e. all other margins were zero), and Konqueror 4.0.5 crashed just like it did before using version 3.5.9:

[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[KCrash handler]
#5  khtml::RenderBlock::clearChildOfPageBreaks (this=0xc8a6a0, child=0xc8a880, 
    pageBreakInfo=@0x7fff41946f10, marginInfo=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_block.cpp:1595
#6  0x00002b4b6d08b3ba in khtml::RenderBlock::layoutBlockChildren (
    this=0xc8a6a0, relayoutChildren=true)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_block.cpp:1532
#7  0x00002b4b6d08b832 in khtml::RenderBlock::layoutBlock (this=0xc8a6a0, 
    relayoutChildren=true)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_block.cpp:781
#8  0x00002b4b6d0d6f21 in khtml::RenderCanvas::layout (this=0xc8a6a0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_canvas.cpp:187
#9  0x00002b4b6cf85c33 in KHTMLView::print (this=0x9c1d20, quick=false)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_object.h:441
#10 0x00002b4b6cfdd1ea in KHTMLPartBrowserExtension::qt_metacall (
    this=0x6b4fe0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff419474d0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs_build/khtml/khtml_ext.moc:98
#11 0x00000030000f9ade in QMetaObject::activate (sender=<value optimized out>, 
    from_signal_index=<value optimized out>, 
    to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3001
#12 0x000000351d3906b9 in QAction::activated (this=<value optimized out>, 
    _t1=<value optimized out>) at .moc/release-shared/moc_qaction.cpp:236
#13 0x000000351d39214c in QAction::activate (this=<value optimized out>, 
    event=<value optimized out>) at kernel/qaction.cpp:1122
#14 0x000000351d62793c in QMenuPrivate::activateAction (
    this=<value optimized out>, action=<value optimized out>, 
    action_e=<value optimized out>, self=<value optimized out>)
    at widgets/qmenu.cpp:1005
#15 0x0000003f0bc65480 in KMenu::mouseReleaseEvent (
    this=<value optimized out>, e=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/kdeui/widgets/kmenu.cpp:423
#16 0x000000351d3d309e in QWidget::event (this=<value optimized out>, 
    event=<value optimized out>) at kernel/qwidget.cpp:6927
#17 0x000000351d6264f3 in QMenu::event (this=<value optimized out>, 
    e=<value optimized out>) at widgets/qmenu.cpp:2256
#18 0x000000351d399733 in QApplicationPrivate::notify_helper (
    this=<value optimized out>, receiver=<value optimized out>, 
    e=<value optimized out>) at kernel/qapplication.cpp:3772
#19 0x000000351d399cdb in QApplication::notify (this=<value optimized out>, 
    receiver=<value optimized out>, e=<value optimized out>)
    at kernel/qapplication.cpp:3501
#20 0x0000003f0bbca832 in KApplication::notify (this=<value optimized out>, 
    receiver=<value optimized out>, event=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/kdeui/kernel/kapplication.cpp:314
#21 0x00000030000ed238 in QCoreApplication::notifyInternal (
    this=<value optimized out>, receiver=<value optimized out>, 
    event=<value optimized out>) at kernel/qcoreapplication.cpp:587
#22 0x000000351d39ccfe in QCoreApplication::sendSpontaneousEvent (
    receiver=<value optimized out>, event=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 0x000000351d39b44a in QApplicationPrivate::sendMouseEvent (
    receiver=<value optimized out>, event=<value optimized out>, 
    alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at kernel/qapplication.cpp:2766
#24 0x000000351d3e1e0e in QETWidget::translateMouseEvent (
    this=<value optimized out>, event=<value optimized out>)
    at kernel/qapplication_x11.cpp:4067
#25 0x000000351d3e0f47 in QApplication::x11ProcessEvent (
    this=<value optimized out>, event=<value optimized out>)
    at kernel/qapplication_x11.cpp:3333
#26 0x000000351d3fef52 in QEventDispatcherX11::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventdispatcher_x11.cpp:134
#27 0x00000030000ec3f7 in QEventLoop::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventloop.cpp:149
#28 0x00000030000ec4ba in QEventLoop::exec (this=<value optimized out>, 
    flags=<value optimized out>) at kernel/qeventloop.cpp:200
#29 0x00000030000ee563 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#30 0x0000003f0caa3fb7 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /var/tmp/portage/kde-base/konqueror-4.0.4/work/konqueror-4.0.4/apps/konqueror/src/konqmain.cpp:218
#31 0x00000036eb61db74 in __libc_start_main () from /lib64/libc.so.6
#32 0x00000000004008d9 in __libc_csu_init ()
#33 0x00007fff41949e05 in ?? ()
#34 0x00007fff41949e21 in ?? ()
#35 0x0000000000000000 in ?? ()
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[KCrash handler]
#5  khtml::RenderBlock::clearChildOfPageBreaks (this=0xc8a6a0, child=0xc8a880, 
    pageBreakInfo=@0x7fff41946f10, marginInfo=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_block.cpp:1595
#6  0x00002b4b6d08b3ba in khtml::RenderBlock::layoutBlockChildren (
    this=0xc8a6a0, relayoutChildren=true)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_block.cpp:1532
#7  0x00002b4b6d08b832 in khtml::RenderBlock::layoutBlock (this=0xc8a6a0, 
    relayoutChildren=true)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_block.cpp:781
#8  0x00002b4b6d0d6f21 in khtml::RenderCanvas::layout (this=0xc8a6a0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_canvas.cpp:187
#9  0x00002b4b6cf85c33 in KHTMLView::print (this=0x9c1d20, quick=false)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/khtml/rendering/render_object.h:441
#10 0x00002b4b6cfdd1ea in KHTMLPartBrowserExtension::qt_metacall (
    this=0x6b4fe0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff419474d0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs_build/khtml/khtml_ext.moc:98
#11 0x00000030000f9ade in QMetaObject::activate (sender=<value optimized out>, 
    from_signal_index=<value optimized out>, 
    to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3001
#12 0x000000351d3906b9 in QAction::activated (this=<value optimized out>, 
    _t1=<value optimized out>) at .moc/release-shared/moc_qaction.cpp:236
#13 0x000000351d39214c in QAction::activate (this=<value optimized out>, 
    event=<value optimized out>) at kernel/qaction.cpp:1122
#14 0x000000351d62793c in QMenuPrivate::activateAction (
    this=<value optimized out>, action=<value optimized out>, 
    action_e=<value optimized out>, self=<value optimized out>)
    at widgets/qmenu.cpp:1005
#15 0x0000003f0bc65480 in KMenu::mouseReleaseEvent (
    this=<value optimized out>, e=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/kdeui/widgets/kmenu.cpp:423
#16 0x000000351d3d309e in QWidget::event (this=<value optimized out>, 
    event=<value optimized out>) at kernel/qwidget.cpp:6927
#17 0x000000351d6264f3 in QMenu::event (this=<value optimized out>, 
    e=<value optimized out>) at widgets/qmenu.cpp:2256
#18 0x000000351d399733 in QApplicationPrivate::notify_helper (
    this=<value optimized out>, receiver=<value optimized out>, 
    e=<value optimized out>) at kernel/qapplication.cpp:3772
#19 0x000000351d399cdb in QApplication::notify (this=<value optimized out>, 
    receiver=<value optimized out>, e=<value optimized out>)
    at kernel/qapplication.cpp:3501
#20 0x0000003f0bbca832 in KApplication::notify (this=<value optimized out>, 
    receiver=<value optimized out>, event=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.0.5/work/kdelibs-4.0.5/kdeui/kernel/kapplication.cpp:314
#21 0x00000030000ed238 in QCoreApplication::notifyInternal (
    this=<value optimized out>, receiver=<value optimized out>, 
    event=<value optimized out>) at kernel/qcoreapplication.cpp:587
#22 0x000000351d39ccfe in QCoreApplication::sendSpontaneousEvent (
    receiver=<value optimized out>, event=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 0x000000351d39b44a in QApplicationPrivate::sendMouseEvent (
    receiver=<value optimized out>, event=<value optimized out>, 
    alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at kernel/qapplication.cpp:2766
#24 0x000000351d3e1e0e in QETWidget::translateMouseEvent (
    this=<value optimized out>, event=<value optimized out>)
    at kernel/qapplication_x11.cpp:4067
#25 0x000000351d3e0f47 in QApplication::x11ProcessEvent (
    this=<value optimized out>, event=<value optimized out>)
    at kernel/qapplication_x11.cpp:3333
#26 0x000000351d3fef52 in QEventDispatcherX11::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventdispatcher_x11.cpp:134
#27 0x00000030000ec3f7 in QEventLoop::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventloop.cpp:149
#28 0x00000030000ec4ba in QEventLoop::exec (this=<value optimized out>, 
    flags=<value optimized out>) at kernel/qeventloop.cpp:200
#29 0x00000030000ee563 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#30 0x0000003f0caa3fb7 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /var/tmp/portage/kde-base/konqueror-4.0.4/work/konqueror-4.0.4/apps/konqueror/src/konqmain.cpp:218
#31 0x00000036eb61db74 in __libc_start_main () from /lib64/libc.so.6
#32 0x00000000004008d9 in __libc_csu_init ()
#33 0x00007fff41949e05 in ?? ()
#34 0x00007fff41949e21 in ?? ()
#35 0x0000000000000000 in ?? ()
Comment 1 kavol 2008-06-11 23:46:04 UTC
Created attachment 25278 [details]
the file I tried to print
Comment 2 Dario Andres 2008-11-29 19:45:40 UTC
Here (KDE 4.1.3 on ArchLinux x86_64): I can't reproduce this bug.
Have you experienced this bug again with a recent KDE version? (4.1.3 / 4.2beta1 / 4.2svn) ? Thanks :)
Comment 3 Dario Andres 2009-01-13 12:49:21 UTC
No news from the bug reporter, closing. Please reopen this bug report if you experience the same bug again with a recent KDE (4.1.4 / 4.2beta2 / 4.2rc1 / 4.2svn / 4.3svn) . Thanks :)