Bug 149003 - Kmail crash (maximized) hang (unmaximized)
Summary: Kmail crash (maximized) hang (unmaximized)
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: 1.9.7
Platform: FreeBSD Ports FreeBSD
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2007-08-19 17:08 UTC by David Southwell
Modified: 2009-08-23 18:57 UTC (History)
1 user (show)

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 David Southwell 2007-08-19 17:08:23 UTC
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
Comment 1 David Southwell 2007-08-19 17:36:40 UTC
The following kde ports are installed on this system:
[root@dns1 ~]# pkg_info |grep kde
kde-3.5.7           The "meta-port" for KDE
kde-xdg-env-1.0_3,1 Script which hooks into startkde and helps KDE pick up XDG
kde3-apireference-3.4 API reference for KDE 3
kdeaccessibility-3.5.7 Accessibility applications for KDE
kdeadmin-3.5.7      KDE applications related to system administration
kdeartwork-3.5.7    Additional themes, sounds, wallpapers and window styles for
kdebase-3.5.7_1     Basic applications for the KDE system
kdebase-kompmgr-3.5.7 Utility needed to enable XComposite support in KDE
kdeedu-3.5.7        Collection of entertaining, educational programs for KDE
kdegames-3.5.7      Games for the KDE integrated X11 desktop
kdegraphics-3.5.7_1 Graphics utilities for the KDE3 integrated X11 desktop
kdegraphics-kamera-3.5.7 Digital camera support for KDE
kdegraphics-kooka-3.5.7 Raster image scan program for KDE
kdegraphics-kuickshow-3.5.7 KDE image viewer
kdehier-1.0_11      Utility port which installs a hierarchy of shared KDE direc
kdelibs-3.5.7       Base set of libraries needed by KDE programs
kdemultimedia-3.5.7_1 Multimedia utilities for the KDE integrated X11 desktop
kdemultimedia-mpeglib_artsplug-3.5.7_1 Legacy KDE audio backend
kdemultimedia-xine_artsplugin-3.5.7 Xine-based multimedia backend for KDE
kdenetwork-3.5.7    Network-related programs and modules for KDE
kdenetwork-kopete-0.12.5 KDE multi-protocol instant messenger (IM)
kdepim-3.5.7        Personal Information Management tools for KDE
kdesdk-3.5.7        KDE Software Development Kit
kdetoys-3.5.7       Small applications for KDE
kdeutils-3.5.7      Utilities for the KDE integrated X11 desktop
kdevelop-3.4.1_1    IDE for a wide variety of programming tasks
kdewebdev-3.5.7,2   Comprehensive html/website development environment
Comment 2 David Southwell 2007-08-19 17:38:18 UTC
Output of uname -a
6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:15:57 UTC 2006     root@bloom.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64
Comment 3 Bram Schoenmakers 2007-08-19 18:12:31 UTC
Looks like some things go horribly wrong on FreeBSD.

*** This bug has been marked as a duplicate of 147358 ***
Comment 4 David Southwell 2007-08-19 18:30:01 UTC
Humph

Some detailed reasoning would be helpful. I do not know on what basis this has been marked as a duplicate. I respectfully do not agree. The bug has some similarities but, on the face of it, it does not appear to be a duplicate.
 
Comments such as "Looks like some things go horribly wrong on FreeBSD." are not helpful nor do they inspire condfidence. Are you saying this bug is something to do with the freebsd environement. If so why is this the only application out of 800+ ports (including 26 kde applications and the kde meta-port) that crashes on this system? Or  are you saying this is a bug in kdepim bug in kdepim that only shows up in a Freebsd environment??? What exactly are you saying? 

Please be a little clearer.

Whatever this needs resolving.

I do not consider this a duplicate of 147358 because the behaviours are different. 
1.147358 was always a hang. 149003 is clearly a crash when the kmail window is maximized but a hang when it is not.
2. In 147358 you had to click on the email to produce the hang. In 149003 you do not have to click on the email.

Thanks

David
Comment 5 Thomas McGuire 2007-08-19 18:44:45 UTC
The backtrace you posted is the same as in bug 147358 and clearly shows that KMail hangs while trying to verify a signature.

This seems to happen only on FreeBSD systems, as the reporter of the other bug is also using FreeBSD.

Now the only difference I see is that you claim that KMail crashes when the windows is maximized, which could be another issue. Please post the backtrace of this crash as well.

Please do not paste the KMail output here (it is mostly useless), only the backtrace.
Comment 6 David Southwell 2007-08-19 18:57:29 UTC
To add further grist to this mill the following item was posted to 147358 by Matt Blissett which adds to ones lack of confidenece in the way in which this bug report has been handled.

