Bug 75091 - kmail crashes when printing some e-mails
Summary: kmail crashes when printing some e-mails
Status: RESOLVED DUPLICATE of bug 73273
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 20:26 UTC by Philippe Rigault
Modified: 2007-09-14 12:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Rigault 2004-02-12 20:26:20 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          GCC 3.3.2 gcc version 3.3.2 20040119 (Red Hat Linux 3.3.2-7)
OS:          Linux

I experience some crashes in kmail when printing (crash happens upon clicking on 'Print' on kprinter).
This happens only for a few messages, but it does so consistently (i.e the same message always causes kontact to crash).

All problematic messages are HTML formatted and generated by Outlook, but the inverse is not necessarily true (some Outlook HTML messages print just fine).

I will try to provide a testcase for this, and I can provide examples of problematic emails upon request until then.

Here is one backtrace for the crash in question.

[New Thread 16384 (LWP 2534)]
0x414cd008 in waitpid () from /lib/i686/libpthread.so.0
#0  0x414cd008 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40a78244 in __JCR_LIST__ () from /opt/kde3.2-debug/lib/libkdecore.so.4
#2  0x409bd3b4 in KCrash::defaultCrashHandler(int) (sig=6) at kcrash.cpp:246
#3  0x414cbd66 in __pthread_sighandler () from /lib/i686/libpthread.so.0
#4  <signal handler called>
#5  0x41624b31 in kill () from /lib/i686/libc.so.6
#6  0x414c9221 in pthread_kill () from /lib/i686/libpthread.so.0
#7  0x414c959b in raise () from /lib/i686/libpthread.so.0
#8  0x41624804 in raise () from /lib/i686/libc.so.6
#9  0x41625f28 in abort () from /lib/i686/libc.so.6
#10 0x4161dc58 in __assert_fail () from /lib/i686/libc.so.6
#11 0x44faf636 in khtml::RenderBlock::layoutBlock(bool) (this=0x839bb20, 
    relayoutChildren=false) at render_block.cpp:526
#12 0x44faf2a5 in khtml::RenderBlock::layout() (this=0x0)
    at render_block.cpp:418
#13 0x44ff041b in khtml::RenderCanvas::layout() (this=0x839bb20)
    at render_canvas.cpp:168
#14 0x44f0a15a in KHTMLView::print(bool) (this=0x8384418, quick=false)
    at khtmlview.cpp:1622
#15 0x44f09ac5 in KHTMLView::print() (this=0x0) at khtmlview.cpp:1563
#16 0x44c09f2c in KMReaderWin::printMsg() (this=0xbfffea90)
    at kmreaderwin.cpp:1363
#17 0x44d0170a in KMPrintCommand::execute() (this=0x833a2f8)
    at kmcommands.cpp:1093
#18 0x44cfc0df in KMCommand::slotPostTransfer(bool) (this=0x833a2f8, 
    success=true) at kmcommands.cpp:161
#19 0x44cf6fb9 in KMCommand::qt_invoke(int, QUObject*) (this=0x833a2f8, _id=3, 
    _o=0xbfffedb0) at kmcommands.moc:121
#20 0x44cf9e5d in KMPrintCommand::qt_invoke(int, QUObject*) (this=0x0, _id=0, 
    _o=0x0) at kmcommands.moc:1855
#21 0x40e06df9 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x833a2f8, clist=0x833a9d8, o=0xbfffedb0) at kernel/qobject.cpp:2333
#22 0x40e07757 in QObject::activate_signal_bool(int, bool) (this=0x833a2f8, 
    signal=2, param=true) at kernel/qobject.cpp:2429
#23 0x44cf6ecf in KMCommand::messagesTransfered(bool) (this=0x0, t0=true)
    at kmcommands.moc:108
#24 0x44cfc124 in KMCommand::transferSelectedMsgs() (this=0x833a2f8)
    at kmcommands.cpp:179
