Re: strace broken in 7.0?

From: Oliver Fromme <olli_at_lurza.secnetix.de>
Date: Thu, 10 Jan 2008 17:58:00 +0100 (CET)
Unga <unga888_at_yahoo.com> wrote:
 > strace (v4.5.5) works well in 6.2. But strace (v4.5.6)
 > develops following error in 7.0-PRERELEASE:

Which date exactly?  Did you remember to mount /proc?

 > $ strace pwd
 > execve(0xbfbfe92c, [0xbfbfedf4], [/* 0 vars
 > */]PIOCWSTOP: Input/output error

Works fine here on a few weeks old RELENG_7:

$ uname -rs
FreeBSD 7.0-BETA4-20071214
$ pkg_info | grep strace
strace-4.5.5        A portable process tracer
$ strace pwd
execve(0xbfbfdf6c, [0xbfbfe434], [/* 0 vars */]) = 0
__sysctl([...], 0xbfbfe18c, 0xbfbfe190, NULL, 0) = 0
syscall_477(0, 0x110, 0x3, 0x1000, 0xffffffff, 0, 0) = 0x28074000
munmap(0x28074000, 272)                 = 0
__sysctl([...], 0x2807077c, 0xbfbfe1f0, NULL, 0) = 0
syscall_477(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0) = 0x28074000
issetugid(0x2806a6cc)                   = 0
open("/etc/libmap.conf", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/var/run/ld-elf.so.hints", O_RDONLY) = 3
..
and so on.

Best regards
   Oliver


-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"I have stopped reading Stephen King novels.
Now I just read C code instead."
        -- Richard A. O'Keefe
Received on Thu Jan 10 2008 - 15:58:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC