Subject: silc-client core dump
To: None <silc-users@lists.silcnet.org>
From: None <jbl@subterrain.net>
List: tech-misc
Date: 01/14/2005 09:47:18
Hi,

I just built silc-client-1.0.1nb2 from pkgsrc current on NetBSD 2.0. This
is what happens when I run the client:

$ silc
Can't open perl script "-e": Permission denied.
Use -S to search $PATH for it.
Segmentation fault (core dumped)
$ silc

I have attached a gdb backtrace and ktruss output below to aid debugging.
It would like to determine exactly what is causing this. Suggestions?

-jbl

(gdb) bt
#0  0x481e2f90 in Perl_sv_setpvn ()
   from /usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libperl.so
#1  0x4821ce4d in Perl_my_stat ()
   from /usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libperl.so
#2  0x48211b1d in Perl_pp_ftfile ()
   from /usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libperl.so
#3  0x481d5856 in Perl_runops_standard ()
   from /usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libperl.so
#4  0x48185c9a in S_call_body ()
   from /usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libperl.so
#5  0x48185ec3 in Perl_eval_sv ()
   from /usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libperl.so
#6  0x48186015 in Perl_eval_pv ()
   from /usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libperl.so
#7  0x080b52ce in perl_command ()
#8  0x482b1469 in g_slist_foreach () from /usr/pkg/lib/libglib.so.13
#9  0x080b54b1 in perl_common_start ()
#10 0x080b1763 in perl_scripts_init ()
#11 0x080b2846 in perl_core_init ()
#12 0x0806ab27 in irssi_set_dirty ()
#13 0x0806ae5b in main ()
#14 0x08058f12 in ___start ()
(gdb)

