Bug 80375 - kmail crashes when trying to print html formatted message
Summary: kmail crashes when trying to print html formatted message
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.6.51
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 12:27 UTC by Roger Larsson
Modified: 2007-09-14 12:17 UTC (History)
0 users

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 Roger Larsson 2004-04-26 12:27:40 UTC
Version:           1.6.51 (using KDE 3.2.90 (CVS >= 20040117), compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-202-default

Tried to print a html formatted message - crash
Saved and opened in konqueror, print - OK.

#4  0x40248d41 in KMReaderWin::setMsg(KMMessage*, bool) (this=0xbfffc8b0,
    aMsg=0x8f390a0, force=true) at kmreaderwin.cpp:882
#5  0x4034c40a in KMPrintCommand::execute() (this=0x8dddee0)
    at kmcommands.cpp:1182
#6  0x40346821 in KMCommand::slotPostTransfer(bool) (this=0x8dddee0,
    success=true) at kmcommands.cpp:172
#7  0x4034021f in KMCommand::qt_invoke(int, QUObject*) (this=0x8dddee0, _id=3,
    _o=0xbfffcbc0) at kmcommands.moc:121
#8  0x403435db in KMPrintCommand::qt_invoke(int, QUObject*) (this=0x11,
    _id=17, _o=0x11) at kmcommands.moc:1947
#9  0x41a6377b in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x8dddee0, clist=0x8982088, o=0xbfffcbc0) at kernel/qobject.cpp:2356
#10 0x41a640e1 in QObject::activate_signal_bool(int, bool) (this=0x8dddee0,
    signal=2, param=true) at kernel/qobject.cpp:2452
#11 0x403400e0 in KMCommand::messagesTransfered(bool) (this=0x11, t0=true)
    at kmcommands.moc:108
#12 0x40346866 in KMCommand::transferSelectedMsgs() (this=0x8dddee0)
    at kmcommands.cpp:190
#13 0x403466b8 in KMCommand::preTransfer() (this=0x8dddee0)
    at kmcommands.cpp:164
#14 0x403464fd in KMCommand::start() (this=0x11) at kmcommands.cpp:112
#15 0x4036221a in KMMainWidget::slotPrintMsg() (this=0x82646b0)
    at kmmainwidget.cpp:1430
#16 0x4035af0b in KMMainWidget::qt_invoke(int, QUObject*) (this=0x82646b0,
    _id=191, _o=0xbfffce20) at kmmainwidget.moc:605
#17 0x41a6377b in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x831eb08, clist=0x831ed58, o=0xbfffce20) at kernel/qobject.cpp:2356
#18 0x41a6361a in QObject::activate_signal(int) (this=0x831eb08, signal=2)
    at kernel/qobject.cpp:2325
#19 0x412b5649 in KAction::activated() () from /opt/kdecvs/lib/libkdeui.so.4
#20 0x412b4c7d in KAction::slotActivated() ()
   from /opt/kdecvs/lib/libkdeui.so.4
#21 0x412b570f in KAction::qt_invoke(int, QUObject*) ()
   from /opt/kdecvs/lib/libkdeui.so.4
#22 0x41a6377b in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x83400a8, clist=0x8340300, o=0xbfffcf10) at kernel/qobject.cpp:2356
#23 0x41db90f0 in QSignal::signal(QVariant const&) (this=0x83400a8,
    t0=@0x83400d0) at .moc/debug-shared-mt/moc_qsignal.cpp:100
#24 0x41a80ec3 in QSignal::activate() (this=0x83400a8)
    at kernel/qsignal.cpp:212
#25 0x41b77e5e in QPopupMenu::mouseReleaseEvent(QMouseEvent*) (this=0x8b2e958,
    e=0xbfffd3a0) at widgets/qpopupmenu.cpp:1690
#26 0x41a9b967 in QWidget::event(QEvent*) (this=0x8b2e958, e=0xbfffd3a0)
    at kernel/qwidget.cpp:4668
#27 0x41a00d47 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbfffec60, receiver=0x8b2e958, e=0xbfffd3a0)
    at kernel/qapplication.cpp:2618
