Bug 143281 - konqui crashes on printing to pdf (and sending)
Summary: konqui crashes on printing to pdf (and sending)
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml printing (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 146788 155017 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-21 12:16 UTC by m.wege
Modified: 2008-12-05 15:32 UTC (History)
4 users (show)

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


Attachments
a2ps_-P_display_-1_--medium=A4_--prologue=matrix_.etc.cups.mime.types.png (91.98 KB, image/png)
2007-03-23 02:52 UTC, Kurt Pfeifle
Details
Rychlé šípy.html (2.41 KB, text/html)
2008-03-29 14:40 UTC, kavol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2007-03-21 12:16:34 UTC
Version:           3.5.6 (using KDE 3.5.6 "release 41.4" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.18.2-34-default

Konqui just crashes reproducably when printing a page to pdf (PDF senden) with following output. The page on which the crash appeared I can provide privately (not for many days, it is a temporary url).
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1231468848 (LWP 4178)]
[KCrash handler]
#9  0xb5f939a3 in khtml::RenderBlock::clearChildOfPageBreaks ()
   from /opt/kde3/lib/libkhtml.so.4
#10 0xb5fc02de in khtml::RenderBlock::layoutBlockChildren ()
   from /opt/kde3/lib/libkhtml.so.4
#11 0xb5fd0cf2 in khtml::RenderBlock::layoutBlock ()
   from /opt/kde3/lib/libkhtml.so.4
#12 0xb5fd1101 in khtml::RenderCanvas::layout ()
   from /opt/kde3/lib/libkhtml.so.4
#13 0xb5ebc946 in KHTMLView::print () from /opt/kde3/lib/libkhtml.so.4
#14 0xb5ebd725 in KHTMLView::print () from /opt/kde3/lib/libkhtml.so.4
#15 0xb5ebd758 in KHTMLPartBrowserExtension::print ()
   from /opt/kde3/lib/libkhtml.so.4
#16 0xb5ec66fa in KHTMLPartBrowserExtension::qt_invoke ()
   from /opt/kde3/lib/libkhtml.so.4
#17 0xb74ef14d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb74efdad in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb6d58ff9 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#20 0xb6d96bd2 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#21 0xb6e5ff3d in KAction::slotPopupActivated ()
   from /opt/kde3/lib/libkdeui.so.4
#22 0xb6e60201 in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#23 0xb74ef14d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0xb782926e in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb750b207 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb75f4f6a in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb6d61ece in KPopupMenu::mouseReleaseEvent ()
   from /opt/kde3/lib/libkdeui.so.4
#28 0xb7527a30 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0xb748fbb7 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0xb7490aeb in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0xb7b1abf2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#32 0xb742f79e in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb742e096 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xb743e84a in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0xb74a69d8 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0xb74a686e in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0xb748f76f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0xb6898e25 in kdemain () from /opt/kde3/lib/libkdeinit_konqueror.so
#39 0xb7269524 in kdeinitmain () from /opt/kde3/lib/kde3/konqueror.so
#40 0x0804e33f in launch ()
#41 0x0804ebca in handle_launcher_request ()
#42 0x0804ef4f in handle_requests ()
#43 0x0805014c in main ()
Comment 1 Kurt Pfeifle 2007-03-22 20:33:58 UTC
Please send me the URL to that testcase PDF: pfeifle AT kde DOT org
Comment 2 Kurt Pfeifle 2007-03-23 02:52:27 UTC
Created attachment 20081 [details]
a2ps_-P_display_-1_--medium=A4_--prologue=matrix_.etc.cups.mime.types.png
Comment 3 Kurt Pfeifle 2007-03-24 21:50:46 UTC
OOops -- last attachment 20081 [details] was not meant to end up here (not related to this bug).
Comment 4 kavol 2008-03-29 14:36:31 UTC
I just experienced (reproducible) Konqueror (3.5.8) crash when trying to print a page, and the backtrace looks the same, so I attach it here:


Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash handler]
#5  khtml::RenderBlock::clearChildOfPageBreaks (this=<value optimized out>, 
    child=<value optimized out>, pageBreakInfo=<value optimized out>, 
    marginInfo=<value optimized out>) at render_block.cpp:1516
#6  0x000000399a9db084 in khtml::RenderBlock::layoutBlockChildren (
    this=<value optimized out>, relayoutChildren=<value optimized out>)
    at render_block.cpp:1453
#7  0x000000399a9db43f in khtml::RenderBlock::layoutBlock (
    this=<value optimized out>, relayoutChildren=<value optimized out>)
    at render_block.cpp:710
#8  0x000000399aa1106b in khtml::RenderCanvas::layout (
    this=<value optimized out>) at render_canvas.cpp:183
#9  0x000000399a9508f7 in KHTMLView::print (this=<value optimized out>, 
    quick=<value optimized out>) at khtmlview.cpp:2849
#10 0x000000399a984dec in KHTMLPartBrowserExtension::qt_invoke (
    this=<value optimized out>, _id=<value optimized out>, 
    _o=<value optimized out>) at khtml_ext.moc:132
#11 0x000000399633c012 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#12 0x000000399633cb7a in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#13 0x00000039979ad714 in KAction::qt_invoke (this=<value optimized out>, 
    _id=<value optimized out>, _o=<value optimized out>) at kaction.moc:218
#14 0x000000399633c012 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#15 0x000000399633cb7a in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#16 0x000000399731d2fa in KAccelPrivate::emitActivatedSignal (
    this=<value optimized out>, pAction=<value optimized out>)
    at kaccel.cpp:400
#17 0x000000399731da9f in KAccelPrivate::eventFilter (
    this=<value optimized out>, pEvent=<value optimized out>)
    at kaccel.cpp:370
#18 0x000000399633ba45 in QObject::activate_filters ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#19 0x000000399633baa7 in QObject::event () from /usr/qt/3/lib64/libqt-mt.so.3
#20 0x00000039963695b9 in QWidget::event () from /usr/qt/3/lib64/libqt-mt.so.3
#21 0x0000003996409a1f in QMainWindow::event ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#22 0x00000039990821ca in KonqMainWindow::event (this=<value optimized out>, 
    e=<value optimized out>) at konq_mainwindow.cc:5753
#23 0x00000039962eb3eb in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#24 0x00000039962ec43b in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#25 0x00000039972d204a in KApplication::notify (this=<value optimized out>, 
    receiver=<value optimized out>, event=<value optimized out>)
    at kapplication.cpp:550
#26 0x00000039972d277c in QApplication::sendEvent (
    receiver=<value optimized out>, event=<value optimized out>)
    at /usr/qt/3/include/qapplication.h:496
#27 0x000000399731d7d2 in KAccelEventHandler::x11Event (
    this=<value optimized out>, pEvent=<value optimized out>)
    at kaccel.cpp:144
#28 0x00000039972d279f in KAppX11HackWidget::publicx11Event (
    this=<value optimized out>, e=<value optimized out>)
    at kapplication.cpp:1651
#29 0x00000039972cd31c in KApplication::x11EventFilter (
    this=<value optimized out>, _event=<value optimized out>)
    at kapplication.cpp:1721
#30 0x0000003996288f3c in ?? () from /usr/qt/3/lib64/libqt-mt.so.3
#31 0x00000039962971f3 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#32 0x00000039962a563d in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#33 0x00000039962fe50a in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#34 0x00000039962fe3ee in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#35 0x0000003999047f28 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>) at konq_main.cc:206
#36 0x00000036eb61db74 in __libc_start_main () from /lib/libc.so.6
#37 0x0000000000400809 in _start ()
Comment 5 kavol 2008-03-29 14:40:55 UTC
Created attachment 24115 [details]
Rychlé šípy.html

crash reproducer

it does not trigger the crash if you simply try to print this file with default
settings

I have to set page size to A5 and custom borders - setting the top to 0,707 cm
and leaving the others intact works for me to reproduce the crash, you may need
another numbers (in my setup I use cups with HP LaserJet 6L)
Comment 6 kavol 2008-03-29 17:50:56 UTC
I just recompiled konqueror & dependencies to upgrade to 3.5.9 (with DEBUG), and the problem is still present:

