Bug 116526

Summary: KMail crashes out of the blue (was not looking at it, so non-reproducable)
Product: [Unmaintained] kmail Reporter: Henk Poley <hpoley>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.8.92   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Henk Poley 2005-11-16 22:38:11 UTC
Version:           1.8.92 (using KDE 3.5 (RC1), Gentoo)
Compiler:          gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
OS:                Linux (i686) release 2.6.13-suspend2-r5

I see there are some similar crashes in bugzilla, but for older versions. 

A handfull:
Bug 111112 : KMail 1.8 (thinks it was a bug in SuSe KDE 3.4.2 RPMs..)
Bug 105701 : KMail 1.8
Bug 102290 : KMail 1.7.1 (IMAP)
Bug 97144 :
Bug 85289 : KMail 1.6.82 and 1.7.2

Somewhat related:
Bug 104288#3 : talks about ProgressItem rewrite

FYI, KMail was compiled with "-Os -march=athlon-xp -pipe -ggdb3".

Backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1246796112 (LWP 16417)]
[KCrash handler]
#4  QObject::receivers (this=0x8e428a8, signal=3) at qptrvector.h:62
#5  0xb74b589a in KPIM::ProgressItem::progressItemProgress (this=0x8e428a8, 
    t0=0x8e428a8, t1=100) at qmetaobject.h:261
#6  0xb74b5106 in KPIM::ProgressItem::setProgress (this=0x8e428a8, v=2)
    at progressmanager.cpp:105
#7  0xb7d8feff in KMail::PopAccount::slotJobFinished (this=0x8261a38)
    at popaccount.cpp:654
#8  0xb7d9204f in KMail::PopAccount::slotResult (this=0x8261a38)
    at popaccount.cpp:981
#9  0xb7d9232a in KMail::PopAccount::qt_invoke (this=0x8261a38, _id=9, 
    _o=0xbfe7a4a8) at qucom_p.h:312
#10 0xb625e053 in QObject::activate_signal (this=0x91910f8, clist=0x825bba0, 
    o=0xbfe7a4a8) at qconnection.h:56
#11 0xb6e535c8 in KIO::Job::result (this=0x91910f8, t0=0x8e428a8)
    at jobclasses.moc:162
#12 0xb6e3bb5c in KIO::Job::emitResult (this=0x91910f8) at job.cpp:222
#13 0xb6e3d16c in KIO::SimpleJob::slotFinished (this=0x91910f8) at job.cpp:570
#14 0xb6e4048f in KIO::TransferJob::slotFinished (this=0x91910f8)
    at job.cpp:938
#15 0xb6e55613 in KIO::TransferJob::qt_invoke (this=0x91910f8, _id=17, 
    _o=0xbfe7a848) at jobclasses.moc:1071
#16 0xb625e053 in QObject::activate_signal (this=0x92b85f8, clist=0x92b8470, 
    o=0xbfe7a848) at qconnection.h:56
#17 0xb625de94 in QObject::activate_signal (this=0x92b95a0, 
    signal=-1075337144) at qobject.cpp:2324
#18 0xb6e31c3e in KIO::SlaveInterface::finished (this=0x8e428a8)
    at qmetaobject.h:261
#19 0xb6e30818 in KIO::SlaveInterface::dispatch (this=0x92b85f8, _cmd=104, 
    rawdata=@0xbfe7ab68) at slaveinterface.cpp:243
#20 0xb6e2fd49 in KIO::SlaveInterface::dispatch (this=0x92b85f8)
    at slaveinterface.cpp:173
#21 0xb6e2d89b in KIO::Slave::gotInput (this=0x92b85f8) at slave.cpp:300
#22 0xb6e2f4a7 in KIO::Slave::qt_invoke (this=0x92b85f8, _id=4, _o=0xbfe7ac98)
    at slave.moc:113
#23 0xb625e053 in QObject::activate_signal (this=0x95d9888, clist=0x965b4a0, 
    o=0xbfe7ac98) at qconnection.h:56
#24 0xb625e1ad in QObject::activate_signal (this=0x95d9888, signal=2, 
    param=153851296) at qobject.cpp:2448
#25 0xb6592c72 in QSocketNotifier::activated (this=0x8e428a8, t0=149170344)
    at qmetaobject.h:261
#26 0xb627a16e in QSocketNotifier::event (this=0x95d9888, e=0xbfe7b0e8)
    at qsocketnotifier.cpp:258
#27 0xb6202b3c in QApplication::internalNotify (this=0x8e428a8, 
    receiver=0x95d9888, e=0xbfe7b0e8) at qapplication.cpp:2615
#28 0xb6201edd in QApplication::notify (this=0xbfe7b40c, receiver=0x95d9888, 
    e=0xbfe7b0e8) at qapplication.cpp:2372
#29 0xb686fe72 in KApplication::notify (this=0xbfe7b40c, receiver=0x95d9888, 
    event=0xbfe7b0e8) at kapplication.cpp:550
#30 0xb61f2795 in QEventLoop::activateSocketNotifiers (this=0x814cda8)
    at qeventloop_unix.cpp:579
#31 0xb61ac87f in QEventLoop::processEvents (this=0x814cda8, flags=4)
    at qeventloop_x11.cpp:383
#32 0xb6214a98 in QEventLoop::enterLoop (this=0x814cda8) at qeventloop.cpp:198
#33 0xb6214948 in QEventLoop::exec (this=0x814cda8) at qeventloop.cpp:145
#34 0xb6202d71 in QApplication::exec (this=0xbfe7b40c)
    at qapplication.cpp:2758
#35 0x0804a418 in main (argc=3, argv=0xbfe7b5c4) at kapplication.h:224
Comment 1 Henk Poley 2005-11-16 23:01:55 UTC
A valgrind trace just for fun.

When I started the testrun valgrind returned to the prompt ("henk@MFL ~/eclipse $") when the KMail window popped up but kept spewing out info. I let it all run for a while. After I stopped KMail (right click on taskbar, option 'close') valgrind kept running, so I sent a signal to it with `killall valgrind` ("*** KMail got signal 15 (Exiting)").

Dunno how usefull it is, but it might be an idea to look into these memory leaks. It would make using valgrind more usable. The few "Conditional jump or move depends on uninitialised value(s)" are from glibc / X11 / KHTML oddities, or (probably) outside of KMail (kDebugBackend).