#28 0x41a00312 in QApplication::notify(QObject*, QEvent*) (this=0xbfffec60,
    receiver=0x8b2e958, e=0xbfffd3a0) at kernel/qapplication.cpp:2404
#29 0x4151754e in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kdecvs/lib/libkdecore.so.4
#30 0x41996d99 in QApplication::sendSpontaneousEvent(QObject*, QEvent*) (
    receiver=0x8b2e958, event=0xbfffd3a0) at qapplication.h:494
#31 0x4198f5ca in QETWidget::translateMouseEvent(_XEvent const*) (
    this=0x8b2e958, event=0xbfffd730) at kernel/qapplication_x11.cpp:4194
#32 0x4198d49d in QApplication::x11ProcessEvent(_XEvent*) (this=0xbfffec60,
    event=0xbfffd730) at kernel/qapplication_x11.cpp:3403
#33 0x419a80d0 in QEventLoop::processEvents(unsigned) (this=0x81038e0, flags=4)
    at kernel/qeventloop_x11.cpp:192
#34 0x41a14fc6 in QEventLoop::enterLoop() (this=0x81038e0)
    at kernel/qeventloop.cpp:198
#35 0x41a00f31 in QApplication::enter_loop() (this=0xbfffec60)
    at kernel/qapplication.cpp:2773
#36 0x41b7afa5 in QPopupMenu::exec(QPoint const&, int) (this=0x8b2e958,
    pos=@0xbfffdc38, indexAtPoint=0) at widgets/qpopupmenu.cpp:2417
#37 0x4036421b in KMMainWidget::slotMsgPopup(KMMessage&, KURL const&, QPoint const&) (this=0x82646b0, aUrl=@0x0, aPoint=@0x11) at kmmainwidget.cpp:2
048
#38 0x4035b2c1 in KMMainWidget::qt_invoke(int, QUObject*) (this=0x82646b0,
    _id=1106285288, _o=0xbfffd940) at kmmainwidget.moc:559
#39 0x41a6377b in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x82aa070, clist=0x82cfc90, o=0xbfffd940) at kernel/qobject.cpp:2356
#40 0x4024ebab in KMReaderWin::popupMenu(KMMessage&, KURL const&, QPoint const&) (this=0x82aa070, t0=@0x11, t1=@0x11, t2=@0x11) at kmreaderwin.moc:2
39
#41 0x40398560 in KMReaderWin::emitPopupMenu(KURL const&, QPoint const&) (
    this=0x82aa070, url=@0xbfffc8b0, p=@0xbfffc8b0) at kmreaderwin.h:232
#42 0x4039764f in (anonymous namespace)::FallBackURLHandler::handleContextMenuRequest(KURL const&, QPoint const&, KMReaderWin*) const (this=0x86b2c3
0,
    url=@0x11, p=@0x11, w=0xbfffc8b0) at urlhandlermanager.cpp:331
#43 0x40396824 in KMail::URLHandlerManager::handleContextMenuRequest(KURL const&, QPoint const&, KMReaderWin*) const (this=0x86b2c00, url=@0xbfffda6
0,
    p=@0xbfffdc38, w=0x82aa070) at urlhandlermanager.cpp:177
#44 0x4024b4c8 in KMReaderWin::slotUrlPopup(QString const&, QPoint const&) (
    this=0x82aa070, aUrl=@0x11, aPos=@0xbfffdc38) at kmreaderwin.cpp:1460
#45 0x4024efe6 in KMReaderWin::qt_invoke(int, QUObject*) (this=0x82aa070,
    _id=-1073751108, _o=0xbfffdb90) at kmreaderwin.moc:278
#46 0x41a6377b in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x826b538, clist=0x82c93a0, o=0xbfffdb90) at kernel/qobject.cpp:2356
#47 0x4053efcb in KHTMLPart::popupMenu(QString const&, QPoint const&) ()
   from /opt/kdecvs/lib/libkhtml.so.4