------- Additional Comment #15 From Matt Blissett 2007-08-19 18:48 -------  
You mention in #149003 that it's only reported on FreeBSD -- I had the problem under Linux (#147395) 

It looks as though there is a track here of insufficient attention and action only when it results in marking bugs as resolved when there has in fact been no real bug resolution!!
Comment 7 Bram Schoenmakers 2007-08-19 19:00:31 UTC
Two additions:

* I certainly did not claim that we did OK and FreeBSD did wrong. It could be our code which may be incompatible with the FreeBSD environment;
* Identical backtraces often show the same problem. There may be several symptoms of such problems, which may look like separate bugs from the outside.

So the reasoning stated by Thomas and these additions made me mark it as dupe.
Comment 8 David Southwell 2007-08-19 19:03:28 UTC
Re Thomas McGuire
Matt Blisset reports the same bug occurs on Linux so the notion that this is Freebsd only is clearly out of step with reality.

I have posted the backtrace from the hang. Unfortunately the whole system crashes when Kmail is maximized necessitating a power down and reboot. In view of the risks involved in that procedure I am extremely reluctant to do that.

I would be happy to work with someone who is trying to solve the problem and run any tests that may help to resolve it.

Thanks
Comment 9 Bram Schoenmakers 2007-08-19 19:04:12 UTC
> It looks as though there is a track here of insufficient attention and action
> only when it results in marking bugs as resolved when there has in fact been 
> no real bug resolution!! 

Look, we are not here to offend people. We are trying to help both users and developers. We get about 100 new bugs and wishes each day, and only a few people read them and sort things out. I hope you can imagine that mistakes can always happen in a few cases.
Comment 10 Bram Schoenmakers 2007-08-19 19:05:57 UTC
> We get about 100 new bugs and wishes each day

I missed an important detail: *many* of them are invalid (configuration issues, distro issues) or are duplicates.
Comment 11 David Southwell 2007-08-19 19:09:28 UTC
I do not know why you are so determined to suggest this as freebsd only in view of Mark's report that it is also apparent on Linux. Marks comment relied on the notion that this is freebsd only when it is clearly not and your suggestion that it is a duplicate flies in the face of reality.

I accept that resolving 147358 ccould light the way to solving 149003 but they are clearly different. 149003 is much more tricky to resolve because we get a total SYSTEM CRASH when kmail is maximized. That never occured with 147358.

So they are clearly different.

The other thing you will see from careful reading of the two reports is that 147358 was on an earlier version of kdepim whereas 149003 is on the latest version.

David version.
Comment 12 David Southwell 2007-08-19 19:13:00 UTC
OK I accept a mistake was made. The difference in versions is also highly significant. My guess is that 147358 was never resolved in the earlier version of kdepim. The code that generated that bug probably remains in the latest version BUT the later version has compounded the problem and made it worse.

All the more reason why they need to be looked at separately other wise some poor developer is going to get confused between the bugs on two different versions of kdepim

David
Comment 13 Bram Schoenmakers 2007-08-19 19:16:52 UTC
You may contact kde-freebsd@kde.org or freebsd-questions@freebsd.org about this, they can guide you to the source of the problem better than I can.
Comment 14 David Southwell 2007-08-19 19:34:26 UTC
Hi Bram

IMHO you are not paying attention to the facts.

I am disappointed  the reality this is more than a freebsd issue is being ignored. The same bug is apparent on linux as evidenced by Matt Blissett's report in which he says.

""Matt Blissett 2007-08-19 18:48 -------   
 You mention in #149003 that it's only reported on FreeBSD -- I had the problem under Linux (#147395)""


This issue has been around for quite some time and IMHO the need for developer attention is being excused at every turn. This is clearly a bug in kde core and cannot be resolved by freebsd. Noone has any evidence of any work being done it by the developers only that the problem is getting worse in the latest version.

I request this issue be given a higher priority and more attention than it seems to be getting.