kika@kika ~/tmp/zpěvník $ konqueror --version
Qt: 3.3.8
KDE: 3.5.9
Konqueror: 3.5.9
kika@kika ~/tmp/zpěvník $ konqueror Rychlé\ šípy.html
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-kika/ksycoca
konqueror: KonqMisc::createNewWindow url=file:///home/kika/tmp/zpěvník/Rychlé šípy.html
konqueror: void KonqMisc::createBrowserWindowFromProfile()
konqueror: path=/usr/kde/3.5/share/apps/konqueror/profiles/webbrowsing,filename=webbrowsing,url=file:///home/kika/tmp/zpěvník/Rychlé šípy.html
kio (KTrader): query for Browser/View : returning 31 offers
libkonq: ## loaded: 500 entries.
kdecore (KConfigSkeleton): Creating KConfigSkeleton (0x78c8d0)
kdecore (KConfigSkeleton): KConfigSkeleton::readConfig()
konqueror: KonqMainWindow::enableAllActions false
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/konqueror/kpartplugins/searchbar.rc
kparts: load plugin searchbar
kio (KTrader): query for KURIFilter/Plugin : returning 4 offers
kurifilter (plugins): (22301) Keywords Engine: Loading config...
kurifilter (plugins): (22301) Keyword Delimiter: :
kurifilter (plugins): (22301) Default Search Engine:
kurifilter (plugins): (22301) Web Shortcuts Enabled: true
kurifilter (plugins): (22301) Verbose: false
kio (KTrader): query for SearchProvider : returning 1 offers
kurifilter (plugins): (22301) user query = 'some keyword'
kurifilter (plugins): (22301) query definition = 'http://www.google.com/search?q=\{@}&ie=UTF-8&oe=UTF-8'
kurifilter (plugins): (22301) Generating substitution map:
kurifilter (plugins): (22301)   map['0'] = 'some keyword'
kurifilter (plugins): (22301)   map['1'] = 'some'
kurifilter (plugins): (22301)   map['2'] = 'keyword'
kurifilter (plugins): (22301) Substitute references:
kurifilter (plugins): (22301)   reference list = '@'
kurifilter (plugins): (22301)   newurl = 'http://www.google.com/search?q=\@&ie=UTF-8&oe=UTF-8'
kurifilter (plugins): (22301)     rest = 'some keyword'
kurifilter (plugins): (22301) substituted query = 'http://www.google.com/search?q=some+keyword&ie=UTF-8&oe=UTF-8'
kparts: MainWindow::createGUI, part=(nil)
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/konqueror/kpartplugins/searchbar.rc
konqueror: KonqViewManager::clear
konqueror: Trying to create view for "KonqAboutPage"
kio (KTrader): query for KonqAboutPage, KParts/ReadOnlyPart : returning 1 offers
konqueror: Found requested service konq_aboutpage
konqueror: Trying to open lib for requested service konq_aboutpage
konqueror: KonqViewManager::setupView passiveMode=false
konqueror: KonqView::switchView
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/akregator_konqfeedicon.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/autorefresh.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/crashesplugin.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/kget_plug_in.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/khtmlkttsd.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/khtmlsettingsplugin.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/mf_konqmficon.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/minitoolsplugin.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_babelfish.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_domtreeviewer.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_rellinks.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_validators.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_webarchiver.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/uachangerplugin.rc
kparts: load plugin konqfeedicon
kparts: load plugin khtml_kget
kparts: load plugin khtmlkttsdplugin
konqueror: KHTMLPLuginKTTSD::KHTMLPluginKTTSD: KTrader did not find KTTSD.
kparts: load plugin khtmlsettingsplugin
kparts: load plugin Minitools
kparts: load plugin babelfish
kparts: load plugin webarchiver
kparts: load plugin UserAgentChanger
konqueror: KonqMainWindow::insertChildView 0xa52ca0
konqueror: KonqMainWindow::enableAllActions true
konqueror: KonqMainWindow::viewCountChanged
kparts: 0x76dc10 emitting activePartChanged 0xa53890
konqueror: KonqMainWindow::slotPartActivated 0xa53890 khtml
konqueror: KonqMainWindow::slotPartActivated: New current view 0xa52ca0
kparts: MainWindow::createGUI, part=0xa53890 KonqAboutPage
konqueror: KonqMainWindow::setLocationBarURL: url =
konqueror: KonqMainWindow::openURL : url = 'file:///home/kika/tmp/zpěvník/Rychlé šípy.html'  serviceType='' req=[forceAutoEmbed] view=0xa52ca0
konqueror: trying openView for file:///home/kika/tmp/zpěvník/Rychlé šípy.html (serviceType text/html)
konqueror: KonqMainWindow::openView text/html file:///home/kika/tmp/zpěvník/Rychlé šípy.html 0xa52ca0 req:[forceAutoEmbed]
konqueror: changeViewMode: serviceType is text/html serviceName is  current service name is konq_aboutpage
konqueror: Switching view modes...
konqueror: Trying to create view for "text/html"
kio (KTrader): query for text/html, Application : returning 2 offers
kio (KTrader): query for text/html, KParts/ReadOnlyPart : returning 3 offers
konqueror: khtml : X-KDE-BrowserView-AllowAsDefault is valid : false
konqueror: KonqView::switchView
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/akregator_konqfeedicon.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/autorefresh.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/crashesplugin.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/kget_plug_in.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/khtmlkttsd.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/khtmlsettingsplugin.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/mf_konqmficon.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/minitoolsplugin.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_babelfish.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_domtreeviewer.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_rellinks.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_validators.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/plugin_webarchiver.rc
kparts: found KParts Plugin : /usr/kde/3.5/share/apps/khtml/kpartplugins/uachangerplugin.rc
kparts: load plugin konqfeedicon
kparts: load plugin khtml_kget
kparts: load plugin khtmlkttsdplugin
konqueror: KHTMLPLuginKTTSD::KHTMLPluginKTTSD: KTrader did not find KTTSD.
kparts: load plugin khtmlsettingsplugin
kparts: load plugin Minitools
kparts: load plugin babelfish
kparts: load plugin webarchiver
kparts: load plugin UserAgentChanger
konqueror: KonqMainWindow::slotPartChanged
konqueror: KonqMainWindow::setLocationBarURL: url =
kparts: 0x76dc10 emitting activePartChanged 0xb97040
konqueror: KonqMainWindow::slotPartActivated 0xb97040 khtml
konqueror: KonqMainWindow::slotPartActivated: New current view 0xa52ca0
kparts: MainWindow::createGUI, part=0xb97040 KHTMLPart
kparts: deactivating GUI for 0xa53890 KonqAboutPage
konqueror: KonqMainWindow::setLocationBarURL: url =
kparts: Part::~Part 0xa53890
kparts: deleting widget [KHTMLView pointer (0xa6f880) to widget view widget, geometry=700x363+0+0] view widget
konqueror: KonqView::openURL url=file:///home/kika/tmp/zpěvník/Rychlé šípy.html locationBarURL=/home/kika/tmp/zpěvník/Rychlé šípy.html
konqueror: KonqMainWindow::setLocationBarURL: url = /home/kika/tmp/zpěvník/Rychlé šípy.html
khtml (part): KHTMLPart(0xb97040)::openURL file:///home/kika/tmp/zp%C4%9Bvn%C3%ADk/Rychl%C3%A9%20%C5%A1%C3%ADpy.html
khtml (part): saveState this=0xb97040 '' saving URL file:///home/kika/tmp/zp%C4%9Bvn%C3%ADk/Rychl%C3%A9%20%C5%A1%C3%ADpy.html
libkonq: ## addToHistory: file:///home/kika/tmp/zpěvník/Rychlé šípy.html Typed URL: /home/kika/tmp/zpěvník/Rychlé šípy.html, Title:
konqueror: KonqMainWindow::openView ok=true bOthersFollowed=false returning true
khtml (html):  using transitional parseMode
konqueror: KonqMainWindow::setCaption(Ryvolové, bratři - Rychlé šípy)
kdeprint: kdeprint: registering 0xa9a048, number of objects = 1
kdeprint: kdeprint: registering 0xb0a3c0, number of objects = 2
kdeprint: kdeprint: registering 0xc30f30, number of objects = 3
kdeprint: kdeprint: registering 0xcc6040, number of objects = 4
kdeprint: kdeprint: registering 0xcd1d58, number of objects = 5
kdeprint: kdeprint: registering 0xcb7c10, number of objects = 6
kdeprint: Checking for update possible
kdeprint: Starting async connect to localhost
kdeprint: Connection success, trying to send a request...
kio (Filter): KFilterBase::findFilterByFileName mime=text/plain
kio (KTrader): query for KDECompressionFilter : returning 0 offers
kio (Filter): KFilterBase::findFilterByMimeType(text/plain) got 0 offers
kdeprint: kdeprint: unregistering 0xb0a3c0, number of objects = 5
kdeprint: kdeprint: unregistering 0xcb7c10, number of objects = 4
kdeprint: kdeprint: unregistering 0xcd1d58, number of objects = 3
kdeprint: kdeprint: status message: Inicializácia...
kdeprint: Resetting page size
kio (Filter): KFilterBase::findFilterByFileName mime=text/plain
kio (KTrader): query for KDECompressionFilter : returning 0 offers
kio (Filter): KFilterBase::findFilterByMimeType(text/plain) got 0 offers
kdeprint: Page size:  width =421
kdeprint: Page size: height =595
kdeprint: Page size:   left =0
kdeprint: Page size:    top =0
kdeprint: Page size:  right =0
kdeprint: Page size: bottom =0
kdeprint: ********************
kdeprint: HalftoningAlgorithm = WTS
kdeprint: PageSize = A5
kdeprint: app-khtml-printfriendly = true
kdeprint: app-khtml-printheader = false
kdeprint: app-khtml-printimages = true
kdeprint: copies = 1
kdeprint: kde-collate = Collate
kdeprint: kde-copies = 1
kdeprint: kde-creator = KDE 3.5.9 HTML Library
kdeprint: kde-current = 0
kdeprint: kde-docname = file:///home/kika/tmp/zpěvník/Rychlé šípy.html
kdeprint: kde-fonts = AvantGarde-Book,AvantGarde-BookOblique,AvantGarde-Demi,AvantGarde-DemiOblique,Bookman-Demi,Bookman-DemiItalic,Bookman-Light,Bookman-LightItalic,Courier,Courier-Bold,Courier-BoldOblique,Courier-Oblique,Helvetica,Helvetica-Bold,Helvetica-BoldOblique,Helvetica-Narrow,Helvetica-Narrow-Bold,Helvetica-Narrow-BoldOblique,Helvetica-Narrow-Oblique,Helvetica-Oblique,NewCenturySchlbk-Bold,NewCenturySchlbk-BoldItalic,NewCenturySchlbk-Italic,NewCenturySchlbk-Roman,Palatino-Bold,Palatino-BoldItalic,Palatino-Italic,Palatino-Roman,Symbol,Times-Bold,Times-BoldItalic,Times-Italic,Times-Roman,ZapfChancery-MediumItalic,ZapfDingbats
kdeprint: kde-fullpage = 0
kdeprint: kde-isspecial = 0
kdeprint: kde-margin-bottom = 24.0094
kdeprint: kde-margin-left = 36
kdeprint: kde-margin-right = 36
kdeprint: kde-margin-top = 20.0409
kdeprint: kde-orientation = Portrait
kdeprint: kde-outputtofile = 0
kdeprint: kde-pageorder = Forward
kdeprint: kde-pageset = 0
kdeprint: kde-pagesize = 9
kdeprint: kde-preview = 0
kdeprint: kde-printcommand =
kdeprint: kde-range =
kdeprint: kde-resolution = 300
kdeprint: kde-special-command =
kdeprint: multiple-document-handling = separate-documents-collated-copies
kdeprint: orientation-requested = 3
kdeprint: kdeprint: status message: Generovanie tlačových dát: stránka 1
khtml: printing: physical page width = 475 height = 749
khtml: printing: html page width = 475 height = 760
khtml: printing: margins left = 49 top = 28
khtml: printing: paper width = 475 height = 749
khtml: printing: scaled html width = 475 height = 749
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 22301



Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash handler]
#5  0x00002aee7422c5ad in khtml::RenderBlock::clearChildOfPageBreaks (
    this=0xaae130, child=0xaae300, pageBreakInfo=@0x7fff399c5be0, 
    marginInfo=<value optimized out>) at render_block.cpp:1516
