[Bug 149003] New: Kmail crash (maximized) hang (unmaximized) - gdb report

David Southwell david at vizion2000.net
Sun Aug 19 16:08:25 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=149003         
           Summary: Kmail crash (maximized) hang (unmaximized) - gdb report
           Product: kmail
           Version: unspecified
          Platform: FreeBSD Ports
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: david vizion2000 net


Version:            (using KDE KDE 3.5.7)
Installed from:    FreeBSD Ports
Compiler:          gcc-4.1.3_20070806 
OS:                FreeBSD

If kmail is maximized there is crash. mouse moves cursor but no response to mouse buttons and keyboard locked out. Power off is only way out.
If kmail not maximised then other shells accessible.
kmail compiles 
#make -DWANT_KDE_DEBUG
%gdb kmail
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) set args --nofork
(gdb) run
Starting program: /usr/local/bin/kmail --nofork
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100164]
kmail: KMKernel::KMKernel
libkdenetwork: creating new pgp object
libkdenetwork: Kpgp: gpg found
kmail: No Qt-native utf-7 codec found; registering QUtf7Codec from libkdenetwork
kmail: [void KMKernel::init()] foldersPath (from config): '/home/david/.kde/share/apps/kmail/mail'
kmail: instantating KPIM::IdentityManager
kmail: Identity::readConfig(): UOID = 262160446 for identity named "Default"
kmail: Identity::readConfig(): UOID = 1181356209 for identity named "Sysadmin"
kmail: Identity::readConfig(): UOID = 190043667 for identity named "atf4_David"
kmail: Identity::readConfig(): UOID = 2124780050 for identity named "atf4_gimp"
kmail: Identity::readConfig(): UOID = 82618526 for identity named "atf4_im_owner"
kmail: Identity::readConfig(): UOID = 75959527 for identity named "meth_COM_David"
kmail: Identity::readConfig(): UOID = 2015065168 for identity named "meth_ORG_David"
kmail: pPopFilter set
WeaverThreadLogger: thread (ID: 1) suspended.
WeaverThreadLogger: thread (ID: 2) suspended.
WeaverThreadLogger: thread (ID: 3) suspended.
WeaverThreadLogger: thread (ID: 4) suspended.
[New Thread 0x510000 (LWP 100133)]
kmail: KMailApplication::newInstance()
kmail: KMKernel::openReader called
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "move_message_to_folder"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "copy_message_to_folder"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "jump_to_folder"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "jump_to_folder"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "cancel"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "inc_current_folder"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "dec_current_folder"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "select_current_folder"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "inc_current_message"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "dec_current_message"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "select_current_message"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "delete"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "edit"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "use_template"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x968400 ): KAccel object already contains an action name "display_message"
kmail: processNextCheck, remaining 1
kmail: processing next mail check for Local Account
[New Thread 0x510400 (LWP 100132)]
kmail: FolderStorage::msgStatusChanged
kmail: (354478, last 0) RE: General svnsync question Adrian Marsh, readyToShow true
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: parseMsg(KMMessage* aMsg == aMsg )
kmail: + Text/Plain
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: Text/Plain
kmail: partNode::findType() is looking at Text/Plain
kmail: ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE )
kmail: BodyPartFormatterFactory: found 4 plugins.
kmail: BodyPartFormatterFactory: overwriting previously registered formatter for "application/octet-stream"
kmail: BodyPartFormatterFactory: instantiating new Subtype Registry for "text"
kmail: UrlHandler() (iCalendar)
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: KMReaderWin  -  finished parsing and displaying of message.
kmail: processNextCheck, remaining 0
kmail: account Local Account finished check
kmail: 1 new message(s) in .MAIL_LISTS.directory/.freebsd.directory/apache
kmail: processNextCheck, remaining 1
kmail: processing next mail check for Sysadmin
kmail: processNextCheck, remaining 0
kmail: account Sysadmin finished check
kmail: processNextCheck, remaining 1
kmail: processing next mail check for Local Account 1
kmail: processNextCheck, remaining 0
kmail: account Local Account 1 finished check
kmail: (321882, last 0) Re: [Brad Ediger] New Comment Posted to 'Subverted Migrations' Brad Ediger, readyToShow true
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: text  plain
kmail: text  html
kmail: application  pkcs7-signature
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: parseMsg(KMMessage* aMsg == aMsg )
kmail: + Multipart/Signed
kmail:  + Multipart/Alternative
kmail:   + Text/Plain
kmail:   + Text/HTML
kmail:  + Application/pkcs7-signature
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: Multipart/Signed
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: application/pkcs7-signature
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: multipart/alternative
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/html
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: text/plain
kmail: partNode::findType() is looking at Multipart/Signed
kmail: partNode::findType() is looking at Multipart/Alternative
kmail: partNode::findType() is looking at Text/Plain
kmail: partNode::findType() is looking at Text/HTML
kmail: ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE )
kmail: ObjectTreeParser::writeOpaqueOrMultipartSignedData: processing Multipart Signed data
kmail: ObjectTreeParser::writeOpaqueOrMultipartSignedData: going to call CRYPTPLUG smime
kmail: Converting LF to CRLF (see RfC 2633, 3.1.1 Canonicalization)
kmail:                                                        done.
^C
Program received signal SIGINT, Interrupt.
[Switching to Thread 0x510400 (LWP 100132)]
0x0000000806c7489c in pthread_testcancel () from /usr/lib/libpthread.so.2
(gdb) info threads
[New Thread 0x953800 (sleeping)]
[New Thread 0x953400 (sleeping)]
[New Thread 0x953000 (sleeping)]
[New Thread 0x941c00 (sleeping)]
  7 Thread 0x941c00 (sleeping)  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
  6 Thread 0x953000 (sleeping)  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
  5 Thread 0x953400 (sleeping)  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
  4 Thread 0x953800 (sleeping)  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