#48 0x405360db in KHTMLPart::popupMenu(QString const&) ()
   from /opt/kdecvs/lib/libkhtml.so.4
#49 0x4053a4c0 in KHTMLPart::khtmlMousePressEvent(khtml::MousePressEvent*) ()
   from /opt/kdecvs/lib/libkhtml.so.4
#50 0x40539d57 in KHTMLPart::customEvent(QCustomEvent*) ()
   from /opt/kdecvs/lib/libkhtml.so.4
#51 0x41a6112e in QObject::event(QEvent*) (this=0x826b538, e=0xbfffe0f0)
    at kernel/qobject.cpp:755
#52 0x41a00d47 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbfffec60, receiver=0x826b538, e=0xbfffe0f0)
    at kernel/qapplication.cpp:2618
#53 0x41a00019 in QApplication::notify(QObject*, QEvent*) (this=0xbfffec60,
    receiver=0x826b538, e=0xbfffe0f0) at kernel/qapplication.cpp:2341
#54 0x4151754e in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kdecvs/lib/libkdecore.so.4
#55 0x40502c59 in KHTMLView::viewportMousePressEvent(QMouseEvent*) ()
   from /opt/kdecvs/lib/libkhtml.so.4
#56 0x41b86ee2 in QScrollView::eventFilter(QObject*, QEvent*) (this=0x82854f8,
    obj=0x82a9748, e=0xbfffe6e0) at widgets/qscrollview.cpp:1497
#57 0x40505c7e in KHTMLView::eventFilter(QObject*, QEvent*) ()
   from /opt/kdecvs/lib/libkhtml.so.4
#58 0x41a611e4 in QObject::activate_filters(QEvent*) (this=0x82a9748,
    e=0xbfffe6e0) at kernel/qobject.cpp:902
#59 0x41a61056 in QObject::event(QEvent*) (this=0x82a9748, e=0xbfffe6e0)
    at kernel/qobject.cpp:735
#60 0x41a9b88b in QWidget::event(QEvent*) (this=0x82a9748, e=0xbfffe6e0)
    at kernel/qwidget.cpp:4650
#61 0x41a00d47 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbfffec60, receiver=0x82a9748, e=0xbfffe6e0)
    at kernel/qapplication.cpp:2618
#62 0x41a00312 in QApplication::notify(QObject*, QEvent*) (this=0xbfffec60,
    receiver=0x82a9748, e=0xbfffe6e0) at kernel/qapplication.cpp:2404
#63 0x4151754e in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kdecvs/lib/libkdecore.so.4
#64 0x41996d99 in QApplication::sendSpontaneousEvent(QObject*, QEvent*) (
    receiver=0x82a9748, event=0xbfffe6e0) at qapplication.h:494
#65 0x4198f84b in QETWidget::translateMouseEvent(_XEvent const*) (
    this=0x82a9748, event=0xbfffea70) at kernel/qapplication_x11.cpp:4252
#66 0x4198d49d in QApplication::x11ProcessEvent(_XEvent*) (this=0xbfffec60,
    event=0xbfffea70) at kernel/qapplication_x11.cpp:3403
#67 0x419a80d0 in QEventLoop::processEvents(unsigned) (this=0x81038e0, flags=4)
    at kernel/qeventloop_x11.cpp:192
#68 0x41a14fc6 in QEventLoop::enterLoop() (this=0x81038e0)
    at kernel/qeventloop.cpp:198
#69 0x41a14ee2 in QEventLoop::exec() (this=0x81038e0)
    at kernel/qeventloop.cpp:145
#70 0x41a00ec7 in QApplication::exec() (this=0xbfffec60)
    at kernel/qapplication.cpp:2741
#71 0x0804a9ea in main (argc=17, argv=0x11) at main.cpp:108
Comment 1 Till Adam 2004-06-29 23:19:42 UTC
Roger, is this reproducible for you, with current cvs? Can you attach a message which shows the problem? I can't reproduce it here.
Comment 2 Roger Larsson 2004-06-30 00:24:00 UTC
Found the cause!

I had the patch for feature request / bug 76256 applied,
see that for more information.