NetBSD Problem Report #46503

From mlr@mterm.rse.com  Thu May 31 01:26:36 2012
Return-Path: <mlr@mterm.rse.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 1F5D663B882
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 31 May 2012 01:26:36 +0000 (UTC)
Message-Id: <20120531001842.00F6BBF3E49@mterm.rse.com>
Date: Wed, 30 May 2012 20:18:41 -0400 (EDT)
From: mlr@rse.com
Reply-To: mlr@rse.com
To: gnats-bugs@gnats.NetBSD.org
Subject: kmail segfaults after handing over a composed email to e.g. sendmail/postfix
X-Send-Pr-Version: 3.95

>Number:         46503
>Category:       pkg
>Synopsis:       kmail segfaults after handing over a composed email to e.g. sendmail/postfix
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 31 01:30:00 +0000 2012
>Last-Modified:  Mon Jun 04 18:10:03 +0000 2012
>Originator:     Michael L. Riechers
>Release:        NetBSD 6.0_BETA, package source 1st quarter 2012
>Organization:
M L Riechers Systems Engineering

>Environment:


System: NetBSD mterm.rse.com 6.0_BETA NetBSD 6.0_BETA (GENERIC) #1: Mon Apr 30 17:12:11 EDT 2012 root@cterm.rse.com:/usr/local/src/usr/usr.201204292125Z/src/sys/arch/amd64/compile/obj/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

I recently compiled NetBSD 6.0 Beta, gnome2, kde 3.5, and
a slew of packages. Bash, emacs, xpdf, fvwm2, and other
basic packages I've tried work OK, but kde has my head
scratching.

kde leaves a trail of warning messages, bad window messages,
and can't set up the audio, although mplayer stand-alone
works fine.

So, to the crux of the matter, kmail:  I run kmail under kde, and
under fvwm.  I run kmail with an older .kde/ and a fresh .kde.
Always the same.  kmail works splendidly, except for:

crashing with a segfault (11) after handing over an email to
sendmail/postfix. There is no core dump that I can find, so
I'm at a loss as to how to give you any info on why kmail does
this.  There is a kde crash handler invoked, which apparently
is supposed to do a "backtrace" using gdb, but gdb crashes with
a core dump, because, I suspect, there's no core dump to "backtrace."

I've also tried kmail in fvwm invoked from a shell.  Same result.
I've tried kmail fresh (i.e., no former environment -- all wiped
clean). Same result.  I've tried changing the mailer from
/usr/sbin/sendmail to /usr/libexec/postfix/sendmail. Same result.
representative messages left by kmail/kde etc:

kmail.died-at-the-send-command:

kbuildsycoca running...
DCOP Cleaning up dead connections.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): KAccel object already contains an action name "cancel"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): 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 = 0x7f7ff5127400 ): KAccel object already contains an action name "edit"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff5127400 ): KAccel object already contains an action name "delete"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff5127400 ): KAccel object already contains an action name "post_message"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff5127400 ): KAccel object already contains an action name "use_template"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff5127400 ): KAccel object already contains an action name "display_message"
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
ICE default IO error handler doing an exit(), pid = 5273, errno = 35

kmail.died-moving-mail-to-spam:

kbuildsycoca running...
DCOP Cleaning up dead connections.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): KAccel object already contains an action name "cancel"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): 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 = 0x7f7ff4501320 ): KAccel object already contains an action name "edit"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff4501320 ): KAccel object already contains an action name "delete"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff4501320 ): KAccel object already contains an action name "post_message"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff4501320 ): KAccel object already contains an action name "use_template"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff4501320 ): KAccel object already contains an action name "display_message"
kio (KIOConnection): ERROR: Could not write data
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
kio (KIOConnection): ERROR: Could not write data
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
QGArray::at: Absolute index 0 out of range
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
DCOP Cleaning up dead connections.
ICE default IO error handler doing an exit(), pid = 9315, errno = 35


kmail.died-going-to-draft:

kbuildsycoca running...
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): KAccel object already contains an action name "cancel"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): 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 = 0x7f7ff55eed40 ): KAccel object already contains an action name "edit"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff55eed40 ): KAccel object already contains an action name "delete"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff55eed40 ): KAccel object already contains an action name "post_message"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff55eed40 ): KAccel object already contains an action name "use_template"
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7ff55eed40 ): KAccel object already contains an action name "display_message"
kio_http_debug: WARNING: (10176)createCacheEntry: opening /var/tmp/kdecache-mlr/http/b/bzoi68.idorsket.net_vv~5u3txuq_tr_tt6umlmr_tt3umtfuszqspm0prwso_us_tn0l_typ_tz0lznlnrwptdyumoornppolqtceu_tt7uo_tl_mpr_utdfw3yu_7k_3o_9_e5e_7k_3h_7_y_jutyxumptxveumms_tte3ult0x0ut0xumt7eunty1u_ttf1ust2utezdeut0u_z7v36_0vity8ucdz_ox97tdy97utd3aut09ultcdaum.jpg_738d5a52.new failed.
kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
kdecore (KAction): WARNING: KAction::plugAccel( kacc = 0x7f7fe9708e80 ): KAccel object already contains an action name "edit"
kio_http_cache_cleaner: Already running! (kio_http_cache_cleaner-2)
kmail: WARNING: Error: Failure modifying /home/rse/mlr/Mail/.Personal.directory/.BoyScouts.directory/.T982.index.sorted (No space left on device?)
kmail: WARNING: kmheaders.cpp:3431
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kio (KIOConnection): ERROR: Could not write data
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kio (KIOConnection): ERROR: Could not write data
kmail: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'cid'.
kmail: 
kmail: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'cid'.
kmail: 
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio_http_cache_cleaner: Already running! (kio_http_cache_cleaner-2)
kio_http_cache_cleaner: Already running! (kio_http_cache_cleaner-3)
kio_http_cache_cleaner: Already running! (kio_http_cache_cleaner-2)
kio (KIOConnection): ERROR: Could not write data
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KLauncher): ERROR: SlavePool: No communication with slave.
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kmail: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'cid'.
kmail: 
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kmail: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'cid'.
kmail: 
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
kmail: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'cid'.
kmail: 
kmail: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'cid'.
kmail: 
kmail: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'cid'.
kmail: 
Can't connect to audio server
Can't connect to audio server
Can't connect to audio server
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "PKCS7_content_free"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OPENSSL_add_all_algorithms"
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol "OpenSSL_add_all_algorithms_conf"
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
140187728347216:error:0B07C065:x509 certificate routines:func(124):reason(101):/usr/local/src/usr/usr.201204292125Z/src/crypto/external/bsd/openssl/dist/crypto/x509/x509_lu.c:357:
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
kmail: WARNING: KMMessage::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
Can't connect to audio server
QThread object destroyed while thread is still running.
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
Can't connect to audio server
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
kmail: WARNING: KMMessagePart::setCharset(): trying to set a charset for a non-textual mimetype.
kmail: Fix this caller:
kmail: ====================================================================
kmail: 
kmail: ====================================================================
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
ICE default IO error handler doing an exit(), pid = 10910, errno = 35
ICE default IO error handler doing an exit(), pid = 8297, errno = 35


crashing with a segfault (11) after picking up mail from a pop server:

This seems to be associated with base64 decoding, possibly large files.
representative messages left by kmail/kde etc:

kmail: WARNING: Base64Decoder: unexpected padding character in input stream
kmail: WARNING: Base64Decoder: unexpected padding character in input stream
...
kmail: WARNING: Base64Decoder: unexpected padding character in input stream
QGArray::at: Absolute index 0 out of range
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
DCOP Cleaning up dead connections.
ICE default IO error handler doing an exit(), pid = 20619, errno = 35


>How-To-Repeat:

Compile NetBSD 6.0 BETA. Compile kde3-5 under NetBSD 6.0 BETA. Start X. Start
kmail.  Compose an email.  Try to send.  BLAM. (Very consistent for me.  Hope
you can replicate.)
>Fix:

No idea.

