amd64/132677: error calling fork execvp

ron rzo at gmx.de
Sun Mar 15 16:00:05 PDT 2009


>Number:         132677
>Category:       amd64
>Synopsis:       error calling fork execvp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 15 23:00:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     ron
>Release:        7.1 amd64
>Organization:
>Environment:
FreeBSD bsd64.ARBEITSGRUPPE 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 2009     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
hello,

calling execvp(2) works fine.

however calling 

pid = fork()
if (pid == 0)
  execvp(2)

returns error 22 (invalid value)

calling

pid = fork()
if (pid == 0)
  execve(3)

works fine

- Ron
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list