* 3 Thread 0x510400 (LWP 100132)  0x0000000806c7489c in pthread_testcancel () from /usr/lib/libpthread.so.2
  2 Thread 0x510000 (runnable)  0x0000000806e468ec in read () from /lib/libc.so.6
(gdb) thread 7
[Switching to thread 7 (Thread 0x941c00 (sleeping))]#0  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#1  0x0000000806c71c68 in _pthread_cond_wait () from /usr/lib/libpthread.so.2
#2  0x0000000806c720d0 in pthread_cond_wait () from /usr/lib/libpthread.so.2
#3  0x0000000805817792 in QWaitCondition::wait () from /usr/local/lib/libqt-mt.so.3
#4  0x00000008012f16d1 in KPIM::ThreadWeaver::Weaver::applyForWork (this=0x79fc00, th=0x7491e0, previous=0x0) at weaver.cpp:519
#5  0x00000008012f13c4 in KPIM::ThreadWeaver::Thread::run (this=0x7491e0) at weaver.cpp:215
#6  0x0000000805552924 in QThreadInstance::start () from /usr/local/lib/libqt-mt.so.3
#7  0x0000000806c65a19 in pthread_create () from /usr/lib/libpthread.so.2
#8  0x0000000806dc21b4 in makecontext () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
#10 0x0000000000941c00 in ?? ()
#11 0x00000008055528e0 in QThreadInstance::deinit () from /usr/local/lib/libqt-mt.so.3
#12 0x0000000000748288 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x0000000000000000 in ?? ()
#15 0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffff9fe000: Bad address.
(gdb) thread 6
[Switching to thread 6 (Thread 0x953000 (sleeping))]#0  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#1  0x0000000806c71c68 in _pthread_cond_wait () from /usr/lib/libpthread.so.2
#2  0x0000000806c720d0 in pthread_cond_wait () from /usr/lib/libpthread.so.2
#3  0x0000000805817792 in QWaitCondition::wait () from /usr/local/lib/libqt-mt.so.3
#4  0x00000008012f16d1 in KPIM::ThreadWeaver::Weaver::applyForWork (this=0x79fc00, th=0x94e3e0, previous=0x0) at weaver.cpp:519
#5  0x00000008012f13c4 in KPIM::ThreadWeaver::Thread::run (this=0x94e3e0) at weaver.cpp:215
#6  0x0000000805552924 in QThreadInstance::start () from /usr/local/lib/libqt-mt.so.3
#7  0x0000000806c65a19 in pthread_create () from /usr/lib/libpthread.so.2
#8  0x0000000806dc21b4 in makecontext () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
#10 0x0000000000953000 in ?? ()
#11 0x00000008055528e0 in QThreadInstance::deinit () from /usr/local/lib/libqt-mt.so.3
#12 0x000000000094d3c8 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x0000000000000000 in ?? ()
#15 0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffff7fd000: Bad address.
(gdb) thread 5
[Switching to thread 5 (Thread 0x953400 (sleeping))]#0  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#1  0x0000000806c71c68 in _pthread_cond_wait () from /usr/lib/libpthread.so.2
#2  0x0000000806c720d0 in pthread_cond_wait () from /usr/lib/libpthread.so.2
#3  0x0000000805817792 in QWaitCondition::wait () from /usr/local/lib/libqt-mt.so.3
#4  0x00000008012f16d1 in KPIM::ThreadWeaver::Weaver::applyForWork (this=0x79fc00, th=0x94e560, previous=0x0) at weaver.cpp:519
#5  0x00000008012f13c4 in KPIM::ThreadWeaver::Thread::run (this=0x94e560) at weaver.cpp:215
#6  0x0000000805552924 in QThreadInstance::start () from /usr/local/lib/libqt-mt.so.3
#7  0x0000000806c65a19 in pthread_create () from /usr/lib/libpthread.so.2
#8  0x0000000806dc21b4 in makecontext () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
#10 0x0000000000953400 in ?? ()
#11 0x00000008055528e0 in QThreadInstance::deinit () from /usr/local/lib/libqt-mt.so.3
#12 0x000000000094d408 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x0000000000000000 in ?? ()
#15 0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffff5fc000: Bad address.
(gdb) thread 4
[Switching to thread 4 (Thread 0x953800 (sleeping))]#0  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x0000000806c6d0df in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#1  0x0000000806c71c68 in _pthread_cond_wait () from /usr/lib/libpthread.so.2
#2  0x0000000806c720d0 in pthread_cond_wait () from /usr/lib/libpthread.so.2
#3  0x0000000805817792 in QWaitCondition::wait () from /usr/local/lib/libqt-mt.so.3
#4  0x00000008012f16d1 in KPIM::ThreadWeaver::Weaver::applyForWork (this=0x79fc00, th=0x94e6c0, previous=0x0) at weaver.cpp:519
#5  0x00000008012f13c4 in KPIM::ThreadWeaver::Thread::run (this=0x94e6c0) at weaver.cpp:215
#6  0x0000000805552924 in QThreadInstance::start () from /usr/local/lib/libqt-mt.so.3
#7  0x0000000806c65a19 in pthread_create () from /usr/lib/libpthread.so.2
#8  0x0000000806dc21b4 in makecontext () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
#10 0x0000000000953800 in ?? ()
#11 0x00000008055528e0 in QThreadInstance::deinit () from /usr/local/lib/libqt-mt.so.3
#12 0x000000000094d448 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x0000000000000000 in ?? ()
#15 0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffff3fb000: Bad address.
(gdb) thread 3
[Switching to thread 3 (Thread 0x510400 (LWP 100132))]#0  0x0000000806c7489c in pthread_testcancel () from /usr/lib/libpthread.so.2
(gdb) bt
#0  0x0000000806c7489c in pthread_testcancel () from /usr/lib/libpthread.so.2
#1  0x0000000806c62335 in sigaction () from /usr/lib/libpthread.so.2
#2  0x0000000806c623b8 in sigaction () from /usr/lib/libpthread.so.2
#3  0x0000000806c62740 in sigaction () from /usr/lib/libpthread.so.2
#4  0x0000000806c62e66 in sigaction () from /usr/lib/libpthread.so.2
#5  0x0000000806c63053 in sigaction () from /usr/lib/libpthread.so.2
#6  0x0000000806c6d01a in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#7  0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffffbff000: Bad address.
(gdb) thread 2
[Switching to thread 2 (Thread 0x510000 (runnable))]#0  0x0000000806e468ec in read () from /lib/libc.so.6
(gdb) bt
#0  0x0000000806e468ec in read () from /lib/libc.so.6
#1  0x0000000806c5d56b in read () from /usr/lib/libpthread.so.2
#2  0x0000000801f03bbe in _gpgme_io_read () from /usr/local/lib/libgpgme.so.17
#3  0x0000000801f0afbc in _gpgme__assuan_simple_read () from /usr/local/lib/libgpgme.so.17
#4  0x0000000801f06be7 in readline () from /usr/local/lib/libgpgme.so.17
#5  0x0000000801f06d69 in _gpgme__assuan_read_line () from /usr/local/lib/libgpgme.so.17
#6  0x0000000801f07066 in _gpgme_assuan_read_line () from /usr/local/lib/libgpgme.so.17
#7  0x0000000801f023b6 in status_handler () from /usr/local/lib/libgpgme.so.17
#8  0x0000000801ef6664 in _gpgme_run_io_cb () from /usr/local/lib/libgpgme.so.17
#9  0x0000000801ef6e3b in _gpgme_wait_on_condition () from /usr/local/lib/libgpgme.so.17
#10 0x0000000801ef93f8 in gpgme_op_verify () from /usr/local/lib/libgpgme.so.17
#11 0x0000000801b003ee in CryptPlug::checkMessageSignature (this=0xbcc000, cleartext=0x7fffffffd708,
    signaturetext=0xc77000 "0\200\006\t*\206H\206÷\r\001\a\002 \2000\200\002\001\0011\v0\t\006\005+\016\003\002\032\005",
    signatureIsBinary=true, signatureLen=2421, sigmeta=0x7fffffffd860, attrOrder=0x0, unknownAttrsHandling=0xc301f0 "INFIX")
    at cryptplug.cpp:1008