#6  0x00002aee7422d3c4 in khtml::RenderBlock::layoutBlockChildren (
    this=0xaae130, relayoutChildren=true) at render_block.cpp:1453
#7  0x00002aee7422d93c in khtml::RenderBlock::layoutBlock (this=0xaae130, 
    relayoutChildren=true) at render_block.cpp:710
#8  0x00002aee7426d16d in khtml::RenderCanvas::layout (this=0xaae130)
    at render_canvas.cpp:183
#9  0x00002aee74192e88 in KHTMLView::print (this=0xb9cb70, 
    quick=<value optimized out>) at khtmlview.cpp:2849
#10 0x00002aee742f4017 in KJS::WindowFunc::tryCall (this=0xa8e950, 
    exec=0x7fff399c7350, thisObj=<value optimized out>, args=@0x7fff399c6f90)
    at kjs_window.cpp:2054
#11 0x00002aee742a6bc4 in KJS::DOMFunction::call (this=0x1, exec=0x0, 
    thisObj=@0x0, args=@0x0) at kjs_binding.cpp:136
#12 0x00002aee746b8a72 in KJS::Object::call (this=<value optimized out>, 
    exec=0x7fff399c7350, thisObj=@0x0, args=@0x0) at object.cpp:73
#13 0x00002aee746964c5 in KJS::FunctionCallNode::evaluate (
    this=<value optimized out>, exec=0x7fff399c7350) at nodes.cpp:870