henk@MFL ~/eclipse $ valgrind --leak-check=full kmail
==17793== Memcheck, a memory error detector for x86-linux.
==17793== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==17793== Using valgrind-2.4.0, a program supervision framework for x86-linux.
==17793== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==17793== For more details, rerun with: -v
==17793==
==17793== Conditional jump or move depends on uninitialised value(s)
==17793==    at 0x1DD0A7DA: strstr (strstr.c:83)
==17793==    by 0x1DB8384D: __pthread_initialize_minimal (smp.h:51)
==17793==    by 0x1DB83387: ??? (crti.S:14)
==17793==    by 0x1DB82F07: ??? (crti.S:26)
==17793==    by 0x1B8EF60C: call_init (dl-init.c:70)
==17793==    by 0x1B8EF799: _dl_init (dl-init.c:101)
==17793==    by 0x1B8E481E: (within /lib/ld-2.3.5.so)
==17793==
==17793== Conditional jump or move depends on uninitialised value(s)
==17793==    at 0x1DD0A7C6: strstr (strstr.c:85)
==17793==    by 0x1DB8384D: __pthread_initialize_minimal (smp.h:51)
==17793==    by 0x1DB83387: ??? (crti.S:14)
==17793==    by 0x1DB82F07: ??? (crti.S:26)
==17793==    by 0x1B8EF60C: call_init (dl-init.c:70)
==17793==    by 0x1B8EF799: _dl_init (dl-init.c:101)
==17793==    by 0x1B8E481E: (within /lib/ld-2.3.5.so)
==17863==
==17863== Syscall param write(buf) points to uninitialised byte(s)
==17863==    at 0x1DB89723: __write_nocancel (in /lib/libpthread-2.3.5.so)
==17863==    by 0x1DAF383D: _X11TransWrite (Xtrans.c:893)
==17863==    by 0x1DADAB3A: _XFlushInt (XlibInt.c:644)
==17863==    by 0x1DADBD3A: _XReply (XlibInt.c:1683)
==17863==    by 0x1DACC5B2: XInternAtom (IntAtom.c:182)
==17863==    by 0x1DAE3393: XSetWMProperties (WMProps.c:142)
==17863==    by 0x1D3B8FB6: QWidget::create(unsigned long, bool, bool) (qwidget_x11.cpp:615)
==17863==    by 0x1D47CAB7: QWidget::QWidget(QWidget*, char const*, unsigned) (qwidget.cpp:889)
==17863==    by 0x1CF463A0: KApplication::init(bool) (kapplication.cpp:946)
==17863==    by 0x1CF457D0: KApplication::KApplication(bool, bool, KInstance*) (kapplication.cpp:693)
==17863==    by 0x1CFED3FD: KUniqueApplication::KUniqueApplication(bool, bool, bool) (kuniqueapplication.cpp:320)
==17863==    by 0x804A367: main (main.cpp:42)
==17863==  Address 0x1DE496F8 is 240 bytes inside a block of size 16384 alloc'd
==17863==    at 0x1B904BDF: calloc (vg_replace_malloc.c:176)
==17863==    by 0x1DACF8B1: XOpenDisplay (OpenDis.c:263)
==17863==    by 0x1D381699: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (qapplication_x11.cpp:1693)
==17863==    by 0x1D38233D: qt_init(int*, char**, QApplication::Type) (qapplication_x11.cpp:2335)
==17863==    by 0x1D3ECCE4: QApplication::construct(int&, char**, QApplication::Type) (qapplication.cpp:813)
==17863==    by 0x1D3ECA28: QApplication::QApplication(int&, char**, bool) (qapplication.cpp:773)
==17863==    by 0x1CF456B3: KApplication::KApplication(bool, bool, KInstance*) (kapplication.cpp:682)
==17863==    by 0x1CFED3FD: KUniqueApplication::KUniqueApplication(bool, bool, bool) (kuniqueapplication.cpp:320)
==17863==    by 0x804A367: main (main.cpp:42)
==17863== Warning: ignored attempt to set SIGKILL handler in sigaction();
==17863==          the SIGKILL signal is uncatchable
==17863==
==17863== Syscall param write(buf) points to uninitialised byte(s)
==17863==    at 0x1DB89723: __write_nocancel (in /lib/libpthread-2.3.5.so)
==17863==    by 0x1DAF383D: _X11TransWrite (Xtrans.c:893)
==17863==    by 0x1DADAB3A: _XFlushInt (XlibInt.c:644)
==17863==    by 0x1DADAA65: _XFlush (XlibInt.c:589)
==17863==    by 0x1DADAC05: _XEventsQueued (XlibInt.c:717)
==17863==    by 0x1DAD0CC6: XPending (Pending.c:54)
==17863==    by 0x1D39BD97: QEventLoop::processEvents(unsigned) (qpaintdevice.h:356)
==17863==    by 0x1D403A97: QEventLoop::enterLoop() (qeventloop.cpp:198)
==17863==    by 0x1D403947: QEventLoop::exec() (qeventloop.cpp:145)
==17863==    by 0x1D3F1D70: QApplication::exec() (qapplication.cpp:2758)
==17863==    by 0x804A417: main (kapplication.h:224)
==17863==  Address 0x1DE496FD is 245 bytes inside a block of size 16384 alloc'd
==17863==    at 0x1B904BDF: calloc (vg_replace_malloc.c:176)
==17863==    by 0x1DACF8B1: XOpenDisplay (OpenDis.c:263)
==17863==    by 0x1D381699: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (qapplication_x11.cpp:1693)
==17863==    by 0x1D38233D: qt_init(int*, char**, QApplication::Type) (qapplication_x11.cpp:2335)
==17863==    by 0x1D3ECCE4: QApplication::construct(int&, char**, QApplication::Type) (qapplication.cpp:813)
==17863==    by 0x1D3ECA28: QApplication::QApplication(int&, char**, bool) (qapplication.cpp:773)
==17863==    by 0x1CF456B3: KApplication::KApplication(bool, bool, KInstance*) (kapplication.cpp:682)
==17863==    by 0x1CFED3FD: KUniqueApplication::KUniqueApplication(bool, bool, bool) (kuniqueapplication.cpp:320)
==17863==    by 0x804A367: main (main.cpp:42)
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
==17863==
==17863== Conditional jump or move depends on uninitialised value(s)
==17863==    at 0x1CF569D9: kDebugBackend(unsigned short, unsigned, char const*) (kdebug.cpp:300)
==17863==    by 0x1CF57697: kdbgstream::flush() (qmemarray.h:64)
==17863==    by 0x1BCC2761: endl(kdbgstream&) (kdebug.h:232)
==17863==    by 0x1CCA99D5: KAction::plugAccel(KAccel*, bool) (kdebug.h:260)
==17863==    by 0x1BBECBCE: KMMainWidget::setupActions() (kmmainwidget.h:235)
==17863==    by 0x1BBE3510: KMMainWidget::KMMainWidget(QWidget*, char const*, KXMLGUIClient*, KActionCollection*, KConfig*) (kmmainwidget.cpp:170)
==17863==    by 0x1BA799E2: KMMainWin::KMMainWin(QWidget*) (kmmainwin.cpp:42)
==17863==    by 0x1BB8791C: KMKernel::openReader(bool) (kmkernel.cpp:349)
==17863==    by 0x1BB8D069: KMKernel::action(bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, KURL const&, KURL::List const&) (kmkernel.cpp:1798)
==17863==    by 0x1BB87707: KMKernel::handleCommandLine(bool) (kmkernel.cpp:302)
==17863==    by 0x804A2E1: KMailApplication::newInstance() (kmkernel.h:222)
==17863==    by 0x1CFEDF65: KUniqueApplication::processDelayed() (kuniqueapplication.cpp:444)
==17863==
==17863== Conditional jump or move depends on uninitialised value(s)
==17863==    at 0x1CF569DF: kDebugBackend(unsigned short, unsigned, char const*) (kdebug.cpp:300)
==17863==    by 0x1CF57697: kdbgstream::flush() (qmemarray.h:64)
==17863==    by 0x1BCC2761: endl(kdbgstream&) (kdebug.h:232)
==17863==    by 0x1CCA99D5: KAction::plugAccel(KAccel*, bool) (kdebug.h:260)
==17863==    by 0x1BBECBCE: KMMainWidget::setupActions() (kmmainwidget.h:235)
==17863==    by 0x1BBE3510: KMMainWidget::KMMainWidget(QWidget*, char const*, KXMLGUIClient*, KActionCollection*, KConfig*) (kmmainwidget.cpp:170)
==17863==    by 0x1BA799E2: KMMainWin::KMMainWin(QWidget*) (kmmainwin.cpp:42)
==17863==    by 0x1BB8791C: KMKernel::openReader(bool) (kmkernel.cpp:349)
==17863==    by 0x1BB8D069: KMKernel::action(bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, KURL const&, KURL::List const&) (kmkernel.cpp:1798)
==17863==    by 0x1BB87707: KMKernel::handleCommandLine(bool) (kmkernel.cpp:302)
==17863==    by 0x804A2E1: KMailApplication::newInstance() (kmkernel.h:222)
==17863==    by 0x1CFEDF65: KUniqueApplication::processDelayed() (kuniqueapplication.cpp:444)
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x1deccc38 ): KAccel object already contains an action name "delete"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x1deccc38 ): KAccel object already contains an action name "edit"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x1deccc38 ): KAccel object already contains an action name "display_message"
==17793==
==17793== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 148 from 1)
==17793== malloc/free: in use at exit: 4159 bytes in 173 blocks.
==17793== malloc/free: 6538 allocs, 6365 frees, 157648 bytes allocated.
==17793== For counts of detected errors, rerun with: -v
==17793== searching for pointers to 173 not-freed blocks.
==17793== checked 1970220 bytes.
==17793==
==17793== LEAK SUMMARY:
==17793==    definitely lost: 0 bytes in 0 blocks.
==17793==      possibly lost: 0 bytes in 0 blocks.
==17793==    still reachable: 4159 bytes in 173 blocks.
==17793==         suppressed: 0 bytes in 0 blocks.
==17793== Reachable blocks (those to which a pointer was found) are not shown.
==17793== To see them, rerun with: --show-reachable=yes
henk@MFL ~/eclipse $ ==17863==
==17863== Conditional jump or move depends on uninitialised value(s)
==17863==    at 0x1BE4B3E6: KHTMLPart::clear() (khtml_part.cpp:1369)
==17863==    by 0x1BE4DEEE: KHTMLPart::begin(KURL const&, int, int) (khtml_part.cpp:1879)
==17863==    by 0x1BBB814E: KMail::KHtmlPartHtmlWriter::begin(QString const&) (khtmlparthtmlwriter.cpp:75)
==17863==    by 0x1BAFD52A: KMReaderWin::updateReaderWin() (kmreaderwin.h:215)
==17863==    by 0x1BAFC470: KMReaderWin::setMsg(KMMessage*, bool) (kmreaderwin.cpp:1210)
==17863==    by 0x1BBE9EC2: KMMainWidget::folderSelected(KMFolder*, bool) (kmreaderwin.h:160)
==17863==    by 0x1BBE21C7: KMMainWidget::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44CFCC: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1BAB9182: KMFolderTree::folderSelected(KMFolder*) (kmfoldertree.moc:384)
==17863==    by 0x1BAB5BE3: KMFolderTree::doFolderSelected(QListViewItem*) (kmfoldertree.cpp:932)
==17863==    by 0x1BAB8615: KMFolderTree::showFolder(KMFolder*) (kmfoldertree.cpp:1727)
==17863==    by 0x1BBF3983: KMMainWidget::slotShowStartupFolder() (kmmainwidget.cpp:3158)
==17863==
==17863== Conditional jump or move depends on uninitialised value(s)
==17863==    at 0x1BE4B3E6: KHTMLPart::clear() (khtml_part.cpp:1369)
==17863==    by 0x1BE4DEEE: KHTMLPart::begin(KURL const&, int, int) (khtml_part.cpp:1879)
==17863==    by 0x1BBB814E: KMail::KHtmlPartHtmlWriter::begin(QString const&) (khtmlparthtmlwriter.cpp:75)
==17863==    by 0x1BAFD86F: KMReaderWin::displayMessage() (kmreaderwin.h:215)
==17863==    by 0x1BAFD4C0: KMReaderWin::updateReaderWin() (kmreaderwin.cpp:1404)
==17863==    by 0x1BB02B36: KMReaderWin::qt_invoke(int, QUObject*) (kmreaderwin.moc:280)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1D44CE93: QObject::activate_signal(int) (qobject.cpp:2324)
==17863==    by 0x1D7830AA: QTimer::timeout() (qmetaobject.h:261)
==17863==    by 0x1D46DFDF: QTimer::event(QEvent*) (qtimer.cpp:219)
==17863==    by 0x1D3F1B3B: QApplication::internalNotify(QObject*, QEvent*) (qapplication.cpp:2615)
==17863==    by 0x1D3F0EDC: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:2372)
==17863==
==17863== Syscall param write(buf) points to uninitialised byte(s)
==17863==    at 0x1DD4B263: __write_nocancel (in /lib/libc-2.3.5.so)
==17863==    by 0x1DCFF6FD: new_do_write (fileops.c:514)
==17863==    by 0x1DCFF69E: _IO_do_write@@GLIBC_2.1 (fileops.c:488)
==17863==    by 0x1DD002B9: _IO_file_sync@@GLIBC_2.1 (fileops.c:907)
==17863==    by 0x1DCF5A6F: fflush (iofflush.c:43)
==17863==    by 0x1BB7BCE3: KMFolderMaildir::addMsgInternal(KMMessage*, int*, bool) (kmfoldermaildir.cpp:510)
==17863==    by 0x1BB7B3A8: KMFolderMaildir::addMsg(KMMessage*, int*) (kmfoldermaildir.cpp:365)
==17863==    by 0x1BB06117: FolderStorage::moveMsg(KMMessage*, int*) (folderstorage.cpp:590)
==17863==    by 0x1BAF1A41: KMFolder::moveMsg(KMMessage*, int*) (kmfolder.cpp:409)
==17863==    by 0x1BB24005: KMFilterMgr::process(KMMessage*, KMFilterMgr::FilterSet, bool, unsigned) (kmfiltermgr.cpp:278)
==17863==    by 0x1BAC0DCC: KMAccount::processNewMsg(KMMessage*) (kmkernel.h:222)
==17863==    by 0x1BB81142: KMail::PopAccount::slotProcessPendingMsgs() (qvaluelist.h:110)
==17863==  Address 0x229B0038 is not stack'd, malloc'd or (recently) free'd
==17863==
==17863== Syscall param write(buf) points to uninitialised byte(s)
==17863==    at 0x1DD4B263: __write_nocancel (in /lib/libc-2.3.5.so)
==17863==    by 0x1DCFF6FD: new_do_write (fileops.c:514)
==17863==    by 0x1DCFF69E: _IO_do_write@@GLIBC_2.1 (fileops.c:488)
==17863==    by 0x1DD00143: _IO_file_overflow@@GLIBC_2.1 (fileops.c:865)
==17863==    by 0x1DD015D8: _IO_switch_to_get_mode (genops.c:178)
==17863==    by 0x1DD003F5: _IO_file_seekoff@@GLIBC_2.1 (fileops.c:970)
==17863==    by 0x1DCF7A30: _IO_seekoff_unlocked (ioseekoff.c:71)
==17863==    by 0x1DCFCB97: fseek (fseek.c:41)
==17863==    by 0x1BB451FF: KMMsgBase::syncIndexString() const (kmmsgbase.cpp:1331)
==17863==    by 0x1BBF5AAB: KMFolderIndex::updateIndex() (qmemarray.h:102)
==17863==    by 0x1BB7A9A8: KMFolderMaildir::close(bool) (kmfoldermaildir.cpp:240)
==17863==    by 0x1BAF1C0E: KMFolder::close(bool) (kmfolder.cpp:473)
==17863==  Address 0x229BEDC5 is not stack'd, malloc'd or (recently) free'd
==17863==
==17863== Syscall param write(buf) points to uninitialised byte(s)
==17863==    at 0x1DD4B263: __write_nocancel (in /lib/libc-2.3.5.so)
==17863==    by 0x1DCFF6FD: new_do_write (fileops.c:514)
==17863==    by 0x1DCFF69E: _IO_do_write@@GLIBC_2.1 (fileops.c:488)
==17863==    by 0x1DCFEEE1: _IO_file_close_it@@GLIBC_2.1 (fileops.c:168)
==17863==    by 0x1DCF572C: fclose@@GLIBC_2.1 (iofclose.c:62)
==17863==    by 0x1BB7A9D6: KMFolderMaildir::close(bool) (kmfoldermaildir.cpp:247)
==17863==    by 0x1BAF1C0E: KMFolder::close(bool) (kmfolder.cpp:473)
==17863==    by 0x1BB242A0: KMFilterMgr::deref(bool) (kmfiltermgr.cpp:351)
==17863==    by 0x1BB13906: KMail::AccountManager::processNextCheck(bool) (kmkernel.h:222)
==17863==    by 0x1BB14DEE: KMail::AccountManager::qt_invoke(int, QUObject*) (qucom_p.h:369)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1BABF8E6: KMAccount::finishedCheck(bool, KMAccount::CheckStatus) (kmaccount.moc:218)
==17863==  Address 0x229BF367 is not stack'd, malloc'd or (recently) free'd
==17863==
==17863== Conditional jump or move depends on uninitialised value(s)
==17863==    at 0x1BE4B3E6: KHTMLPart::clear() (khtml_part.cpp:1369)
==17863==    by 0x1BE466AA: KHTMLPart::~KHTMLPart() (khtml_part.cpp:505)
==17863==    by 0x1C49739A: KParts::Part::slotWidgetDestroyed() (part.cpp:268)
==17863==    by 0x1C4997F2: KParts::Part::qt_invoke(int, QUObject*) (part.moc:108)
==17863==    by 0x1C499C29: KParts::ReadOnlyPart::qt_invoke(int, QUObject*) (part.moc:261)
==17863==    by 0x1BE6C875: KHTMLPart::qt_invoke(int, QUObject*) (khtml_part.moc:574)
==17863==    by 0x1D44CFCC: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1D44CE93: QObject::activate_signal(int) (qobject.cpp:2324)
==17863==    by 0x1D77F96A: QObject::destroyed() (qmetaobject.h:261)
==17863==    by 0x1D449D2A: QObject::~QObject() (qobject.cpp:446)
==17863==    by 0x1D47CEAE: QWidget::~QWidget() (qwidget.cpp:983)
==17863==    by 0x1D55C486: QScrollView::~QScrollView() (qscrollview.cpp:582)
*** KMail got signal 15 (Exiting)
==17863==
==17863== Conditional jump or move depends on uninitialised value(s)
==17863==    at 0x1DBA1217: longest_match (deflate.c:1138)
==17863==    by 0x1DBA19CF: deflate_slow (deflate.c:1595)
==17863==    by 0x1DBA0C0D: deflate (deflate.c:790)
==17863==    by 0x1DA85465: png_write_finish_row (pngwutil.c:1848)
==17863==    by 0x1DA88056: png_write_filtered_row (pngwutil.c:2718)
==17863==    by 0x1DA87EBB: png_write_find_filter (pngwutil.c:2653)
==17863==    by 0x1DA8B115: png_write_row (pngwrite.c:897)
==17863==    by 0x1DA8AE6F: png_write_image (pngwrite.c:725)
==17863==    by 0x1D6C772E: QPNGImageWriter::writeImage(QImage const&, int, int, int) (qpngio.cpp:623)
==17863==    by 0x1D6C7A89: write_png_image(QImageIO*) (qpngio.h:75)
==17863==    by 0x1D4223F6: QImageIO::write() (qimage.cpp:4497)
==17863==    by 0x1D420AB7: operator<<(QDataStream&, QImage const&) (qimage.cpp:3586)
==17863==
==17863== Conditional jump or move depends on uninitialised value(s)
==17863==    at 0x1DBA11C5: longest_match (deflate.c:1121)
==17863==    by 0x1DBA19CF: deflate_slow (deflate.c:1595)
==17863==    by 0x1DBA0C0D: deflate (deflate.c:790)
==17863==    by 0x1DA85465: png_write_finish_row (pngwutil.c:1848)
==17863==    by 0x1DA88056: png_write_filtered_row (pngwutil.c:2718)
==17863==    by 0x1DA87EBB: png_write_find_filter (pngwutil.c:2653)
==17863==    by 0x1DA8B115: png_write_row (pngwrite.c:897)
==17863==    by 0x1DA8AE6F: png_write_image (pngwrite.c:725)
==17863==    by 0x1D6C772E: QPNGImageWriter::writeImage(QImage const&, int, int, int) (qpngio.cpp:623)
==17863==    by 0x1D6C7A89: write_png_image(QImageIO*) (qpngio.h:75)
==17863==    by 0x1D4223F6: QImageIO::write() (qimage.cpp:4497)
==17863==    by 0x1D420AB7: operator<<(QDataStream&, QImage const&) (qimage.cpp:3586)
==17863==
==17863== ERROR SUMMARY: 2005 errors from 14 contexts (suppressed: 186 from 3)
==17863== malloc/free: in use at exit: 3196367 bytes in 62501 blocks.
==17863== malloc/free: 2281449 allocs, 2218948 frees, 89925730 bytes allocated.
==17863== For counts of detected errors, rerun with: -v
==17863== searching for pointers to 62501 not-freed blocks.
==17863== checked 5121092 bytes.
==17863==
==17863==
==17863== 4 bytes in 1 blocks are definitely lost in loss record 27 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1E510BE9: libkmail_bodypartformatter_text_vcard_create_bodypart_formatter_plugin (text_vcard.cpp:165)
==17863==    by 0x1BCD0DA3: KPIM::PluginLoader<KMail::Interface::BodyPartFormatterPlugin, (anonymous namespace)::(anonymous namespace)::BodyPartFormatterPluginLoaderConfig>::createForName(QString const&) const (pluginloader.h:114)
==17863==    by 0x1BBC8B78: loadPlugins() (qvaluelist.h:186)
==17863==    by 0x1BBC92A7: setup() (bodypartformatterfactory.cpp:145)
==17863==    by 0x1BBC92F5: KMail::BodyPartFormatterFactory::createFor(char const*, char const*) const (bodypartformatterfactory.cpp:156)
==17863==    by 0x1BBC971A: KMail::BodyPartFormatterFactory::createFor(QCString const&, QCString const&) const (qmemarray.h:64)
==17863==    by 0x1BBBA5A6: KMail::ObjectTreeParser::parseObjectTree(partNode*) (objecttreeparser.cpp:252)
==17863==    by 0x1BAFDEE9: KMReaderWin::parseMsg(KMMessage*) (kmreaderwin.cpp:1533)
==17863==    by 0x1BAFD930: KMReaderWin::displayMessage() (kmreaderwin.cpp:1468)
==17863==    by 0x1BAFD4C0: KMReaderWin::updateReaderWin() (kmreaderwin.cpp:1404)
==17863==    by 0x1BB02B36: KMReaderWin::qt_invoke(int, QUObject*) (kmreaderwin.moc:280)
==17863==
==17863==
==17863== 4 bytes in 1 blocks are definitely lost in loss record 32 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1E506AD9: libkmail_bodypartformatter_text_xdiff_create_bodypart_formatter_plugin (text_xdiff.cpp:151)
==17863==    by 0x1BCD0DA3: KPIM::PluginLoader<KMail::Interface::BodyPartFormatterPlugin, (anonymous namespace)::(anonymous namespace)::BodyPartFormatterPluginLoaderConfig>::createForName(QString const&) const (pluginloader.h:114)
==17863==    by 0x1BBC8B78: loadPlugins() (qvaluelist.h:186)
==17863==    by 0x1BBC92A7: setup() (bodypartformatterfactory.cpp:145)
==17863==    by 0x1BBC92F5: KMail::BodyPartFormatterFactory::createFor(char const*, char const*) const (bodypartformatterfactory.cpp:156)
==17863==    by 0x1BBC971A: KMail::BodyPartFormatterFactory::createFor(QCString const&, QCString const&) const (qmemarray.h:64)
==17863==    by 0x1BBBA5A6: KMail::ObjectTreeParser::parseObjectTree(partNode*) (objecttreeparser.cpp:252)
==17863==    by 0x1BAFDEE9: KMReaderWin::parseMsg(KMMessage*) (kmreaderwin.cpp:1533)
==17863==    by 0x1BAFD930: KMReaderWin::displayMessage() (kmreaderwin.cpp:1468)
==17863==    by 0x1BAFD4C0: KMReaderWin::updateReaderWin() (kmreaderwin.cpp:1404)
==17863==    by 0x1BB02B36: KMReaderWin::qt_invoke(int, QUObject*) (kmreaderwin.moc:280)
==17863==
==17863==
==17863== 4 bytes in 1 blocks are definitely lost in loss record 54 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1F5F7079: libkmail_bodypartformatter_application_octetstream_create_bodypart_formatter_plugin (app_octetstream.cpp:64)
==17863==    by 0x1BCD0DA3: KPIM::PluginLoader<KMail::Interface::BodyPartFormatterPlugin, (anonymous namespace)::(anonymous namespace)::BodyPartFormatterPluginLoaderConfig>::createForName(QString const&) const (pluginloader.h:114)
==17863==    by 0x1BBC8B78: loadPlugins() (qvaluelist.h:186)
==17863==    by 0x1BBC92A7: setup() (bodypartformatterfactory.cpp:145)
==17863==    by 0x1BBC92F5: KMail::BodyPartFormatterFactory::createFor(char const*, char const*) const (bodypartformatterfactory.cpp:156)
==17863==    by 0x1BBC971A: KMail::BodyPartFormatterFactory::createFor(QCString const&, QCString const&) const (qmemarray.h:64)
==17863==    by 0x1BBBA5A6: KMail::ObjectTreeParser::parseObjectTree(partNode*) (objecttreeparser.cpp:252)
==17863==    by 0x1BAFDEE9: KMReaderWin::parseMsg(KMMessage*) (kmreaderwin.cpp:1533)
==17863==    by 0x1BAFD930: KMReaderWin::displayMessage() (kmreaderwin.cpp:1468)
==17863==    by 0x1BAFD4C0: KMReaderWin::updateReaderWin() (kmreaderwin.cpp:1404)
==17863==    by 0x1BB02B36: KMReaderWin::qt_invoke(int, QUObject*) (kmreaderwin.moc:280)
==17863==
==17863==
==17863== 4 bytes in 1 blocks are definitely lost in loss record 60 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1FDDAFD9: libkmail_bodypartformatter_text_calendar_create_bodypart_formatter_plugin (text_calendar.cpp:408)
==17863==    by 0x1BCD0DA3: KPIM::PluginLoader<KMail::Interface::BodyPartFormatterPlugin, (anonymous namespace)::(anonymous namespace)::BodyPartFormatterPluginLoaderConfig>::createForName(QString const&) const (pluginloader.h:114)
==17863==    by 0x1BBC8B78: loadPlugins() (qvaluelist.h:186)
==17863==    by 0x1BBC92A7: setup() (bodypartformatterfactory.cpp:145)
==17863==    by 0x1BBC92F5: KMail::BodyPartFormatterFactory::createFor(char const*, char const*) const (bodypartformatterfactory.cpp:156)
==17863==    by 0x1BBC971A: KMail::BodyPartFormatterFactory::createFor(QCString const&, QCString const&) const (qmemarray.h:64)
==17863==    by 0x1BBBA5A6: KMail::ObjectTreeParser::parseObjectTree(partNode*) (objecttreeparser.cpp:252)
==17863==    by 0x1BAFDEE9: KMReaderWin::parseMsg(KMMessage*) (kmreaderwin.cpp:1533)
==17863==    by 0x1BAFD930: KMReaderWin::displayMessage() (kmreaderwin.cpp:1468)
==17863==    by 0x1BAFD4C0: KMReaderWin::updateReaderWin() (kmreaderwin.cpp:1404)
==17863==    by 0x1BB02B36: KMReaderWin::qt_invoke(int, QUObject*) (kmreaderwin.moc:280)
==17863==
==17863==
==17863== 24 (12 direct, 12 indirect) bytes in 1 blocks are definitely lost in loss record 225 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1BB83C82: KMail::PopAccount::saveUidList() (qvaluelist.h:432)
==17863==    by 0x1BB83A7D: KMail::PopAccount::slotJobFinished() (popaccount.cpp:772)
==17863==    by 0x1BB8504E: KMail::PopAccount::slotResult(KIO::Job*) (popaccount.cpp:981)
==17863==    by 0x1BB85329: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C9775C7: KIO::Job::result(KIO::Job*) (jobclasses.moc:162)
==17863==    by 0x1C95FB5B: KIO::Job::emitResult() (job.cpp:222)
==17863==    by 0x1C96116B: KIO::SimpleJob::slotFinished() (job.cpp:570)
==17863==    by 0x1C96448E: KIO::TransferJob::slotFinished() (job.cpp:938)
==17863==    by 0x1C979612: KIO::TransferJob::qt_invoke(int, QUObject*) (jobclasses.moc:1071)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==
==17863==
==17863== 216 bytes in 1 blocks are definitely lost in loss record 332 of 862
==17863==    at 0x1B9042FF: malloc (vg_replace_malloc.c:130)
==17863==    by 0x1D11EAD4: _XimOpenIM (imInt.c:208)
==17863==    by 0x1DB15DE4: _XDynamicOpenIM (XlcDL.c:449)
==17863==    by 0x1D11E58E: _XimRegisterIMInstantiateCallback (imInsClbk.c:193)
==17863==    by 0x1DB15EC5: _XDynamicRegisterIMInstantiateCallback (XlcDL.c:497)
==17863==    by 0x1DAEFE38: XRegisterIMInstantiateCallback (IMWrap.c:191)
==17863==    by 0x1D37FEA4: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (qapplication_x11.cpp:2117)
==17863==    by 0x1D38233D: qt_init(int*, char**, QApplication::Type) (qapplication_x11.cpp:2335)
==17863==    by 0x1D3ECCE4: QApplication::construct(int&, char**, QApplication::Type) (qapplication.cpp:813)
==17863==    by 0x1D3ECA28: QApplication::QApplication(int&, char**, bool) (qapplication.cpp:773)
==17863==    by 0x1CF456B3: KApplication::KApplication(bool, bool, KInstance*) (kapplication.cpp:682)
==17863==    by 0x1CFED3FD: KUniqueApplication::KUniqueApplication(bool, bool, bool) (kuniqueapplication.cpp:320)
==17863==
==17863==
==17863== 37758 (52 direct, 37706 indirect) bytes in 1 blocks are definitely lost in loss record 418 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1D068AAB: QMapPrivate<KEntryKey, KEntry>::insert(QMapNodeBase*, QMapNodeBase*, KEntryKey const&) (qmap.h:552)
==17863==    by 0x1D0643C8: QMapPrivate<KEntryKey, KEntry>::insertSingle(KEntryKey const&) (qmap.h:535)
==17863==    by 0x1D058887: QMap<KEntryKey, KEntry>::insert(KEntryKey const&, KEntry const&, bool) (qmap.h:822)
==17863==    by 0x1D0589DF: QMap<KEntryKey, KEntry>::operator[](KEntryKey const&) (kconfigdata.h:36)
==17863==    by 0x1CF705B7: KConfig::putData(KEntryKey const&, KEntry const&, bool) (kconfig.cpp:219)
==17863==    by 0x1CF742E8: KConfigINIBackEnd::parseSingleConfigFile(QFile&, QMap<KEntryKey, KEntry>*, bool, bool) (kconfigbackend.cpp:698)
==17863==    by 0x1CF7382D: KConfigINIBackEnd::parseConfigFiles() (qvaluelist.h:186)
==17863==    by 0x1CF6E9E2: KConfigBase::parseConfigFiles() (kconfigbase.cpp:1673)
==17863==    by 0x1CF70283: KConfig::reparseConfiguration() (kconfig.cpp:174)
==17863==    by 0x1CF6F840: KConfig::KConfig(QString const&, bool, bool, char const*) (kconfig.cpp:64)
==17863==    by 0x1BB840D8: KMail::PopAccount::saveUidList() (popaccount.cpp:819)
==17863==
==17863==
==17863== 5260 (24 direct, 5236 indirect) bytes in 1 blocks are definitely lost in loss record 479 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1C4CE16B: QMapPrivate<QString, ContactPresenceListCurrent>::insert(QMapNodeBase*, QMapNodeBase*, QString const&) (qmap.h:552)
==17863==    by 0x1C4CDF08: QMapPrivate<QString, ContactPresenceListCurrent>::insertSingle(QString const&) (qmap.h:535)
==17863==    by 0x1C4CD606: QMap<QString, ContactPresenceListCurrent>::insert(QString const&, ContactPresenceListCurrent const&, bool) (qmap.h:822)
==17863==    by 0x1C4CD56D: QMap<QString, ContactPresenceListCurrent>::operator[](QString const&) (qvaluelist.h:432)
==17863==    by 0x1C4C808A: KIMProxy::pollApp(QCString const&) (qvaluelist.h:110)
==17863==    by 0x1C4C663B: KIMProxy::initialize() (qvaluelist.h:110)
==17863==    by 0x1BB8BDE9: KMKernel::init() (kmkernel.cpp:1418)
==17863==    by 0x804A3B7: main (main.cpp:96)
==17863==
==17863==
==17863== 216 (24 direct, 192 indirect) bytes in 2 blocks are definitely lost in loss record 489 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1BCA2EFF: QValueListPrivate<QString>::insert(QValueListIterator<QString>, QString const&) (qvaluelist.h:289)
==17863==    by 0x1D72DEF1: QDataStream& operator>><QString>(QDataStream&, QValueList<QString>&) (qvaluelist.h:477)
==17863==    by 0x1D72DB85: operator>>(QDataStream&, QStringList&) (qstringlist.cpp:438)
==17863==    by 0x1C9F9C40: KService::load(QDataStream&) (qdatastream.h:162)
==17863==    by 0x1C9F90FF: KService::KService(QDataStream&, int) (kservice.cpp:265)
==17863==    by 0x1C9FDECF: KServiceFactory::createEntry(int) (kservicefactory.cpp:190)
==17863==    by 0x1C9FE4DF: KServiceFactory::offers(int) (kservicefactory.cpp:273)
==17863==    by 0x1C9E698E: KServiceType::offers(QString const&) (ksycocaentry.h:164)
==17863==    by 0x1C9FEDF3: KServiceTypeProfile::offers(QString const&, QString const&) (kuserprofile.cpp:155)
==17863==    by 0x1C9DED31: KTrader::query(QString const&, QString const&, QString const&, QString const&) const (qvaluelist.h:444)
==17863==    by 0x1C9DEC77: KTrader::query(QString const&, QString const&, QString const&) const (ktrader.cpp:109)
==17863==
==17863==
==17863== 504 (24 direct, 480 indirect) bytes in 1 blocks are definitely lost in loss record 542 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1BCDA69B: QMapPrivate<QString, QVariant>::insert(QMapNodeBase*, QMapNodeBase*, QString const&) (qmap.h:552)
==17863==    by 0x1BCDA5A4: QMapPrivate<QString, QVariant>::insertSingle(QString const&) (qmap.h:543)
==17863==    by 0x1BCDA2AC: QMap<QString, QVariant>::insert(QString const&, QVariant const&, bool) (qmap.h:822)
==17863==    by 0x1CA59079: QDataStream& operator>><QString, QVariant>(QDataStream&, QMap<QString, QVariant>&) (qmap.h:853)
==17863==    by 0x1C9F9C5E: KService::load(QDataStream&) (qdatastream.h:162)
==17863==    by 0x1C9F90FF: KService::KService(QDataStream&, int) (kservice.cpp:265)
==17863==    by 0x1C9FDECF: KServiceFactory::createEntry(int) (kservicefactory.cpp:190)
==17863==    by 0x1C9FE4DF: KServiceFactory::offers(int) (kservicefactory.cpp:273)
==17863==    by 0x1C9E698E: KServiceType::offers(QString const&) (ksycocaentry.h:164)
==17863==    by 0x1C9FEDF3: KServiceTypeProfile::offers(QString const&, QString const&) (kuserprofile.cpp:155)
==17863==    by 0x1C9DED31: KTrader::query(QString const&, QString const&, QString const&, QString const&) const (qvaluelist.h:444)
==17863==
==17863==
==17863== 56 bytes in 14 blocks are definitely lost in loss record 564 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1BB84C64: KMail::PopAccount::slotData(KIO::Job*, QMemArray<char> const&) (popaccount.cpp:919)
==17863==    by 0x1BB8531B: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C979110: KIO::TransferJob::data(KIO::Job*, QMemArray<char> const&) (jobclasses.moc:993)
==17863==    by 0x1C963D33: KIO::TransferJob::slotData(QMemArray<char> const&) (job.cpp:900)
==17863==    by 0x1C979629: KIO::TransferJob::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C955AA7: KIO::SlaveInterface::data(QMemArray<char> const&) (slaveinterface.moc:194)
==17863==    by 0x1C953FD4: KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) (slaveinterface.cpp:234)
==17863==    by 0x1C953D48: KIO::SlaveInterface::dispatch() (slaveinterface.cpp:173)
==17863==    by 0x1C95189A: KIO::Slave::gotInput() (slave.cpp:300)
==17863==
==17863==
==17863== 406 (56 direct, 350 indirect) bytes in 1 blocks are definitely lost in loss record 571 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1CF6F806: KConfig::KConfig(QString const&, bool, bool, char const*) (kconfig.cpp:55)
==17863==    by 0x1BB840D8: KMail::PopAccount::saveUidList() (popaccount.cpp:819)
==17863==    by 0x1BB83A7D: KMail::PopAccount::slotJobFinished() (popaccount.cpp:772)
==17863==    by 0x1BB8504E: KMail::PopAccount::slotResult(KIO::Job*) (popaccount.cpp:981)
==17863==    by 0x1BB85329: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C9775C7: KIO::Job::result(KIO::Job*) (jobclasses.moc:162)
==17863==    by 0x1C95FB5B: KIO::Job::emitResult() (job.cpp:222)
==17863==    by 0x1C96116B: KIO::SimpleJob::slotFinished() (job.cpp:570)
==17863==    by 0x1C96448E: KIO::TransferJob::slotFinished() (job.cpp:938)
==17863==    by 0x1C979612: KIO::TransferJob::qt_invoke(int, QUObject*) (jobclasses.moc:1071)
==17863==
==17863==
==17863== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 574 of 862
==17863==    at 0x1B9042FF: malloc (vg_replace_malloc.c:130)
==17863==    by 0x1DD684DB: nss_parse_service_list (nsswitch.c:519)
==17863==    by 0x1DD67DF3: __nss_database_lookup (nsswitch.c:134)
==17863==    by 0x1E89417D: ???
==17863==    by 0x1E895CC4: ???
==17863==    by 0x1DD28EF6: getpwuid_r@@GLIBC_2.1.2 (getXXbyYY_r.c:207)
==17863==    by 0x1DD288CF: getpwuid (getXXbyYY.c:103)
==17863==    by 0x1D38A7CC: sm_performSaveYourself(QSessionManagerData*) (qapplication_x11.cpp:6119)
==17863==    by 0x1D38A54E: sm_saveYourselfCallback(_SmcConn*, void*, int, int, int, int) (qapplication_x11.cpp:6099)
==17863==    by 0x1DB63F23: _SmcProcessMessage (sm_process.c:249)
==17863==    by 0x1DB6FF50: IceProcessMessages (process.c:324)
==17863==    by 0x1D38B1C9: QSmSocketReceiver::socketActivated(int) (qapplication_x11.cpp:6227)
==17863==
==17863==
==17863== 622 (16 direct, 606 indirect) bytes in 1 blocks are definitely lost in loss record 601 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1C4C56DC: KIMProxy::KIMProxy(DCOPClient*) (kimproxy.cpp:179)
==17863==    by 0x1C4C4B9C: KIMProxy::instance(DCOPClient*) (kstaticdeleter.h:104)
==17863==    by 0x1BB8E417: KMKernel::imProxy() (kapplication.h:224)
==17863==    by 0x1BB8BDE1: KMKernel::init() (kmkernel.cpp:1418)
==17863==    by 0x804A3B7: main (main.cpp:96)
==17863==
==17863==
==17863== 36 (12 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 653 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1CF730B6: KConfigINIBackEnd::parseConfigFiles() (qvaluelist.h:432)
==17863==    by 0x1CF6E9E2: KConfigBase::parseConfigFiles() (kconfigbase.cpp:1673)
==17863==    by 0x1CF70283: KConfig::reparseConfiguration() (kconfig.cpp:174)
==17863==    by 0x1CF6F840: KConfig::KConfig(QString const&, bool, bool, char const*) (kconfig.cpp:64)
==17863==    by 0x1BB840D8: KMail::PopAccount::saveUidList() (popaccount.cpp:819)
==17863==    by 0x1BB83A7D: KMail::PopAccount::slotJobFinished() (popaccount.cpp:772)
==17863==    by 0x1BB8504E: KMail::PopAccount::slotResult(KIO::Job*) (popaccount.cpp:981)
==17863==    by 0x1BB85329: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C9775C7: KIO::Job::result(KIO::Job*) (jobclasses.moc:162)
==17863==    by 0x1C95FB5B: KIO::Job::emitResult() (job.cpp:222)
==17863==
==17863==
==17863== 24 (12 direct, 12 indirect) bytes in 1 blocks are definitely lost in loss record 656 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1BB81D68: KMail::PopAccount::slotJobFinished() (qvaluelist.h:432)
==17863==    by 0x1BB8504E: KMail::PopAccount::slotResult(KIO::Job*) (popaccount.cpp:981)
==17863==    by 0x1BB85329: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C9775C7: KIO::Job::result(KIO::Job*) (jobclasses.moc:162)
==17863==    by 0x1C95FB5B: KIO::Job::emitResult() (job.cpp:222)
==17863==    by 0x1C96116B: KIO::SimpleJob::slotFinished() (job.cpp:570)
==17863==    by 0x1C96448E: KIO::TransferJob::slotFinished() (job.cpp:938)
==17863==    by 0x1C979612: KIO::TransferJob::qt_invoke(int, QUObject*) (jobclasses.moc:1071)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1D44CE93: QObject::activate_signal(int) (qobject.cpp:2324)
==17863==
==17863==
==17863== 120 (48 direct, 72 indirect) bytes in 4 blocks are definitely lost in loss record 715 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1D6F830F: QGArray::newData() (qgarray.cpp:812)
==17863==    by 0x1D6F71EC: QGArray::QGArray() (qgarray.cpp:115)
==17863==    by 0x1CF66601: KConfigBase::KConfigBase() (qmemarray.h:58)
==17863==    by 0x1CF6F7CB: KConfig::KConfig(QString const&, bool, bool, char const*) (kconfig.cpp:48)
==17863==    by 0x1BB840D8: KMail::PopAccount::saveUidList() (popaccount.cpp:819)
==17863==    by 0x1BB83A7D: KMail::PopAccount::slotJobFinished() (popaccount.cpp:772)
==17863==    by 0x1BB8504E: KMail::PopAccount::slotResult(KIO::Job*) (popaccount.cpp:981)
==17863==    by 0x1BB85329: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C9775C7: KIO::Job::result(KIO::Job*) (jobclasses.moc:162)
==17863==    by 0x1C95FB5B: KIO::Job::emitResult() (job.cpp:222)
==17863==
==17863==
==17863== 50 (4 direct, 46 indirect) bytes in 1 blocks are definitely lost in loss record 716 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1D6F5293: QFile::init() (qfile.cpp:198)
==17863==    by 0x1D6DFB18: QFile::open(int) (qfile_unix.cpp:178)
==17863==    by 0x1CF731BF: KConfigINIBackEnd::parseConfigFiles() (kconfigbackend.cpp:382)
==17863==    by 0x1CF6E9E2: KConfigBase::parseConfigFiles() (kconfigbase.cpp:1673)
==17863==    by 0x1CF70283: KConfig::reparseConfiguration() (kconfig.cpp:174)
==17863==    by 0x1CF6F840: KConfig::KConfig(QString const&, bool, bool, char const*) (kconfig.cpp:64)
==17863==    by 0x1BB840D8: KMail::PopAccount::saveUidList() (popaccount.cpp:819)
==17863==    by 0x1BB83A7D: KMail::PopAccount::slotJobFinished() (popaccount.cpp:772)
==17863==    by 0x1BB8504E: KMail::PopAccount::slotResult(KIO::Job*) (popaccount.cpp:981)
==17863==    by 0x1BB85329: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==
==17863==
==17863== 8 bytes in 1 blocks are definitely lost in loss record 717 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1BBC8145: _ZN5KMail31BodyPartFormatterFactoryPrivate40kmail_create_builtin_bodypart_formattersEPSt3mapIPKcS1_IS3_PKNS_9Interface17BodyPartFormatterENS0_5ltstrESaISt4pairIKS3_S7_EEES8_SaIS9_ISA_SD_EEE (stl_map.h:312)
==17863==    by 0x1BBC92A2: setup() (bodypartformatterfactory.cpp:144)
==17863==    by 0x1BBC92F5: KMail::BodyPartFormatterFactory::createFor(char const*, char const*) const (bodypartformatterfactory.cpp:156)
==17863==    by 0x1BBC971A: KMail::BodyPartFormatterFactory::createFor(QCString const&, QCString const&) const (qmemarray.h:64)
==17863==    by 0x1BBBA5A6: KMail::ObjectTreeParser::parseObjectTree(partNode*) (objecttreeparser.cpp:252)
==17863==    by 0x1BAFDEE9: KMReaderWin::parseMsg(KMMessage*) (kmreaderwin.cpp:1533)
==17863==    by 0x1BAFD930: KMReaderWin::displayMessage() (kmreaderwin.cpp:1468)
==17863==    by 0x1BAFD4C0: KMReaderWin::updateReaderWin() (kmreaderwin.cpp:1404)
==17863==    by 0x1BB02B36: KMReaderWin::qt_invoke(int, QUObject*) (kmreaderwin.moc:280)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1D44CE93: QObject::activate_signal(int) (qobject.cpp:2324)
==17863==
==17863==
==17863== 1024 bytes in 1 blocks are definitely lost in loss record 776 of 862
==17863==    at 0x1B904682: operator new[](unsigned) (vg_replace_malloc.c:138)
==17863==    by 0x1D742D44: QTextCodecFromIOD::QTextCodecFromIOD(QIODevice*) (qtextcodec.cpp:1247)
==17863==    by 0x1D7407E3: QTextCodec::loadCharmap(QIODevice*) (qtextcodec.cpp:1536)
==17863==    by 0x1CFBD09E: KCharsets::codecForName(QString const&, bool&) const (kcharsets.cpp:655)
==17863==    by 0x1CFBC54C: KCharsets::codecForName(QString const&) const (kcharsets.cpp:546)
==17863==    by 0x1BB41B01: KMMsgBase::supportedEncodings(bool) (qvaluelist.h:110)
==17863==    by 0x1BAF9544: KMReaderWin::createActions(KActionCollection*) (kmreaderwin.cpp:634)
==17863==    by 0x1BAF882A: KMReaderWin::KMReaderWin(QWidget*, QWidget*, KActionCollection*, char const*, int) (kmreaderwin.cpp:528)
==17863==    by 0x1BBE54A5: KMMainWidget::createWidgets() (kmmainwidget.h:235)
==17863==    by 0x1BBE3508: KMMainWidget::KMMainWidget(QWidget*, char const*, KXMLGUIClient*, KActionCollection*, KConfig*) (kmmainwidget.cpp:168)
==17863==    by 0x1BA799E2: KMMainWin::KMMainWin(QWidget*) (kmmainwin.cpp:42)
==17863==    by 0x1BB8791C: KMKernel::openReader(bool) (kmkernel.cpp:349)
==17863==
==17863==
==17863== 12288 (8 direct, 12280 indirect) bytes in 1 blocks are definitely lost in loss record 800 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1C81E4FB: KRES::Factory::self(QString const&) (factory.cpp:51)
==17863==    by 0x1C770E7C: KABC::AddressBook::AddressBook(QString const&) (manager.h:214)
==17863==    by 0x1C7924D4: KABC::StdAddressBook::StdAddressBook(bool) (stdaddressbook.cpp:87)
==17863==    by 0x1C7922B6: KABC::StdAddressBook::self(bool) (stdaddressbook.cpp:72)
==17863==    by 0x1BBB525D: KMail::FancyHeaderStyle::format(KMMessage const*, KMail::HeaderStrategy const*, QString const&, bool) const (headerstyle.cpp:471)
==17863==    by 0x1BAFE5A8: KMReaderWin::writeMsgHeader(KMMessage*, bool) (kmreaderwin.h:103)
==17863==    by 0x1BAFDE7C: KMReaderWin::parseMsg(KMMessage*) (kmreaderwin.cpp:1529)
==17863==    by 0x1BAFD930: KMReaderWin::displayMessage() (kmreaderwin.cpp:1468)
==17863==    by 0x1BAFD4C0: KMReaderWin::updateReaderWin() (kmreaderwin.cpp:1404)
==17863==    by 0x1BB02B36: KMReaderWin::qt_invoke(int, QUObject*) (kmreaderwin.moc:280)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==
==17863==
==17863== 12 bytes in 1 blocks are definitely lost in loss record 803 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1CF6F7E2: KConfig::KConfig(QString const&, bool, bool, char const*) (qmap.h:623)
==17863==    by 0x1BB840D8: KMail::PopAccount::saveUidList() (popaccount.cpp:819)
==17863==    by 0x1BB83A7D: KMail::PopAccount::slotJobFinished() (popaccount.cpp:772)
==17863==    by 0x1BB8504E: KMail::PopAccount::slotResult(KIO::Job*) (popaccount.cpp:981)
==17863==    by 0x1BB85329: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C9775C7: KIO::Job::result(KIO::Job*) (jobclasses.moc:162)
==17863==    by 0x1C95FB5B: KIO::Job::emitResult() (job.cpp:222)
==17863==    by 0x1C96116B: KIO::SimpleJob::slotFinished() (job.cpp:570)
==17863==    by 0x1C96448E: KIO::TransferJob::slotFinished() (job.cpp:938)
==17863==    by 0x1C979612: KIO::TransferJob::qt_invoke(int, QUObject*) (jobclasses.moc:1071)
==17863==
==17863==
==17863== 24 (12 direct, 12 indirect) bytes in 1 blocks are definitely lost in loss record 813 of 862
==17863==    at 0x1B904462: operator new(unsigned) (vg_replace_malloc.c:132)
==17863==    by 0x1BB83C69: KMail::PopAccount::saveUidList() (qvaluelist.h:432)
==17863==    by 0x1BB83A7D: KMail::PopAccount::slotJobFinished() (popaccount.cpp:772)
==17863==    by 0x1BB8504E: KMail::PopAccount::slotResult(KIO::Job*) (popaccount.cpp:981)
==17863==    by 0x1BB85329: KMail::PopAccount::qt_invoke(int, QUObject*) (qucom_p.h:312)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==    by 0x1C9775C7: KIO::Job::result(KIO::Job*) (jobclasses.moc:162)
==17863==    by 0x1C95FB5B: KIO::Job::emitResult() (job.cpp:222)
==17863==    by 0x1C96116B: KIO::SimpleJob::slotFinished() (job.cpp:570)
==17863==    by 0x1C96448E: KIO::TransferJob::slotFinished() (job.cpp:938)
==17863==    by 0x1C979612: KIO::TransferJob::qt_invoke(int, QUObject*) (jobclasses.moc:1071)
==17863==    by 0x1D44D052: QObject::activate_signal(QConnectionList*, QUObject*) (qconnection.h:56)
==17863==
==17863==
==17863== 60 (20 direct, 40 indirect) bytes in 1 blocks are definitely lost in loss record 821 of 862
==17863==    at 0x1B9042FF: malloc (vg_replace_malloc.c:130)
==17863==    by 0x1DD7F2C2: xdr_reference (xdr_ref.c:82)
==17863==    by 0x1DD79A8B: xdr_pmaplist (pmap_prot2.c:112)
==17863==    by 0x1DD780EC: clnttcp_call (clnt_tcp.c:324)
==17863==    by 0x1DD797A2: pmap_getmaps (pm_getmaps.c:70)
==17863==    by 0x1DBAF4EE: Client::Client(long, unsigned, int) (Client.c++:63)
==17863==    by 0x1DBB1ADD: FAMOpen2 (fam.c++:81)
==17863==    by 0x1DBB1B8E: FAMOpen (fam.c++:101)
==17863==    by 0x1C9D548E: KDirWatchPrivate::KDirWatchPrivate() (kdirwatch.cpp:191)
==17863==    by 0x1C9D9866: KDirWatch::KDirWatch(QObject*, char const*) (kdirwatch.cpp:1323)
==17863==    by 0x1F5EFECC: KABC::ResourceFile::ResourceFile(KConfig const*) (resourcefile.cpp:63)
==17863==    by 0x1E8AA9C3: KRES::PluginFactory<KABC::ResourceFile, KABC::ResourceFileConfig>::resource(KConfig const*) (resource.h:405)
==17863==
==17863== LEAK SUMMARY:
==17863==    definitely lost: 1692 bytes in 41 blocks.
==17863==    indirectly lost: 57188 bytes in 2703 blocks.
==17863==      possibly lost: 0 bytes in 0 blocks.
==17863==    still reachable: 3137487 bytes in 59757 blocks.
==17863==         suppressed: 0 bytes in 0 blocks.
==17863== Reachable blocks (those to which a pointer was found) are not shown.
==17863== To see them, rerun with: --show-reachable=yes
Comment 2 Andreas Gungl 2005-11-17 06:44:00 UTC
FYI, closing KMail's main window keep KMail running. Choose Qtrl-Q / File -> 
Quit to really stop the application.
Comment 3 Andreas Kling 2006-07-31 14:00:50 UTC

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