Bug 73807

Summary: Crash when printing emails
Product: [Unmaintained] kmail Reporter: domseichter
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.6   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description domseichter 2004-01-30 09:16:21 UTC
Version:           1.6 (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) 
OS:          Linux

I compiled KMail from KDE_3_2_0_BRACH two days ago (along with the rest of KDE). Today I noticed that I cannot print emails. The printing dialog pop's up correctly, but as soon as I press ok, KMail crashes (if I am in contact, the whole kontact crashes).
I use the CUPS print system and a HP 640C printer and had no printing problems with KDE 3.1.5, which I used before.

I can print from other KDE applications without problems.

I get the following backtrace:

[New Thread 16384 (LWP 2742)]
0x41eb3cf7 in waitpid () from /lib/libpthread.so.0
#0  0x41eb3cf7 in waitpid () from /lib/libpthread.so.0
#1  0x412bb4e2 in KCrash::defaultCrashHandler(int) (sig=6) at kcrash.cpp:246
#2  0x41eb2895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x42025691 in kill () from /lib/libc.so.6
#5  0x41eaf511 in pthread_kill () from /lib/libpthread.so.0
#6  0x41eaf83b in raise () from /lib/libpthread.so.0
#7  0x42025424 in raise () from /lib/libc.so.6
#8  0x42026a50 in abort () from /lib/libc.so.6
#9  0x4201e9b2 in __assert_fail () from /lib/libc.so.6
#10 0x405a7705 in khtml::RenderBlock::layoutBlock(bool) (this=0x82da6c0, 
    relayoutChildren=false) at render_block.cpp:426
#11 0x405a70fe in khtml::RenderBlock::layout() (this=0x82da6c0)
    at render_block.cpp:418
#12 0x405e8550 in khtml::RenderCanvas::layout() (this=0x82da6c0)
    at render_canvas.cpp:168
#13 0x404f9b3d in KHTMLView::print(bool) (this=0x829fa50, quick=false)
    at khtmlview.cpp:1622
#14 0x404f936e in KHTMLView::print() (this=0x829fa50) at khtmlview.cpp:1563
#15 0x402039d7 in KMReaderWin::printMsg() (this=0xbfffe300)
    at kmreaderwin.cpp:1363
#16 0x4032be4c in KMPrintCommand::execute() (this=0x82a3cc8)
    at kmcommands.cpp:1093
#17 0x40326105 in KMCommand::slotPostTransfer(bool) (this=0x82a3cc8, 
    success=true) at kmcommands.cpp:161
#18 0x40321782 in KMCommand::qt_invoke(int, QUObject*) (this=0x82a3cc8, _id=3, 
    _o=0xbfffe620) at /usr/lib/qt3/include/private/qucom_p.h:369
#19 0x40323fd4 in KMPrintCommand::qt_invoke(int, QUObject*) (this=0x82a3cc8, 
    _id=3, _o=0xbfffe620) at kmcommands.moc:1855
#20 0x417f26f1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x417f2cbe in QObject::activate_signal_bool(int, bool) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40321691 in KMCommand::messagesTransfered(bool) (this=0x82a3cc8, t0=72)
    at /usr/lib/qt3/include/qmetaobject.h:261
#23 0x40326515 in KMCommand::transferSelectedMsgs() (this=0x82a3cc8)
    at kmcommands.cpp:247
#24 0x40325fec in KMCommand::preTransfer() (this=0x82a3cc8)
    at kmcommands.cpp:153
#25 0x40325d4c in KMCommand::start() (this=0x82a3cc8) at kmcommands.cpp:106
#26 0x40340777 in KMMainWidget::slotPrintMsg() (this=0x81401c8)
    at kmmainwidget.cpp:1389
#27 0x40338619 in KMMainWidget::qt_invoke(int, QUObject*) (this=0x81401c8, 
    _id=187, _o=0xbfffe8b0) at kmmainwidget.moc:588
#28 0x417f26f1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x417f24c7 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40fe1676 in KAction::activated() (this=0x81b4a60)
    at /usr/lib/qt3/include/qmetaobject.h:261
#31 0x40fe0bec in KAction::slotActivated() (this=0x81b4a60) at kaction.cpp:1054
#32 0x40fe1725 in KAction::qt_invoke(int, QUObject*) (this=0xbfffe8b0, 
    _id=-1073747772, _o=0xbfffe9d0) at kaction.moc:181
#33 0x417f2626 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x417f24c7 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x41b2bb1c in QButton::clicked() () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x41884c4c in QButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x41828c14 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x417946ef in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x41793aa3 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x41218301 in KApplication::notify(QObject*, QEvent*) (this=0xbffff3f0, 
    receiver=0x822ecd0, event=0xbfffeed0) at kapplication.cpp:505
#41 0x41728d96 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x417267ed in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0x4173baad in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0x417a8023 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0x417a7f16 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0x4179490f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0x0804a13f in main (argc=7, argv=0xbffff574)
    at /opt/kde_cvs/include/kapplication.h:191
#48 0x420118ae in __libc_start_main () from /lib/libc.so.6

CU Dom
Comment 1 Stephan Kulow 2004-01-30 09:40:47 UTC

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