#14 0x00002aee746933d9 in KJS::ExprStatementNode::execute (this=0xaecf80, 
    exec=0x7fff399c7350) at nodes.cpp:1980
#15 0x00002aee74691461 in KJS::SourceElementsNode::execute (this=0xc70b60, 
    exec=0x7fff399c7350) at nodes.cpp:3108
#16 0x00002aee7468fdd3 in KJS::BlockNode::execute (this=0xaece20, 
    exec=0x7fff399c7350) at nodes.cpp:1942
#17 0x00002aee746b3c5a in KJS::DeclaredFunctionImp::execute (
    this=<value optimized out>, exec=0x0) at function.cpp:613
#18 0x00002aee746b3faf in KJS::FunctionImp::call (this=0xaceba0, 
    exec=0xadf0e0, thisObj=@0x7fff399c7520, args=@0x7fff399c74d0)
    at function.cpp:373
#19 0x00002aee746b8a72 in KJS::Object::call (this=<value optimized out>, 
    exec=0xadf0e0, thisObj=@0x0, args=@0x0) at object.cpp:73
#20 0x00002aee743124b8 in KJS::JSEventListener::handleEvent (this=0xa96f10, 
    evt=@0x7fff399c7590) at kjs_events.cpp:96
#21 0x00002aee741db8c3 in DOM::DocumentImpl::defaultEventHandler (
    this=0xa64050, evt=0xac2ec0) at dom_docimpl.cpp:2527
