[SunHELP] Solaris 8 and Mutt Segfault (Patch Cluster Maybe ?)

Chris Hall chall at verio.net
Thu Jun 5 19:14:10 CDT 2003


  Forgive me if this turns out to be a mutt only problem. I figure i might as well try 
here first. I am more interested in what is happening in the truss output as a starting 
point ? :)
 
    Latly when using mutt w/ pgp, mutt will segfault. (after composing an new e-mail, then (P) then (e) to 
encrypt hitting (Y) to send) after the "Enter keyID for addr at domain: " Just hitting "Enter" to pull 
up all the Keys in the keyring it crashes with a "Bus error" or "segmentation fault".

[...]

Looking for keys matching ""...Segmentation fault (core dumped)

[...]

> file core
core:           ELF 32-bit MSB core file SPARC Version 1, from 'mutt'
> 

  
System: Solaris 2.8 (Patch Cluster as of June 5 2003)
PGP: Version 6.5.8 (Command line Freeware)
Mutt: Mutt 1.4i (Compiled from source using gcc 2.95.3)

   The pgp command mutt runs to extract the keys from the keyring (in ~/.muttrc) 
 and parses its output is (crash ocurrs after running this)

 pgpring -5 <search string>

 The problem occurs when there is more than 30 keys in the keyring.  30 and under, it works as it 
should without a problem. I have recompiled Mutt and even downgraded mutt with the same results. I 
have wiped and stared a fresh keyrings. 

ldd /bin/mutt
	libncurses.so.5 =>	 /usr/lib/libncurses.so.5
	libsocket.so.1 =>	 /usr/lib/libsocket.so.1
	libnsl.so.1 =>	 /usr/lib/libnsl.so.1
	libc.so.1 =>	 /usr/lib/libc.so.1
	libdl.so.1 =>	 /usr/lib/libdl.so.1
	libmp.so.2 =>	 /usr/lib/libmp.so.2
	/usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1

  I have reinstalled the ncurses package from sunfreeware thinking mabee it may be that. 

pkginfo -l SMCncurs
   PKGINST:  SMCncurs
      NAME:  ncurses
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  5.2
   BASEDIR:  /usr/local
    VENDOR:  Pavel Curtis et al
    PSTAMP:  Steve Christensen
  INSTDATE:  Jun 05 2003 20:29
     EMAIL:  steve at smc.vnet.net
    STATUS:  completely installed
     FILES:     3196 installed pathnames
                   9 shared pathnames
                 884 linked files
                  64 directories
                   8 executables
               24897 blocks used (approx)

    Users have not complaied about this untill today. To my knowledge nothing has changed on the system 
as of Jun 5 2003 when the patch cluster was applied. I have been trring to figure out where to go next.
My question is is there any issues with any of the applied patches up untill Jun 5 2003 that may be causing
this ? No other problems have been reported as of yet. I would just like some insight before i go through 
and backout any patches. Below is truss output of where mutt takes a dive. (truss -af -o trace.out mutt) 

   
-- 
Thanks For any help.

- Chris Hall


[.....................]

28447:	llseek(3, 0, SEEK_CUR)				= 16762
28447:	read(3, 0x00026DEC, 8192)			= 0
28447:	lseek(3, 16762, SEEK_SET)			= 16762
28447:	llseek(3, 0, SEEK_CUR)				= 16762
28447:	llseek(3, 0, SEEK_CUR)				= 16762
28447:	read(3, 0x00026DEC, 8192)			= 0
28447:	lseek(3, 16762, SEEK_SET)			= 16762
28447:	llseek(3, 0, SEEK_CUR)				= 16762
28447:	close(3)					= 0
28447:	llseek(0, 0, SEEK_CUR)				= 154937
28447:	write(1, " p u b : n : 1 0 2 4 : 1".., 2606)	= 2606
28436:	read(6, " p u b : n : 1 0 2 4 : 1".., 5120)	= 2606
28447:	_exit(0)
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28445:	waitid(P_PID, 28447, 0xFFBEF8F0, WEXITED|WTRAPPED|WNOWAIT) = 0
28445:	ioctl(0, TIOCGPGRP, 0xFFBEF8AC)			= 0
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28445:	ioctl(0, TCGETS, 0x000391B8)			= 0
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28445:	waitid(P_PID, 28447, 0xFFBEF8F0, WEXITED|WTRAPPED) = 0
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28445:	llseek(0, 0, SEEK_CUR)				= 154937
28445:	_exit(0)
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	access("/usr/lib/iconv/geniconvtbl/binarytables/utf-8%us-ascii.bt", 4) Err#2 ENOENT
28436:	access("/usr/lib/iconv/utf-8%us-ascii.so", 4)	Err#2 ENOENT
28436:	open("/usr/lib/iconv/alias", O_RDONLY)		Err#2 ENOENT
28436:	read(6, 0x000BE134, 5120)			= 0
28436:	llseek(6, 0, SEEK_CUR)				Err#29 ESPIPE
28436:	close(6)					= 0
28436:	waitid(P_PID, 28445, 0xFFBEDB58, WEXITED|WTRAPPED) = 0
28436:	sigprocmask(SIG_UNBLOCK, 0x000A0570, 0x00000000) = 0
28436:	    Received signal #18, SIGCLD [caught]
28436:		siginfo: SIGCLD CLD_EXITED pid=28445 status=0x0000
28436:	setcontext(0xFFBED890)
28436:	sigaction(SIGQUIT, 0xFFBEDB28, 0x00000000)	= 0
28436:	sigaction(SIGINT, 0xFFBEDB28, 0x00000000)	= 0
28436:	close(5)					= 0
28436:	    Incurred fault #5, FLTACCESS  %pc = 0x00071B4C
28436:		siginfo: SIGBUS BUS_ADRALN addr=0x6469736F
28436:	    Received signal #10, SIGBUS [default]
28436:		siginfo: SIGBUS BUS_ADRALN addr=0x6469736F
28436:		*** process killed ***


- END -



More information about the SunHELP mailing list