ktrace output:

  8800 ktruss   emul(netbsd)
  8800 ktruss   execve("/usr/bin/silc", 0xbfbffb74, 0xbfbffb7c) Err#2 ENOENT
  8800 ktruss   execve("/bin/silc", 0xbfbffb74, 0xbfbffb7c) Err#2 ENOENT
  8800 silc     emul(netbsd)
  8800 silc     execve("/usr/pkg/bin/silc", 0xbfbffb74, 0xbfbffb7c) JUSTRETURN
  8800 silc     mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 0x480db000
  8800 silc     open("/etc/ld.so.conf", 0, 0)      = 3
  8800 silc     __fstat13(0x3, 0xbfbffa88)         = 0
  8800 silc     mmap(0, 0x37, 0x1, 0x1, 0x3, 0, 0, 0) = 0x480e3000
  8800 silc     close(0x3)                         = 0
  8800 silc     munmap(0x480e3000, 0x37)           = 0
  8800 silc     open("/usr/pkg/lib/libsilcclient-1.0.so.2", 0, 0) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libsilcclient-1.0.so.2", 0, 0) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/silc-client/libsilcclient-1.0.so.2", 0, 0) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x480e3000
  8800 silc     munmap(0x480e3000, 0x1000)         = 0
  8800 silc     mmap(0, 0x29000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x480e3000
  8800 silc     mmap(0x4810b000, 0x1000, 0x3, 0x12, 0x3, 0, 0x27000, 0) = 0x4810b000
  8800 silc     mmap(0x4810c000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x4810c000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libsilc-1.0.so.2", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libsilc-1.0.so.2", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/silc-client/libsilc-1.0.so.2", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x4810c000
  8800 silc     munmap(0x4810c000, 0x1000)         = 0
  8800 silc     mmap(0, 0x57000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x4810c000
  8800 silc     mmap(0x48157000, 0x6000, 0x3, 0x12, 0x3, 0, 0x4a000, 0) = 0x48157000
  8800 silc     mmap(0x4815d000, 0x6000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x4815d000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libperl.so", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libperl.so", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x48163000
  8800 silc     munmap(0x48163000, 0x1000)         = 0
  8800 silc     mmap(0, 0xfd000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x48163000
  8800 silc     mmap(0x48254000, 0xa000, 0x3, 0x12, 0x3, 0, 0xf1000, 0) = 0x48254000
  8800 silc     mmap(0x4825e000, 0x2000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x4825e000
  8800 silc     close(0x3)                         = 0
  8800 silc     __sysctl(0x480dd008, 0x2, 0xbfbffaa8, 0xbfbffaa4, 0, 0) = 0
  8800 silc     open("/usr/pkg/lib/libm387.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libm387.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/silc-client/libm387.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/lib/libm387.so.0", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x48260000
  8800 silc     munmap(0x48260000, 0x1000)         = 0
  8800 silc     mmap(0, 0x3000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x48260000
  8800 silc     mmap(0x48262000, 0x1000, 0x3, 0x12, 0x3, 0, 0x1000, 0) = 0x48262000
  8800 silc     mmap(0x48263000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x48263000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libm.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libm.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/silc-client/libm.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/lib/libm.so.0", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x48263000
  8800 silc     munmap(0x48263000, 0x1000)         = 0
  8800 silc     mmap(0, 0x19000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x48263000
  8800 silc     mmap(0x4827b000, 0x1000, 0x3, 0x12, 0x3, 0, 0x17000, 0) = 0x4827b000
  8800 silc     mmap(0x4827c000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x4827c000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libcrypt.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libcrypt.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/silc-client/libcrypt.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/lib/libcrypt.so.0", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x4827c000
  8800 silc     munmap(0x4827c000, 0x1000)         = 0
  8800 silc     mmap(0, 0x8000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x4827c000
  8800 silc     mmap(0x48280000, 0x1000, 0x3, 0x12, 0x3, 0, 0x4000, 0) = 0x48280000
  8800 silc     mmap(0x48281000, 0x3000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x48281000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libpthread.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libpthread.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/silc-client/libpthread.so.0", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/lib/libpthread.so.0", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x48284000
  8800 silc     munmap(0x48284000, 0x1000)         = 0
  8800 silc     mmap(0, 0x12000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x48284000
  8800 silc     mmap(0x48294000, 0x1000, 0x3, 0x12, 0x3, 0, 0x10000, 0) = 0x48294000
  8800 silc     mmap(0x48295000, 0x1000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x48295000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libgmodule.so.13", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x48296000
  8800 silc     munmap(0x48296000, 0x1000)         = 0
  8800 silc     mmap(0, 0x3000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x48296000
  8800 silc     mmap(0x48298000, 0x1000, 0x3, 0x12, 0x3, 0, 0x1000, 0) = 0x48298000
  8800 silc     mmap(0x48299000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x48299000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libglib.so.13", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x48299000
  8800 silc     munmap(0x48299000, 0x1000)         = 0
  8800 silc     mmap(0, 0x21000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x48299000
  8800 silc     mmap(0x482b9000, 0x1000, 0x3, 0x12, 0x3, 0, 0x1f000, 0) = 0x482b9000
  8800 silc     mmap(0x482ba000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x482ba000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libcurses.so.6", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libcurses.so.6", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/silc-client/libcurses.so.6", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/lib/libcurses.so.6", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x482ba000
  8800 silc     munmap(0x482ba000, 0x1000)         = 0
  8800 silc     mmap(0, 0x18000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x482ba000
  8800 silc     mmap(0x482d0000, 0x2000, 0x3, 0x12, 0x3, 0, 0x16000, 0) = 0x482d0000
  8800 silc     mmap(0x482d2000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x482d2000
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/lib/libc.so.12", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/perl5/5.8.5/i386-netbsd-thread-multi/CORE/libc.so.12", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/pkg/lib/silc-client/libc.so.12", 0, 0xbfbff788) Err#2 ENOENT
  8800 silc     open("/usr/lib/libc.so.12", 0, 0xbfbff788) = 3
  8800 silc     __fstat13(0x3, 0xbfbff788)         = 0
  8800 silc     mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x482d2000
  8800 silc     munmap(0x482d2000, 0x1000)         = 0
  8800 silc     mmap(0, 0xb0000, 0x5, 0x2, 0x3, 0, 0, 0) = 0x482d2000
  8800 silc     mmap(0x4836e000, 0x6000, 0x3, 0x12, 0x3, 0, 0x9b000, 0) = 0x4836e000
  8800 silc     mmap(0x48374000, 0xe000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0x48374000
  8800 silc     close(0x3)                         = 0
  8800 silc     __sysctl(0x480dd008, 0x2, 0xbfbffaa8, 0xbfbffaa4, 0, 0) = 0
  8800 silc     mprotect(0x48284000, 0x10000, 0x7) = 0
  8800 silc     mprotect(0x48284000, 0x10000, 0x5) = 0
  8800 silc     __sysctl(0xbfbffa04, 0x2, 0xbfbff9fc, 0xbfbffa00, 0, 0) = 0
  8800 silc     __sysctl(0xbfbff8dc, 0x2, 0xbfbff8d4, 0xbfbff8d8, 0, 0) = 0
  8800 silc     readlink("/etc/malloc.conf", 0xbfbff954, 0x3f) Err#2 ENOENT
  8800 silc     mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 0x48382000
  8800 silc     break(0x80d8c0c)                   = 0
  8800 silc     break(0x80d9c0c)                   = 0
  8800 silc     break(0x80da000)                   = 0
  8800 silc     break(0x80db000)                   = 0
  8800 silc     __sysctl(0xbfbff94c, 0x2, 0xbfbff944, 0xbfbff948, 0, 0) = 0
  8800 silc     getrlimit(0x3, 0xbfbff9b4)         = 0
  8800 silc     __sysctl(0xbfbff91c, 0x2, 0xbfbff914, 0xbfbff918, 0, 0) = 0
  8800 silc     mprotect(0xbfa01000, 0x1000, 0)    = 0
  8800 silc     __sigprocmask14(0, 0, 0x48294be4)  = 0
  8800 silc     __sysctl(0xbfbff9dc, 0x2, 0xbfbff9d4, 0xbfbff9d8, 0, 0) = 0
  8800 silc     break(0x80dc000)                   = 0
  8800 silc     break(0x80dd000)                   = 0
  8800 silc     break(0x80de000)                   = 0
  8800 silc     getuid()                           = 1000, 1000
  8800 silc     __stat13("/etc/nsswitch.conf", 0xbfbff9d0) = 0
  8800 silc     open("/etc/nsswitch.conf", 0, 0x1b6) = 3
  8800 silc     break(0x80df000)                   = 0
  8800 silc     break(0x80e0000)                   = 0
  8800 silc     __fstat13(0x3, 0xbfbff810)         = 0
  8800 silc     break(0x80e2000)                   = 0
  8800 silc     read(0x3, 0x80e0000, 0x2000)       = 598
       "#\t$NetBSD: nsswitch.conf,v 1.5 1999/10/24 12:36:52 lukem Exp $\n#\n# nsswitch.conf(5) -\n#\tname service switch configuration file\n#\n\n\n# These"
  8800 silc     read(0x3, 0x80e0000, 0x2000)       = 0
  8800 silc     close(0x3)                         = 0
  8800 silc     geteuid()                          = 1000
  8800 silc     __stat13("/etc/pwd.db", 0xbfbff8e0) = 0
  8800 silc     open("/etc/pwd.db", 0, 0)          = 3
  8800 silc     fcntl(0x3, 0x2, 0x1)               = 0
  8800 silc     read(0x3, 0x80de200, 0x104)        = 260
       "\0\^F\^Ua\0\0\0\^B\0\0\^D\M-R\0\0\^P\0\0\0\0\f\0\0\^A\0\0\0\^A\0\0\0\0\b\0\0\0\^C\0\0\0\^B\0\0\0\a\0\0\0\^O\0\0\0\a\0\0\0 \0\0\0D\0\0\0\^A\M^Un}"
  8800 silc     pread(0x3, 0x80e1000, 0x1000, 0, 0x1000, 0) = 4096
       "\f\0\M-{\^O\M-7\^O\M-2\^Ow\^Or\^O%\^O\^_\^O\M-V\^N\M-Q\^N\M^L\^N\M^G\^NK\^N-\^NK\^N\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
  8800 silc     break(0x80e3000)                   = 0
  8800 silc     pread(0x3, 0x80e2000, 0x1000, 0, 0x5000, 0) = 4096
       "\^N\0\M-{\^O\M-:\^O\M-5\^Ou\^Op\^O'\^O"\^O\M-F\^N\M-?\^Nt\^Nl\^N\^Y\^N\^T\^N\M-S\r\M-1\r\M-S\r\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
  8800 silc     break(0x80e4000)                   = 0
  8800 silc     pread(0x3, 0x80e3000, 0x1000, 0, 0x7000, 0) = 4096
       "\^V\0\M-{\^O\M-0\^O\M-+\^Oc\^O]\^O\^Y\^O\^Q\^O\M-C\^N\M-=\^Nr\^Nm\^N\^P\^N\v\^N\M-.\r\M-)\rn\rj\r(\r#\r\M-b\f\M-]\f\M-"\fp\f\M-"\f\0\0\0\0\0\0\0\0"
  8800 silc     close(0x3)                         = 0
  8800 silc     access("/usr/bin/silc", 0x1)       Err#2 ENOENT
  8800 silc     access("/bin/silc", 0x1)           Err#2 ENOENT
  8800 silc     access("/usr/pkg/bin/silc", 0x1)   = 0
  8800 silc     __stat13("/home/jbl/.silc", 0xbfbffa90) = 0
  8800 silc     open("/home/jbl/.silc/default.theme", 0x2, 0x1b6) Err#2 ENOENT
  8800 silc     issetugid()                        = 0
  8800 silc     __sigaction_sigtramp(0x5, 0xbfbffa80, 0, 0x48322da8, 0x1) = 0
  8800 silc     gettimeofday(0xbfbffa18, 0)        = 0
  8800 silc     __stat13("/home/jbl/.silc", 0xbfbffa20) = 0
  8800 silc     __stat13("/home/jbl/.silc/silc.conf", 0xbfbff990) Err#2 ENOENT
  8800 silc     __stat13("/usr/pkg/etc/silc-client/silc.conf", 0xbfbff990) = 0
  8800 silc     open("/usr/pkg/etc/silc-client/silc.conf", 0, 0xffffffff) = 3
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/pkg/etc/silc-client/silc.conf", 0, 0x48372fc8) = 3
  8800 silc     read(0x3, 0x80e1000, 0xfa0)        = 4000
       "#\n# Configured servers\n#\n# silc.silcnet.org is DNS round robin for all (currently) known public SILCNet servers.\n#\nservers = (\n  { address = "
  8800 silc     read(0x3, 0x80e1000, 0xfa0)        = 1999
       "};\n        barend = { priority = "100"; alignment = "right"; };\n      };\n    };\n\n    # we treat input line as yet another statusbar :) It's po"
  8800 silc     break(0x80e5000)                   = 0
  8800 silc     read(0x3, 0x80e1000, 0xfa0)        = 0
  8800 silc     close(0x3)                         = 0
  8800 silc     __stat13("/home/jbl/.silc/silc.conf", 0xbfbff910) Err#2 ENOENT
  8800 silc     __sigaction_sigtramp(0xf, 0xbfbff960, 0xbfbff9b0, 0x48322da8, 0x1) = 0
  8800 silc     gettimeofday(0xbfbffa18, 0)        = 0
  8800 silc     gettimeofday(0xbfbff578, 0)        = 0
  8800 silc     __sysctl(0xbfbff570, 0x2, 0xbfbff5a0, 0xbfbff56c, 0, 0) = 0
  8800 silc     __sysctl(0xbfbff570, 0x2, 0xbfbff6a0, 0xbfbff56c, 0, 0) = 0
  8800 silc     __sysctl(0xbfbff570, 0x2, 0xbfbff7a0, 0xbfbff56c, 0, 0) = 0
  8800 silc     __sysctl(0xbfbff570, 0x2, 0xbfbff8a0, 0xbfbff56c, 0, 0) = 0
  8800 silc     __sysctl(0xbfbff570, 0x2, 0xbfbff9a0, 0xbfbff56c, 0, 0) = 0
  8800 silc     break(0x80e6000)                   = 0
  8800 silc     gettimeofday(0xbfbff518, 0)        = 0
  8800 silc     gettimeofday(0xbfbffa18, 0)        = 0
  8800 silc     break(0x80e7000)                   = 0
  8800 silc     gettimeofday(0xbfbffa08, 0)        = 0
  8800 silc     gettimeofday(0xbfbffa18, 0)        = 0
  8800 silc     break(0x80e8000)                   = 0
  8800 silc     getrlimit(0x4, 0x80d8bb0)          = 0
  8800 silc     __sigaction_sigtramp(0x1, 0xbfbffa00, 0, 0x48322da8, 0x1) = 0
  8800 silc     __sigaction_sigtramp(0x2, 0xbfbffa00, 0, 0x48322da8, 0x1) = 0
  8800 silc     __sigaction_sigtramp(0x3, 0xbfbffa00, 0, 0x48322da8, 0x1) = 0
  8800 silc     __sigaction_sigtramp(0xf, 0xbfbffa00, 0, 0x48322da8, 0x1) = 0
  8800 silc     __sigaction_sigtramp(0xe, 0xbfbffa00, 0, 0x48322da8, 0x1) = 0
  8800 silc     __sigaction_sigtramp(0x1e, 0xbfbffa00, 0, 0x48322da8, 0x1) = 0
  8800 silc     __sigaction_sigtramp(0x1f, 0xbfbffa00, 0, 0x48322da8, 0x1) = 0
  8800 silc     setrlimit(0x4, 0xbfbffa50)         = 0
  8800 silc     break(0x80e9000)                   = 0
  8800 silc     getuid()                           = 1000, 1000
  8800 silc     __stat13("/etc/nsswitch.conf", 0xbfbff930) = 0
  8800 silc     geteuid()                          = 1000
  8800 silc     __stat13("/etc/pwd.db", 0xbfbff840) = 0
  8800 silc     open("/etc/pwd.db", 0, 0)          = 3
  8800 silc     fcntl(0x3, 0x2, 0x1)               = 0
  8800 silc     read(0x3, 0x80de600, 0x104)        = 260
       "\0\^F\^Ua\0\0\0\^B\0\0\^D\M-R\0\0\^P\0\0\0\0\f\0\0\^A\0\0\0\^A\0\0\0\0\b\0\0\0\^C\0\0\0\^B\0\0\0\a\0\0\0\^O\0\0\0\a\0\0\0 \0\0\0D\0\0\0\^A\M^Un}"
  8800 silc     break(0x80ea000)                   = 0
  8800 silc     break(0x80eb000)                   = 0
  8800 silc     pread(0x3, 0x80ea000, 0x1000, 0, 0x1000, 0) = 4096
       "\f\0\M-{\^O\M-7\^O\M-2\^Ow\^Or\^O%\^O\^_\^O\M-V\^N\M-Q\^N\M^L\^N\M^G\^NK\^N-\^NK\^N\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
  8800 silc     break(0x80ec000)                   = 0
  8800 silc     pread(0x3, 0x80eb000, 0x1000, 0, 0x5000, 0) = 4096
       "\^N\0\M-{\^O\M-:\^O\M-5\^Ou\^Op\^O'\^O"\^O\M-F\^N\M-?\^Nt\^Nl\^N\^Y\^N\^T\^N\M-S\r\M-1\r\M-S\r\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
  8800 silc     break(0x80ed000)                   = 0
  8800 silc     pread(0x3, 0x80ec000, 0x1000, 0, 0x7000, 0) = 4096
       "\^V\0\M-{\^O\M-0\^O\M-+\^Oc\^O]\^O\^Y\^O\^Q\^O\M-C\^N\M-=\^Nr\^Nm\^N\^P\^N\v\^N\M-.\r\M-)\rn\rj\r(\r#\r\M-b\f\M-]\f\M-"\fp\f\M-"\f\0\0\0\0\0\0\0\0"
  8800 silc     close(0x3)                         = 0
  8800 silc     __sysctl(0xbfbff8b8, 0x2, 0xbfbff920, 0xbfbff8b4, 0, 0) = 0
  8800 silc     __stat13("/etc/nsswitch.conf", 0xbfbff6c0) = 0
  8800 silc     open("/etc/hosts", 0, 0x1b6)       = 3
  8800 silc     __fstat13(0x3, 0xbfbfd570)         = 0
  8800 silc     read(0x3, 0x80e9000, 0x2000)       = 465
       "#\t$NetBSD: hosts,v 1.6.4.1 2004/08/30 10:08:02 tron Exp $\n#\n# Host Database\n# This file should contain the addresses and aliases\n# for local h"
  8800 silc     read(0x3, 0x80e9000, 0x2000)       = 0
  8800 silc     close(0x3)                         = 0
  8800 silc     break(0x80fd000)                   = 0
  8800 silc     break(0x810d000)                   = 0
  8800 silc     open("/etc/resolv.conf", 0, 0x1b6) = 3
  8800 silc     __fstat13(0x3, 0xbfbff050)         = 0
  8800 silc     read(0x3, 0x80e9000, 0x2000)       = 38
       "nameserver 4.2.2.1\nnameserver 4.2.2.2\n"
  8800 silc     read(0x3, 0x80e9000, 0x2000)       = 0
  8800 silc     close(0x3)                         = 0
  8800 silc     __sysctl(0xbfbff148, 0x2, 0xbfbff220, 0xbfbff144, 0, 0) = 0
  8800 silc     gettimeofday(0xbfbef0c0, 0)        = 0
  8800 silc     gettimeofday(0xbfbeef60, 0)        = 0
  8800 silc     open("/dev/urandom", 0, 0)         = 3
  8800 silc     read(0x3, 0xbfbeef68, 0x78)        = 120
       "\M-7\M^H\M^F\M^_,\M-#\M^H\^Eq\M^[\M^J\^Q95\M^?\M-mu}\b\M-aU\0~Y7\M-mC!\M-x\M-`\M-;\M-H\M^]\^Q\M-ol4\M^G\M-h\M-Z\M-H\M-h\M-*\^R\bM\M-}\a\M-A\M-J\M-B"
  8800 silc     close(0x3)                         = 0
  8800 silc     gettimeofday(0xbfbef060, 0)        = 0
  8800 silc     socket(0x2, 0x2, 0)                = 3
  8800 silc     connect(0x3, 0x483712b0, 0x10)     = 0
  8800 silc     sendto(0x3, 0xbfbef1c0, 0x20, 0, 0, 0) = 32
       "\M-,\^^\^A\0\0\^A\0\0\0\0\0\0\nsubterrain\^Cnet\0\0\^\\0\^A"
  8800 silc     gettimeofday(0xbfbeee48, 0)        = 0
  8800 silc     poll(0xbfbeeeb8, 0x1, 0x1388)      = 1
  8800 silc     recvfrom(0x3, 0x80ed000, 0x10000, 0, 0xbfbeeee0, 0xbfbeeeb4) = 73
       "\M-,\^^\M^A\M^@\0\^A\0\0\0\^A\0\0\nsubterrain\^Cnet\0\0\^\\0\^A\M-@\f\0\^F\0\^A\0\0\t\M-h\0\^]\M-@\f\^Droot\M-@\fw\M^B\bE\0\0\^N\^P\0\0\a\b\0\t:"
  8800 silc     close(0x3)                         = 0
  8800 silc     gettimeofday(0xbfbef0c0, 0)        = 0
  8800 silc     socket(0x2, 0x2, 0)                = 3
  8800 silc     connect(0x3, 0x483712b0, 0x10)     = 0
  8800 silc     sendto(0x3, 0xbfbef1c0, 0x20, 0, 0, 0) = 32
       "\M-o\M-b\^A\0\0\^A\0\0\0\0\0\0\nsubterrain\^Cnet\0\0\^A\0\^A"
  8800 silc     gettimeofday(0xbfbeee48, 0)        = 0
  8800 silc     poll(0xbfbeeeb8, 0x1, 0x1388)      = 1
  8800 silc     recvfrom(0x3, 0x80fd000, 0x10000, 0, 0xbfbeeee0, 0xbfbeeeb4) = 48
       "\M-o\M-b\M^A\M^@\0\^A\0\^A\0\0\0\0\nsubterrain\^Cnet\0\0\^A\0\^A\M-@\f\0\^A\0\^A\0\0P9\0\^DB\M-f\M^_\^B"
  8800 silc     close(0x3)                         = 0
  8800 silc     break(0x810d000)                   = 0
  8800 silc     break(0x80f9000)                   = 0
  8800 silc     __stat13("/etc/nsswitch.conf", 0xbfbff340) = 0
  8800 silc     open("/etc/hosts", 0, 0x1b6)       = 3
  8800 silc     __fstat13(0x3, 0xbfbff250)         = 0
  8800 silc     read(0x3, 0x80e9000, 0x2000)       = 465
       "#\t$NetBSD: hosts,v 1.6.4.1 2004/08/30 10:08:02 tron Exp $\n#\n# Host Database\n# This file should contain the addresses and aliases\n# for local h"
  8800 silc     read(0x3, 0x80e9000, 0x2000)       = 0
  8800 silc     close(0x3)                         = 0
  8800 silc     gettimeofday(0xbfbfea50, 0)        = 0
  8800 silc     socket(0x2, 0x2, 0)                = 3
  8800 silc     connect(0x3, 0x483712b0, 0x10)     = 0
  8800 silc     sendto(0x3, 0xbfbfeb30, 0x2b, 0, 0, 0) = 43
       "\M-,r\^A\0\0\^A\0\0\0\0\0\0\^A2\^C159\^C230\^B66\ain-addr\^Darpa\0\0\f\0\^A"
  8800 silc     gettimeofday(0xbfbfe7d8, 0)        = 0
  8800 silc     poll(0xbfbfe848, 0x1, 0x1388)      = 1
  8800 silc     recvfrom(0x3, 0x80e9000, 0x10000, 0, 0xbfbfe870, 0xbfbfe844) = 71
       "\M-,r\M^A\M^@\0\^A\0\^A\0\0\0\0\^A2\^C159\^C230\^B66\ain-addr\^Darpa\0\0\f\0\^A\M-@\f\0\f\0\^A\0\0\v\f\0\^P\nsubterrain\^Cnet\0"
  8800 silc     close(0x3)                         = 0
  8800 silc     gettimeofday(0xbfbff9a8, 0)        = 0
  8800 silc     __stat13("/home/jbl/.silc/default.theme", 0xbfbff9e0) Err#2 ENOENT
  8800 silc     __stat13("/usr/pkg/etc/silc-client/default.theme", 0xbfbff9e0) Err#2 ENOENT
  8800 silc     __stat13("/home/jbl/.silc/default.theme", 0xbfbff9b0) Err#2 ENOENT
  8800 silc     __stat13("/usr/pkg/etc/silc-client/default.theme", 0xbfbff9b0) Err#2 ENOENT
  8800 silc     open("/home/jbl/.silc/default.theme", 0, 0xffffffff) Err#2 ENOENT
  8800 silc     gettimeofday(0xbfbffa08, 0)        = 0
  8800 silc     gettimeofday(0xbfbff9f8, 0)        = 0
  8800 silc     break(0x80fa000)                   = 0
  8800 silc     break(0x80fb000)                   = 0
  8800 silc     open("/home/jbl/.silc/default.theme", 0, 0xffffffff) Err#2 ENOENT
  8800 silc     break(0x80fc000)                   = 0
  8800 silc     break(0x80fd000)                   = 0
  8800 silc     break(0x80fe000)                   = 0
  8800 silc     break(0x80ff000)                   = 0
  8800 silc     break(0x8100000)                   = 0
  8800 silc     open("/home/jbl/.silc/default.theme", 0, 0xffffffff) Err#2 ENOENT
  8800 silc     open("/etc/popt", 0, 0)            Err#2 ENOENT
  8800 silc     getuid()                           = 1000, 1000
  8800 silc     geteuid()                          = 1000
  8800 silc     open("/home/jbl/.popt", 0, 0xbfbffaa8) Err#2 ENOENT
  8800 silc     break(0x8101000)                   = 0
  8800 silc     __stat13("/home/jbl/.termcap.db", 0xbfbfead0) Err#2 ENOENT
  8800 silc     open("/home/jbl/.termcap.db", 0, 0) Err#2 ENOENT
  8800 silc     open("/home/jbl/.termcap", 0, 0)   Err#2 ENOENT
  8800 silc     __stat13("/usr/share/misc/termcap.db", 0xbfbfead0) = 0
  8800 silc     open("/usr/share/misc/termcap.db", 0, 0) = 3
  8800 silc     fcntl(0x3, 0x2, 0x1)               = 0
  8800 silc     read(0x3, 0x80de400, 0x104)        = 260
       "\0\^F\^Ua\0\0\0\^B\0\0\^D\M-R\0\0\^P\0\0\0\0\f\0\0\^A\0\0\0\^A\0\0\0\0\b\0\0\0\t\0\0\0\^E\0\0\^A;\0\0\^A\M^?\0\0\0\M^?\0\0\0\^P\0\0\^N\M-J\0\0\0\^A"
  8800 silc     break(0x8102000)                   = 0
  8800 silc     break(0x8103000)                   = 0
  8800 silc     pread(0x3, 0x8102000, 0x1000, 0, 0x13a000, 0) = 4096
       "\^R\0\M-|\^O\M-M\^O\M-?\^O\M^D\^O\^?\^OI\^O+\^O\^B\^O\M-o\^N\M-I\^N\M-?\^N\M^E\^Nr\^N^\rY\r3\r/\r\v\r\M-a\f\v\r\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
  8800 silc     break(0x8104000)                   = 0
  8800 silc     pread(0x3, 0x8103000, 0x1000, 0, 0xbe000, 0) = 4096
       "\^V\0\M-{\^O\M-V\^O\M-!\^O\M-r\v\M-H\v\M^W\v\M^N\v~\vc\v3\v+\v\M-{\n\M-U\n\M^M\n\M^F\n`\nE\n\M-Q\a\M-I\a\M-.\a\M-+\a\M^W\ae\a\M^W\a\0\0\0\0\0\0\0\0"
  8800 silc     close(0x3)                         = 0
  8800 silc     __fstat13(0x1, 0xbfbff8d0)         = 0
  8800 silc     break(0x8114000)                   = 0
  8800 silc     ioctl(0x1, TIOCGETA, 0xbfbff910)   = 0
       "\^F#\0\0\a\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\M^?\M^?\M^?\M^?\^Q\^S\^V\^O\^A\0\^T\M^?\0\M^V\0\0\0\M^V\0\0"
  8800 silc     ioctl(0, TIOCGETA, 0x810086c)      = 0
       "\^F#\0\0\a\0\0\0\0K\0\0\M-O\^E\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\M^?\M^?\M^?\M^?\^Q\^S\^V\^O\^A\0\^T\M^?\0\M^V\0\0\0\M^V\0\0"
  8800 silc     ioctl(0, TIOCSETAW, 0x8100840)     = 0
       "\^F#\0\0\a\0\0\0\0K\0\0\M-G\^D\0 \^D\M^?\M^?\^?\^W\^U\^R\M^?\M^?\M^?\M^?\M^?\^Q\^S\^V\^O\^A\0\^T\M^?\0\M^V\0\0\0\M^V\0\0"
  8800 silc     ioctl(0, TIOCGWINSZ, 0xbfbffaa0)   = 0
       "=\0\M^^\0\0\0\0\0"
  8800 silc     __sigaction_sigtramp(0x13, 0xbfbffa80, 0, 0x48322da8, 0x1) = 0
  8800 silc     gettimeofday(0xbfbffa48, 0)        = 0
  8800 silc     __sigaction_sigtramp(0x1c, 0xbfbffa40, 0, 0x48322da8, 0x1) = 0
  8800 silc     gettimeofday(0xbfbffa68, 0)        = 0
  8800 silc     gettimeofday(0xbfbffaa8, 0)        = 0
  8800 silc     break(0x8115000)                   = 0
  8800 silc     break(0x8116000)                   = 0
  8800 silc     break(0x8117000)                   = 0
  8800 silc     break(0x8118000)                   = 0
  8800 silc     break(0x8119000)                   = 0
  8800 silc     break(0x811a000)                   = 0
  8800 silc     break(0x811b000)                   = 0
  8800 silc     gettimeofday(0xbfbffa58, 0)        = 0
  8800 silc     break(0x811c000)                   = 0
  8800 silc     break(0x811d000)                   = 0
  8800 silc     break(0x811e000)                   = 0
  8800 silc     write(0x1, 0x8104000, 0x1a)        = 26
       "\^[7\^[[?47h\^[[?25l\^[[1;1H\^[[?25h"
  8800 silc     break(0x811f000)                   = 0
  8800 silc     break(0x8120000)                   = 0
  8800 silc     break(0x8121000)                   = 0
  8800 silc     break(0x8123000)                   = 0
  8800 silc     getuid()                           = 1000, 1000
  8800 silc     geteuid()                          = 1000
  8800 silc     getgid()                           = 100, 100
  8800 silc     getegid()                          = 100
  8800 silc     issetugid()                        = 0
  8800 silc     issetugid()                        = 0
  8800 silc     issetugid()                        = 0
  8800 silc     issetugid()                        = 0
  8800 silc     break(0x8124000)                   = 0
  8800 silc     break(0x8125000)                   = 0
  8800 silc     __sysctl(0xbfbffa18, 0x2, 0xbfbffa20, 0xbfbffa14, 0, 0) = 0
  8800 silc     open("/dev/urandom", 0, 0x480d0649) = 3
  8800 silc     read(0x3, 0xbfbff9ac, 0x4)         = 4
       "\M-k\M-)\M^?\f"
  8800 silc     close(0x3)                         = 0
  8800 silc     gettimeofday(0xbfbff9d8, 0)        = 0
  8800 silc     break(0x8126000)                   = 0
  8800 silc     break(0x8127000)                   = 0
  8800 silc     open("/dev/null", 0, 0x1b6)        Err#13 EACCES
  8800 silc     issetugid()                        = 0
  8800 silc     issetugid()                        = 0
  8800 silc     open("/usr/share/nls/nls.alias", 0, 0x1b6) = 3
  8800 silc     __fstat13(0x3, 0xbfbfef20)         = 0
  8800 silc     break(0x8129000)                   = 0
  8800 silc     read(0x3, 0x8127000, 0x2000)       = 1520
       "# $NetBSD: nls.alias,v 1.3 2003/04/14 05:21:51 salo Exp $\n#\n# This file defines aliase names of nls catalogs.\n# Syntax is similar to X11's local"
  8800 silc     read(0x3, 0x8127000, 0x2000)       = 0
  8800 silc     close(0x3)                         = 0
  8800 silc     open("/usr/share/nls/C/libc.cat", 0, 0) = 3
  8800 silc     __fstat13(0x3, 0xbfbfeff0)         = 0
  8800 silc     mmap(0, 0x103b, 0x1, 0x1, 0x3, 0, 0, 0) = 0x48383000
  8800 silc     close(0x3)                         = 0
  8800 silc     munmap(0x48383000, 0x103b)         = 0
  8800 silc     write(0x2, 0x80fdb00, 0x4f)        = 79
       "Can't open perl script "-e": Permission denied.\nUse -S to search $PATH for it.\n"
  8800 silc     break(0x812a000)                   = 0
  8800 silc     break(0x812b000)                   = 0
  8800 silc     break(0x812c000)                   = 0
  8800 silc     SIGSEGV SIG_DFL