Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2008 17:58:00 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-current@FreeBSD.ORG, unga888@yahoo.com
Subject:   Re: strace broken in 7.0?
Message-ID:  <200801101658.m0AGw0rR065128@lurza.secnetix.de>
In-Reply-To: <189878.45301.qm@web57002.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Unga <unga888@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801101658.m0AGw0rR065128>