#25 0x44cfbf89 in KMCommand::preTransfer() (this=0x833a2f8)
    at kmcommands.cpp:153
#26 0x44cfbddf in KMCommand::start() (this=0x0) at kmcommands.cpp:106
#27 0x44d14d5a in KMMainWidget::slotPrintMsg() (this=0x8215288)
    at kmmainwidget.cpp:1389
#28 0x44d0ebee in KMMainWidget::qt_invoke(int, QUObject*) (this=0x8215288, 
    _id=187, _o=0xbffff020) at kmmainwidget.moc:588
#29 0x40e06df9 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x826eea8, clist=0x826f120, o=0xbffff020) at kernel/qobject.cpp:2333
#30 0x40e06c98 in QObject::activate_signal(int) (this=0x826eea8, signal=2)
    at kernel/qobject.cpp:2302
#31 0x406b5700 in KAction::activated() (this=0x0) at kaction.moc:157
#32 0x406b50cf in KAction::slotActivated() (this=0x0) at kaction.cpp:1054
#33 0x406b59a6 in KAction::qt_invoke(int, QUObject*) (this=0x826eea8, _id=14, 
    _o=0xbffff120) at kaction.moc:181
#34 0x40e06f46 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x82bdbc8, clist=0x82be168, o=0xbffff120) at kernel/qobject.cpp:2357
#35 0x40e06c98 in QObject::activate_signal(int) (this=0x82bdbc8, signal=4)
    at kernel/qobject.cpp:2302
#36 0x4114bc5b in QButton::clicked() (this=0x82bdbc8)
    at .moc/debug-shared-mt/moc_qbutton.cpp:152
#37 0x40e99f91 in QButton::mouseReleaseEvent(QMouseEvent*) (this=0x82bdbc8, 
    e=0xbffff4e0) at widgets/qbutton.cpp:820
#38 0x40e3e0f1 in QWidget::event(QEvent*) (this=0x82bdbc8, e=0xbffff4e0)
    at kernel/qwidget.cpp:4426
#39 0x40da4b2b in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff910, receiver=0x82bdbc8, e=0xbffff4e0)
    at kernel/qapplication.cpp:2582
#40 0x40da42ef in QApplication::notify(QObject*, QEvent*) (this=0xbffff910, 
    receiver=0x82bdbc8, e=0xbffff4e0) at kernel/qapplication.cpp:2368
#41 0x4093615d in KApplication::notify(QObject*, QEvent*) (this=0xbffff910, 
    receiver=0x82bdbc8, event=0xbffff4e0) at kapplication.cpp:506
#42 0x40d3af19 in QApplication::sendSpontaneousEvent(QObject*, QEvent*) (
    receiver=0x82bdbc8, event=0xbffff4e0) at qapplication.h:495
#43 0x40d347c1 in QETWidget::translateMouseEvent(_XEvent const*) (
    this=0x82bdbc8, event=0xbffff7f0) at kernel/qapplication_x11.cpp:4442
#44 0x40d324fd in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff910, 
    event=0xbffff7f0) at kernel/qapplication_x11.cpp:3617
#45 0x40d4c354 in QEventLoop::processEvents(unsigned) (this=0x8135e10, flags=4)
    at kernel/qeventloop_x11.cpp:192
#46 0x40dba40a in QEventLoop::enterLoop() (this=0x8135e10)
    at kernel/qeventloop.cpp:198
#47 0x40dba326 in QEventLoop::exec() (this=0x8135e10)
    at kernel/qeventloop.cpp:145
#48 0x40da4ca1 in QApplication::exec() (this=0xbffff910)
    at kernel/qapplication.cpp:2705
#49 0x0805b360 in main (argc=0, argv=0x0) at main.cpp:118
Comment 1 Stephan Kulow 2004-02-12 22:33:31 UTC

*** This bug has been marked as a duplicate of 73273 ***