Thanks
Comment 15 David Southwell 2007-08-19 19:44:12 UTC
This marking as dup[licates does lead to problems!! Mat Bissetts 147395 bug was reported on Linux debian. It was then marked as resolved on the grounds it is  a duplicate of 147358 even though the version of kdepim being run by Matt is different than 147358. There was no record made at that time that the bug has therefore been reported on more than one operating system!!

Despite this reality there are persistent attempts to flag these types of bugs as being freebsd specific. Maybe more care is needed before things are marked as duplicate. 

Comment 16 Thomas McGuire 2007-08-19 20:16:13 UTC
OK, some points:

- Bram is doing a great job looking at incoming bug reports. If the backtraces match, it is almost guarenteed that they are the same bugs.
- We don't insist that this is a FreeBSD problem, it was rather a guess.
- If bugs are reported against different versions, they are still marked as duplicates if they have not been marked as fixed. After all, they are the same bugs
- Same happens if two identical bugs are reported with two different operating systems, they are the same bug. In this case, it is an external gpg process which hangs.

>the need for developer attention is being excused at every turn
>[..]
>Noone has any evidence of any work being done it by the developers
Where did we make excuses? The unfortunate fact is that there are very few KDEPIM developers, who don't find the time to look at bug reports.

>I request this issue be given a higher priority and more attention
See above, it does not get attention because we don't have enough developers for it. Nobody uses bugzilla's priority field anyway.

>The difference in versions is also highly significant. 
I doubt that. It is the same old bug, apart from the crash when maximized, which probably is another issue.

>My guess is that 147358 was never resolved in the earlier version of kdepim.
Right. Resolved bugs are marked as RESOLVED/FIXED :)


I'll leave this bug open because you say that the system crashes when KMail is maximized. I don't know if this is related to the deadlock when viewing signed messages.
Does KMail always hang when being maximised or only when an signed message is viewed? 
Also, it seems strange to me that the whole system hangs, an application shouldn't be able to cause this.
Comment 17 Bram Schoenmakers 2007-08-19 20:18:39 UTC
OK, Thomas did a part of my initial answer already. But here's an addition explaining comment 13.

The reason I pointed you to FreeBSD specific mailing lists is that they can help you track down why your system completely freezes, with FreeBSD specific tools. See, a desktop enviroment itself does not handle the hardware, it's your OS, and it seems something goes wrong in there.
Comment 18 David Southwell 2007-08-19 21:16:43 UTC
Yep but the same thing happens with linux!!!!

So the problem must be in the way kmail makes its calls through kde .core to grab the focus of kb and mouse.

No other kde program has the same problem -- but kmail has it on both freebsd and linux!!

david
Comment 19 David Southwell 2007-08-19 23:01:27 UTC
Just one small point may be helpful.. kmail currently does not, in the version reported in 149003, generally have problems with signed messages. Problems are much rarer than they used to be with previous versions.  So my question is has there been some change in the code in recent versions affecting the way signed messages are handled?

There seem to be two symptoms -- a reduction in the volume of incidents accompanied by an increase in their severity when they do occur.

Perhaps these symptoms are in some way related.

I agree crashes should not occur BUT as the crashes affect more than one operating system (freebsd & linux) it is highly likely the problem is generic to the code rather than generic to an individual operating system.

 
Comment 20 David Southwell 2007-08-22 11:07:34 UTC
Freebsd ports maintainer has determined this is not a ports problem or caused by the freebsd OS but a bug in kdepim.
Comment 21 Michael Nottebrock 2007-08-23 16:23:37 UTC
Or to be more precise, we are unable to determine whether it is a FreeBSD-specific problem. We are aware of the bug and will track its progress in bugs.kde.org, but we are not kmail or gnupg or gpgme developers, we are, first and foremost, packagers.
Comment 22 David Southwell 2007-08-24 10:42:02 UTC
I have just reviewed the emails that generate the hang/crash phenomenon and found an interesting correlation.

The hung/crash mails have all been subject to filtering as a result of which they have been moved from an incoming mailbox to another. Secondly every mail has come to me twice via a cc mechanism. For example one copy directly to me and one copy from a mailing list. No mails sent to me as an individual have hung/crashed. 

This makes me wonder if the mail filter system could be implicated.

Some attention to this problem would be appreciated.

Thanks David
Comment 23 David Southwell 2007-08-24 10:47:28 UTC
Re 21
Thanks Michael for your careful attention to this ( and your assiduous help to me in my efforts to get this particularly nasty bug traced).

In the context of your note, it is worth repeating that this bug has also the subject of a bug report on Linux so any suggestion it is freebsd specific flies against the facts.

David
Comment 24 David Southwell 2007-11-27 18:06:14 UTC
Does none ever try and track bugs and solve them ????????

Do I need to use another office package??
Comment 25 David Southwell 2008-07-05 20:48:26 UTC
Problem still around
Still no response
Comment 26 Michael Leupold 2009-04-05 12:52:59 UTC
Hi David, same as for bug 147358: Did the bug get resolved with KMail on KDE4?
Comment 27 Christophe Marin 2009-08-23 18:57:27 UTC
No feedback for 4 monthes. Closing this report.