#22 0x00002aee741e91be in DOM::NodeImpl::dispatchWindowEvent (this=0xa640a8, 
    _id=17, canBubbleArg=false, cancelableArg=<value optimized out>)
    at dom_nodeimpl.cpp:439
#23 0x00002aee7420b8b8 in DOM::HTMLDocumentImpl::close (
    this=<value optimized out>) at html_documentimpl.cpp:276
#24 0x00002aee741b04f3 in KHTMLPart::checkEmitLoadEvent (this=0xb97040)
    at khtml_part.cpp:2344
#25 0x00002aee741b1ffa in KHTMLPart::slotFinishedParsing (this=0xb97040)
    at khtml_part.cpp:2081
#26 0x00002aee741b8b67 in KHTMLPart::qt_invoke (this=0xb97040, _id=20, 
    _o=0x7fff399c78a0) at khtml_part.moc:504
#27 0x000000399633c012 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#28 0x000000399633cb7a in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#29 0x00002aee741dabfd in DOM::DocumentImpl::qt_emit (this=0xa64050, _id=2, 
    _o=0x7fff399c7970) at dom_docimpl.moc:97
#30 0x00002aee7420ac6b in DOM::HTMLDocumentImpl::qt_emit (this=0xaae130, 
    _id=1, _o=0x0) at html_documentimpl.moc:91
