Version: 3.5.6 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14) Compiler: Target: x86_64-linux-gnu OS: Linux (x86_64) release 2.6.20-15-generic * Open a konqueror * Go to about:konqueror * Go to some webpage that takes time to load * Very QUICKLY type ctrl+p to get up the print dialog * konqueror crashes on page load Valgrind info ==27889== Invalid read of size 4 ==27889== at 0x51DE102: QDialog::result() const (qdialog.h:66) ==27889== by 0x8075E4A: QDialog::exec() (in /usr/lib/libqt-mt.so.3.3.7) ==27889== by 0x108F8CAE: KPrinter::setup(QWidget*, QString const&, bool) (kprinter.cpp:234) ==27889== by 0xFB901FA: KHTMLView::print(bool) (khtmlview.cpp:2749) ==27889== by 0xFB91257: KHTMLView::print() (khtmlview.cpp:2735) ==27889== by 0xFBED693: KHTMLPartBrowserExtension::print() (khtml_ext.cpp:382) ==27889== by 0xFBEE252: KHTMLPartBrowserExtension::qt_invoke(int, QUObject*) (khtml_ext.moc:132) ==27889== by 0x7ECFCE1: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/libqt-mt.so.3.3.7) ==27889== by 0x7ED087B: QObject::activate_signal(int) (in /usr/lib/libqt-mt.so.3.3.7) ==27889== by 0x61F9671: KAction::activated() (kaction.moc:176) ==27889== by 0x61F9D94: KAction::slotActivated() (kaction.cpp:1102) ==27889== by 0x61FA358: KAction::qt_invoke(int, QUObject*) (kaction.moc:218) ==27889== Address 0xD557CB8 is 200 bytes inside a block of size 240 free'd ==27889== at 0x4C20390: operator delete(void*) (vg_replace_malloc.c:244) ==27889== by 0x108EF313: KPrintDialog::~KPrintDialog() (kprintdialog.cpp:455) ==27889== by 0x7F0A2C5: QWidget::~QWidget() (in /usr/lib/libqt-mt.so.3.3.7) ==27889== by 0x52123A6: QFrame::~QFrame() (qframe.h:48) ==27889== by 0x7FFECDE: QScrollView::~QScrollView() (in /usr/lib/libqt-mt.so.3.3.7) ==27889== by 0xFB9970F: KHTMLView::~KHTMLView() (khtmlview.cpp:521) ==27889== by 0x5475C0A: KParts::Part::~Part() (part.cpp:159) ==27889== by 0x5475F10: KParts::ReadOnlyPart::~ReadOnlyPart() (part.cpp:314) ==27889== by 0xFBCE79F: KHTMLPart::~KHTMLPart() (khtml_part.cpp:524) ==27889== by 0xF6BAC38: KonqAboutPage::~KonqAboutPage() (konq_aboutpage.cc:421) ==27889== by 0x4ECD6F9: KonqView::switchView(KonqViewFactory&) (konq_view.cc:253) ==27889== by 0x4ECE102: KonqView::changeViewMode(QString const&, QString const&, bool) (konq_view.cc:356) Or we could just ban print on the about:konqueror page as it makes no sense imho :D
Hi, I'm running Gentoo, with KDE/Konqueror 3.5.8, and kernel 2.6.20-x86 and i can confirm this trouble.
Cannot confirm on konqueror 4 trunk.
You are not fast enough. I can confirm the crash on trunk
Yeah this is reproducible in 4.0.3. Modified steps to make this *really* easy to reproduce: * Open a konqueror * Go to about:konqueror * Go to http://www.electricminds.org/venice/conf/posts.js.vs?cc=2&conf=16&top=22&p1=0&p2=-1 (this is a really really long web page, long enough that time won't be an issue). * Type CTRL + P (to open the print dialog). * Watch konq crash!
Crashes even to me :-(
*** Bug 170969 has been marked as a duplicate of this bug. ***
SVN commit 873634 by osterfeld: Don't crash when the khtmlview is deleted while a print dialog is open BUG:144940 M +19 -6 khtmlview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=873634
SVN commit 873635 by osterfeld: backport: don't crash when the khtmlpart is deleted while a print dialog is open CCBUG:144940 M +19 -6 khtmlview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=873635