>Audit-Trail:
From: "Michael L. Riechers" <mlr@mterm.rse.com>
To: gnats-bugs@netbsd.org
Cc: mlr@rse.com
Subject: Re: pkg/46503: kmail segfaults after handing over a composed email to e.g. sendmail/postfix
Date: Mon,  4 Jun 2012 14:08:02 -0400 (EDT)

 (Sorry, I guess I'm supposed to follow up to gnats-bugs, not admin).

 Date: Mon,  4 Jun 2012 13:16:44 -0400 (EDT):

 Don't know whether this helps or not, but I was able to get a dump, and a ktrace:

 What I did, was to:

 1.  From fvwm xterm, type "ktrace kmail --nocrashhandler 2>&1 |cat - > kmail.log2

 2.  Go to the Menu, and select New->Message, then

 3.  In the new message window, Go to the Menu, and select "close."

 4.  Watch kmail crash, and collect up the dump and the ktrace.


 Mon Jun 04 13:08:18 on mterm.rse.com ~ A) gdb /usr/pkg/bin/kmail -c kmail.core
 GNU gdb (GDB) 7.3.1
 Copyright (C) 2011 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64--netbsd".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /usr/pkg/bin/kmail...(no debugging symbols found)...done.
 [New process 1]
 [New process 5]
 [New process 4]
 [New process 3]
 [New process 2]
 Core was generated by `kmail'.
 Program terminated with signal 11, Segmentation fault.
 #0  0x00007f7fed813e5c in DCOPObject::~DCOPObject() () from /usr/pkg/lib/libDCOP.so.4
 (gdb) bt
 #0  0x00007f7fed813e5c in DCOPObject::~DCOPObject() () from /usr/pkg/lib/libDCOP.so.4
 #1  0x00007f7ff74e79b2 in KMComposeWin::~KMComposeWin() () from /usr/pkg/lib/libkmailprivate.so
 #2  0x00007f7ff74e7a01 in KMComposeWin::~KMComposeWin() () from /usr/pkg/lib/libkmailprivate.so
 #3  0x00007f7feb93171d in QObject::event(QEvent*) () from /usr/pkg/qt3/lib/libqt-mt.so.3
 #4  0x00007f7feb959bbb in QWidget::event(QEvent*) () from /usr/pkg/qt3/lib/libqt-mt.so.3
 #5  0x00007f7feb8e89b3 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/pkg/qt3/lib/libqt-mt.so.3
 #6  0x00007f7feb8e8ad1 in QApplication::notify(QObject*, QEvent*) () from /usr/pkg/qt3/lib/libqt-mt.so.3
 #7  0x00007f7fedcf744a in KApplication::notify(QObject*, QEvent*) () from /usr/pkg/lib/libkdecore.so.4
 #8  0x00007f7feb8e9767 in QApplication::sendPostedEvents(QObject*, int) () from /usr/pkg/qt3/lib/libqt-mt.so.3
 #9  0x00007f7feb8a853b in QEventLoop::processEvents(unsigned int) () from /usr/pkg/qt3/lib/libqt-mt.so.3
 #10 0x00007f7feb8f8693 in QEventLoop::enterLoop() () from /usr/pkg/qt3/lib/libqt-mt.so.3
 #11 0x00007f7feb8f8634 in QEventLoop::exec() () from /usr/pkg/qt3/lib/libqt-mt.so.3
 #12 0x0000000000402f42 in ?? ()
 #13 0x0000000000402ca2 in ?? ()
 #14 0x00007f7ff7ffa000 in ?? ()
 #15 0x0000000000000002 in ?? ()
 #16 0x00007f7ffffffce8 in ?? ()
 #17 0x00007f7ffffffcef in ?? ()
 #18 0x0000000000000000 in ?? ()
 (gdb) 

    4056      1 kmail    CALL  access(0x7f7ff1911080,2)
    4056      1 kmail    NAMI  "/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc"
    4056      1 kmail    RET   access 0
    4056      1 kmail    CALL  open(0x7f7ff1911100,0xa02,0x180)
    4056      1 kmail    NAMI  "/home/rse/mlr/.kde/share/kde/config/kmailsnippetrcBGBVba.new"
    4056      1 kmail    RET   open 25/0x19
    4056      1 kmail    CALL  umask(0)
    4056      1 kmail    RET   umask 18/0x12
    4056      1 kmail    CALL  umask(0x12)
    4056      1 kmail    RET   umask 0
    4056      1 kmail    CALL  fchmod(0x19,0x180)
    4056      1 kmail    RET   fchmod 0
    4056      1 kmail    CALL  getgid
    4056      1 kmail    RET   getgid 0
    4056      1 kmail    CALL  getuid
    4056      1 kmail    RET   getuid 100/0x64, 100/0x64
    4056      1 kmail    CALL  fchown(0x19,0x64,0)
    4056      1 kmail    RET   fchown 0
    4056      1 kmail    CALL  fcntl(0x19,2,1)
    4056      1 kmail    RET   fcntl 0
    4056      1 kmail    CALL  __stat50(0x7f7ff1911080,0x7f7fffffc900)
    4056      1 kmail    NAMI  "/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc"
    4056      1 kmail    RET   __stat50 0
    4056      1 kmail    CALL  getuid
    4056      1 kmail    RET   getuid 100/0x64, 100/0x64
    4056      1 kmail    CALL  getgid
    4056      1 kmail    RET   getgid 0
    4056      1 kmail    CALL  fchmod(0x19,0x8180)
    4056      1 kmail    RET   fchmod 0
    4056      1 kmail    CALL  fchmod(0x19,0x180)
    4056      1 kmail    RET   fchmod 0
    4056      1 kmail    CALL  fcntl(0x19,3,0)
    4056      1 kmail    RET   fcntl 2
    4056      1 kmail    CALL  __fstat50(0x19,0x7f7fffffbc40)
    4056      1 kmail    RET   __fstat50 0
    4056      1 kmail    CALL  write(0x19,0x7f7ff1901000,0xc9)
    4056      1 kmail    GIO   fd 25 wrote 201 bytes
         "[SnippetPart]\nsnippetCount=0\nsnippetDelimiter=$\nsnippetGroupAutoOpen=1\nsnippetGroupCount=0\nsnippetMultiRect=0,0,0,0\nsnippetSavedCo
        unt=0\nsnippetSingleRect=0,0,0,0\nsnippetToolTips=true\nsnippetVarInput=0\n"
    4056      1 kmail    RET   write 201/0xc9
    4056      1 kmail    CALL  lseek(0x19,0,0,1)
    4056      1 kmail    RET   lseek 201/0xc9
    4056      1 kmail    CALL  close(0x19)
    4056      1 kmail    RET   close 0
    4056      1 kmail    CALL  rename(0x7f7ff19110c0,0x7f7ff1911080)
    4056      1 kmail    NAMI  "/home/rse/mlr/.kde/share/kde/config/kmailsnippetrcBGBVba.new"
    4056      1 kmail    NAMI  "/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc"
    4056      1 kmail    RET   rename 0
    4056      1 kmail    CALL  __lstat50(0x7f7ff1911080,0x7f7ff2d5cac0)
    4056      1 kmail    NAMI  "/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc"
    4056      1 kmail    RET   __lstat50 0
    4056      1 kmail    CALL  unlink(0x7f7ff1911080)
    4056      1 kmail    NAMI  "/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc.lock"
    4056      1 kmail    RET   unlink 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb00,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb10,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb10,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb10,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb60,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcbd0,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcbd0,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcf20,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcc70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcc30,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcc40,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    PSIG  SIGSEGV caught handler=0x7f7fedd6c162 mask=(11): code=SEGV_MAPERR, addr=0x0, trap=6)
    4056      1 kmail    CALL  __sigaction_sigtramp(SIGALRM,0x7f7fffffcac0,0x7f7fffffcaa0,0x7f7fe688e060,2)
    4056      1 kmail    RET   __sigaction_sigtramp 0
    4056      1 kmail    CALL  __setitimer50(0,0x7f7fffffcac0,0x7f7fffffcaa0)
    4056      1 kmail    RET   __setitimer50 0
    4056      1 kmail    CALL  __sigaction_sigtramp(SIGKILL,0x7f7fffffcaa0,0x7f7fffffca80,0x7f7fe688e060,2)
    4056      1 kmail    RET   __sigaction_sigtramp -1 errno 22 Invalid argument
    4056      1 kmail    CALL  __sigaction_sigtramp(SIGTERM,0x7f7fffffcaa0,0x7f7fffffca80,0x7f7fe688e060,2)
    4056      1 kmail    RET   __sigaction_sigtramp 0
    4056      1 kmail    CALL  __sigaction_sigtramp(SIGHUP,0x7f7fffffcaa0,0x7f7fffffca80,0x7f7fe688e060,2)
    4056      1 kmail    RET   __sigaction_sigtramp 0
    4056      1 kmail    CALL  write(2,0x7f7fffffc1c0,0x23)
    4056      1 kmail    GIO   fd 2 wrote 35 bytes
         "*** KMail got signal 11 (Crashing)\n"
    4056      1 kmail    RET   write 35/0x23

 Yours,

 -Mike

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.