#31 0x000000399633c04c in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#32 0x000000399633cb7a in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#33 0x00002aee74200a73 in khtml::HTMLTokenizer::finish (this=0xa8e4b0)
    at htmltokenizer.cpp:1638
#34 0x00002aee741b2358 in KHTMLPart::end (this=0xb97040)
    at khtml_part.cpp:2018
#35 0x00002aee741b275c in KHTMLPart::slotFinished (this=0xb97040, 
    job=0xab2da0) at khtml_part.cpp:1869
#36 0x00002aee741b8b5a in KHTMLPart::qt_invoke (this=0xb97040, _id=19, 
    _o=0x7fff399c7c90) at khtml_part.moc:503
#37 0x000000399633bf84 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#38 0x00002aee71c6da14 in KIO::Job::result (this=0xab2da0, t0=0xab2da0)
    at jobclasses.moc:162
#39 0x00002aee71c722f0 in KIO::Job::emitResult (this=0xab2da0) at job.cpp:235
#40 0x00002aee71c72851 in KIO::SimpleJob::slotFinished (this=0xab2da0)
    at job.cpp:601
#41 0x00002aee71c72b21 in KIO::TransferJob::slotFinished (this=0xab2da0)
    at job.cpp:971
#42 0x00002aee71c71307 in KIO::TransferJob::qt_invoke (this=0xab2da0, _id=17, 
    _o=0x7fff399c8150) at jobclasses.moc:1071
#43 0x000000399633c012 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#44 0x000000399633cb7a in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#45 0x00002aee71c62b26 in KIO::SlaveInterface::dispatch (this=0xb09ba0, 
    _cmd=104, rawdata=@0x7fff399c8480) at slaveinterface.cpp:243
#46 0x00002aee71c633e9 in KIO::SlaveInterface::dispatch (this=0xb09ba0)
    at slaveinterface.cpp:173
#47 0x00002aee71c5f5cf in KIO::Slave::gotInput (this=0xb09ba0)
    at slave.cpp:300
#48 0x00002aee71c60ea2 in KIO::Slave::qt_invoke (this=0xb09ba0, _id=4, 
    _o=0x7fff399c85d0) at slave.moc:113
#49 0x000000399633c012 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#50 0x000000399633caa4 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#51 0x0000003996353d17 in QSocketNotifier::event ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#52 0x00000039962eb3eb in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#53 0x00000039962ebf1a in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#54 0x00002aee72abb29a in KApplication::notify (this=0x7fff399c8b20, 
    receiver=0xbe1120, event=0x7fff399c88b0) at kapplication.cpp:550
#55 0x00000039962e258e in QEventLoop::activateSocketNotifiers ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#56 0x00000039962a57bd in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#57 0x00000039962fe50a in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#58 0x00000039962fe3ee in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#59 0x00002aee71129388 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>) at konq_main.cc:206
#60 0x00000036eb61db74 in __libc_start_main () from /lib/libc.so.6
#61 0x0000000000400809 in _start ()
Comment 7 Christophe Marin 2008-04-20 18:51:35 UTC
I couldn't reproduce this crash in kde4 trunk (r. 799086).

printing to a pdf file created expected pdf files,
Kavol's testcase didn't make Konqueror crash (as I'm using an A4 printer, I just played with margins)

Comment 8 Eduardo Robles Elvira 2008-06-06 01:03:39 UTC
The bug is not reproducible in KDE 4. Closing this bug as WORKSFORME as we won't fix KDE 3.5 anymore. Please reopen if it still happens in kde-4.0.5 or kde-4.1 when it's out. Thanks for the report!
Comment 9 kavol 2008-06-11 22:15:21 UTC
I am unable to reproduce using 4.0.5; however the printing suffers a lot other problems (e.g. it does not remember the settings between two subsequent prints) - but seeing the attitude, it is not worth reporting anything until 4.1 :-/
Comment 10 Dario Andres 2008-12-05 15:28:03 UTC
bug 163840 is a duplicate of this for KDE4.0.5 (I don't know if this is reproducible with KDe4.1.x / 4.2).
Comment 11 Dario Andres 2008-12-05 15:31:25 UTC
*** Bug 155017 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2008-12-05 15:32:42 UTC
*** Bug 146788 has been marked as a duplicate of this bug. ***