Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 22:22:13 -0800 (PST)
From:      Nate Eldredge <nge@cs.hmc.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nge@cs.hmc.edu
Subject:   ports/62377: strace hangs when running programs from command line
Message-ID:  <200401300622.i0U6MDvw019935@mercury.lan>
Resent-Message-ID: <200402050940.i159e51O087251@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62377
>Category:       ports
>Synopsis:       strace hangs when running programs from command line
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 05 01:40:05 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nate Eldredge
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD mercury.lan 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Fri Oct 3 19:12:00 PDT 2003 nate@mercury:/medium/obj/medium/src/sys/MERCURY i386


	
>Description:
Using strace 4.5.1 from the port, if you try to strace a program from 
the command line, it hangs.

$ strace ls
.... (nothing happens)

However, attaching to an already running process works fine.

Bizarrely enough, the following also works:

$ strace -o /dev/null strace ls
>How-To-Repeat:
See above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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