Port-macppc archive

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

Re: Problems with extra packages on -current?



Using "wip/sudo" ("security/sudo" behaves the same way), the tail end
of 'ktruss -i sudo ls /tmp' looks like:

[...]
 18418      1 ls       CALL  exit(0)
 22548      1 sudo     RET   __select50 -1 errno 4 Interrupted system call
 22548      1 sudo     PSIG  SIGCHLD caught handler=0x1802554 mask=(): 
code=CLD_EXITED child pid=18418, uid=0,  status=0, utime=0, stime=0)
 22548      1 sudo     CALL  write(0xf,0xffffd188,1)
 22548      1 sudo     GIO   fd 15 wrote 1 bytes
       "\^T"
 22548      1 sudo     RET   write 1
 22548      1 sudo     CALL  setcontext(0xffffd230)
 22548      1 sudo     RET   setcontext JUSTRETURN
 22548      1 sudo     PSIG  SIGSEGV SIG_DFL: code=SEGV_MAPERR, 
addr=0xfdff6ffc, trap=768)


The same via 'gdb':

[...]
Reading symbols from /usr/pkg/bin/sudo...done.
(gdb) run ls /tmp
Starting program: /usr/pkg/bin/sudo ls /tmp
sudo: unknown login class: daemon
pkg_chk.07149a

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0xfdf6a6ec in pthread__errno () from /usr/lib/libpthread.so.1
(gdb) bt
#0  0xfdf6a6ec in pthread__errno () from /usr/lib/libpthread.so.1
#1  0xfdefda94 in __errno () from /usr/lib/libc.so.12
#2  0xfdefda24 in __cerror () from /usr/lib/libc.so.12
#3  0xfdf658b4 in __select50 () from /usr/lib/libpthread.so.1
#4  0x01802d1c in sudo_execve (details=<optimized out>, cstat=0xffffd6b8)
    at ./exec.c:315
#5  0x01807634 in run_command (details=<optimized out>) at ./sudo.c:1065
#6  0x018088dc in main (argc=<optimized out>, argv=<optimized out>,
    envp=<optimized out>) at ./sudo.c:295
(gdb)


I'll try to get a debug backtrace of 'urxvt' when I get it updated.

Setting the data size to 768M via 'ulimit' (max on my system: 256MB real
memory, 512MB swap file over NFS) finally allowed "lang/perl5" to update
via 'pkg_rolling-replace'.  Running in the same parent shell, I got the
memory-wrap panic again installing "p5-JSON-XS-2.330nb1", but restarting
'pkg_rolling-replace' let it succeed on a second try.

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index