NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/42435: netpgpkeys(1) segfaults



The following reply was made to PR bin/42435; it has been noted by GNATS.

From: Jukka Ruohonen <jruohonen%iki.fi@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/42435: netpgpkeys(1) segfaults
Date: Thu, 5 Aug 2010 08:13:56 +0300

 Still no luck.
 
 $ ktruss netpgpkeys --export-key > truss
 
  24037      1 ktruss   fktrace                     = 0
  24037      1 ktruss   emul(netbsd)
  24037      1 ktruss   fcntl(0x4, 0x3, 0)          = 1
  24037      1 ktruss   fcntl(0x4, 0x4, 0x1)        = 0
  24037      1 ktruss   execve("/bin/netpgpkeys", 0xbfbfeb48, 0xbfbfeb54) Err#2 
ENOENT
  24037      1 ktruss   execve("/sbin/netpgpkeys", 0xbfbfeb48, 0xbfbfeb54) 
Err#2 ENOENT
  24037      1 netpgpkeys execve("/usr/bin/netpgpkeys", 0xbfbfeb48, 0xbfbfeb54) 
JUSTRETURN
  24037      1 netpgpkeys emul(netbsd)
  24037      1 netpgpkeys mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 
0xbbbdf000
  24037      1 netpgpkeys open("/etc/ld.so.conf", 0, 0) Err#2 ENOENT
  24037      1 netpgpkeys open("/usr/lib/libnetpgp.so.3", 0, 0) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbbbde000
  24037      1 netpgpkeys munmap(0xbbbde000, 0x1000) = 0
  24037      1 netpgpkeys mmap(0, 0x37000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbbba8000
  24037      1 netpgpkeys mmap(0xbbbdd000, 0x2000, 0x3, 0x12, 0x3, 0, 0x34000, 
0) = 0xbbbdd000
  24037      1 netpgpkeys mmap(0xbbbdf000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) 
= 0xbbbdf000
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/usr/lib/libcrypto.so.6", 0, 0xbfbfe348) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbbba7000
  24037      1 netpgpkeys munmap(0xbbba7000, 0x1000) = 0
  24037      1 netpgpkeys mmap(0, 0x175000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbba33000
  24037      1 netpgpkeys mmap(0xbbb8e000, 0x17000, 0x3, 0x12, 0x3, 0, 
0x15b000, 0) = 0xbbb8e000
  24037      1 netpgpkeys mmap(0xbbba5000, 0x3000, 0x3, 0x1012, 0xffffffff, 0, 
0, 0) = 0xbbba5000
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/usr/lib/libz.so.1", 0, 0xbfbfe348) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbba32000
  24037      1 netpgpkeys munmap(0xbba32000, 0x1000) = 0
  24037      1 netpgpkeys mmap(0, 0x12000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbba21000
  24037      1 netpgpkeys mmap(0xbba32000, 0x1000, 0x3, 0x12, 0x3, 0, 0x10000, 
0) = 0xbba32000
  24037      1 netpgpkeys mmap(0xbba33000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) 
= 0xbba33000
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/usr/lib/libbz2.so.1", 0, 0xbfbfe348) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbba20000
  24037      1 netpgpkeys munmap(0xbba20000, 0x1000) = 0
  24037      1 netpgpkeys mmap(0, 0x11000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbba10000
  24037      1 netpgpkeys mmap(0xbba20000, 0x1000, 0x3, 0x12, 0x3, 0, 0x10000, 
0) = 0xbba20000
  24037      1 netpgpkeys mmap(0xbba21000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) 
= 0xbba21000
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/usr/lib/libc.so.12", 0, 0xbfbfe348) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbba0f000
  24037      1 netpgpkeys munmap(0xbba0f000, 0x1000) = 0
  24037      1 netpgpkeys mmap(0, 0x10d000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb903000
  24037      1 netpgpkeys mmap(0xbb9f9000, 0x8000, 0x3, 0x12, 0x3, 0, 0xf6000, 
0) = 0xbb9f9000
  24037      1 netpgpkeys mmap(0xbba01000, 0xf000, 0x3, 0x1012, 0xffffffff, 0, 
0, 0) = 0xbba01000
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/lib/libcrypt.so.1", 0, 0xbfbfe348) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbb902000
  24037      1 netpgpkeys munmap(0xbb902000, 0x1000) = 0
  24037      1 netpgpkeys mmap(0, 0x9000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb8fa000
  24037      1 netpgpkeys mmap(0xbb8ff000, 0x1000, 0x3, 0x12, 0x3, 0, 0x5000, 
0) = 0xbb8ff000
  24037      1 netpgpkeys mmap(0xbb900000, 0x3000, 0x3, 0x1012, 0xffffffff, 0, 
0, 0) = 0xbb900000
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/lib/libc.so.12", 0, 0xbfbfe348) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/lib/libc.so.12", 0, 0xbfbfe348) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/lib/libc.so.12", 0, 0xbfbfe348) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfe348) = 0
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys __sysctl(0xbfbfea78, 0x2, 0xbba0e5a0, 0xbfbfea80, 0, 
0) = 0
  24037      1 netpgpkeys __sysctl(0xbfbfe138, 0x2, 0xbba08b18, 0xbfbfe140, 0, 
0) = 0
  24037      1 netpgpkeys __sysctl(0xbfbfe078, 0x2, 0xbba0f4c0, 0xbfbfe080, 0, 
0) = 0
  24037      1 netpgpkeys readlink("/etc/malloc.conf", 0xbfbfe145, 0x400) Err#2 
ENOENT
  24037      1 netpgpkeys break(0x8100000)          = 0
  24037      1 netpgpkeys mmap(0, 0x100000, 0x3, 0x14001002, 0xffffffff, 0, 0, 
0) = 0xbb700000
  24037      1 netpgpkeys __stat50("/home/jruoho/.gnupg", 0xbfbfe15c) = 0
  24037      1 netpgpkeys setrlimit(0x4, 0xbfbfe158) = 0
  24037      1 netpgpkeys open("/home/jruoho/.gnupg/gpg.conf", 0, 0x1b6) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfdee0) = 0
  24037      1 netpgpkeys read(0x3, 0xbb70b000, 0x4000) = 9183
        "# Options for GnuPG\n# Copyright 1998, 1999, 2000, 2001, 2002, 2003 F"
  24037      1 netpgpkeys read(0x3, 0xbb70b000, 0x4000) = 0
        ""
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys open("/home/jruoho/.gnupg/pubring.gpg", 0, 0x1) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfdb30) = 0
  24037      1 netpgpkeys mmap(0, 0x4b30, 0x1, 0x2, 0x3, 0, 0, 0) = 0xbb8f5000
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys munmap(0xbb8f5000, 0x4b30) = 0
  24037      1 netpgpkeys close(0x3)                Err#9 EBADF
  24037      1 netpgpkeys open("/home/jruoho/.gnupg/secring.gpg", 0, 0x1) = 3
  24037      1 netpgpkeys __fstat50(0x3, 0xbfbfdb30) = 0
  24037      1 netpgpkeys mmap(0, 0x1571, 0x1, 0x2, 0x3, 0, 0, 0) = 0xbb8f8000
  24037      1 netpgpkeys close(0x3)                = 0
  24037      1 netpgpkeys munmap(0xbb8f8000, 0x1571) = 0
  24037      1 netpgpkeys close(0x3)                Err#9 EBADF
  24037      1 netpgpkeys SIGSEGV SIG_DFL
 


Home | Main Index | Thread Index | Old Index