#12 0x0000000801b01e8e in CryptPlugWrapper::checkMessageSignature (this=0xc76600, cleartext=0x7fffffffd708,
    signaturetext=0xc77000 "0\200\006\t*\206H\206÷\r\001\a\002 \2000\200\002\001\0011\v0\t\006\005+\016\003\002\032\005",
    signatureIsBinary=true, signatureLen=2421, sigmeta=0x7fffffffd860) at cryptplugwrapper.cpp:576
#13 0x0000000800aadecb in KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData (this=0x7fffffffdba0, data=0xcbae00, sign= 0xcd0200,
    fromAddress= 0xcbad20, doCheck=true, cleartextData=0x0, paramSigMeta=0x0, hideErrors=false) at objecttreeparser.cpp:454
#14 0x0000000800aaf2e6 in KMail::ObjectTreeParser::processMultiPartSignedSubtype (this=0x7fffffffdba0, node=0xcbac00)
    at objecttreeparser.cpp:1142
#15 0x0000000800ab2092 in (anonymous namespace)::MultiPartSignedBodyPartFormatter::process (this=0x15, otp=0x15, node=0xc89130,
    result= 0x510060) at bodypartformatter.cpp:123
#16 0x0000000800aab1e2 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffffffdba0, node=0xcbac00) at objecttreeparser.cpp:287
#17 0x00000008009d6af7 in KMReaderWin::parseMsg (this=0x9cb800, aMsg=0xc2ca00) at kmreaderwin.cpp:1553
#18 0x00000008009d742f in KMReaderWin::displayMessage (this=0x9cb800) at kmreaderwin.cpp:1481
#19 0x00000008009d75ba in KMReaderWin::updateReaderWin (this=0x9cb800) at kmreaderwin.cpp:1417
#20 0x00000008009d8cf1 in KMReaderWin::qt_invoke (this=0x9cb800, _id=47, _o=0x7fffffffdf60) at kmreaderwin.moc:282
#21 0x00000008055b5a18 in QObject::activate_signal () from /usr/local/lib/libqt-mt.so.3
#22 0x00000008055b6182 in QObject::activate_signal () from /usr/local/lib/libqt-mt.so.3
#23 0x00000008055d2a25 in QTimer::event () from /usr/local/lib/libqt-mt.so.3
#24 0x000000080555a6dd in QApplication::internalNotify () from /usr/local/lib/libqt-mt.so.3
#25 0x000000080555aa6e in QApplication::notify () from /usr/local/lib/libqt-mt.so.3
#26 0x00000008046fe82a in KApplication::notify () from /usr/local/lib/libkdecore.so.6
#27 0x000000080554f420 in QEventLoop::activateTimers () from /usr/local/lib/libqt-mt.so.3
#28 0x000000080550d323 in QEventLoop::processEvents () from /usr/local/lib/libqt-mt.so.3
#29 0x000000080556eb59 in QEventLoop::enterLoop () from /usr/local/lib/libqt-mt.so.3
#30 0x000000080556eab2 in QEventLoop::exec () from /usr/local/lib/libqt-mt.so.3
#31 0x0000000000403780 in main (argc=-7008, argv=0x7fffffffe8d0) at main.cpp:110
(gdb) thread 1
Thread ID 1 not known.
(gdb) quit



More information about the Kdepim-bugs mailing list