bin/128841: PADDR (and others?) field width insufficient for 64 bit pointers

Ed Maste emaste at FreeBSD.org
Thu Nov 13 07:30:02 PST 2008


>Number:         128841
>Category:       bin
>Synopsis:       PADDR (and others?) field width insufficient for 64 bit pointers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 13 15:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ed Maste
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
FreeBSD
>Environment:
System: FreeBSD ref8-amd64.freebsd.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r184542: Sun Nov 2 00:26:55 UTC 2008 peter at ref8-amd64.freebsd.org:/scratch/src/sys/amd64/compile/REF8-AMD64 amd64


>Description:

Run ps with paddr as a -o argument.  ps provides only 8 spaces for the
output, too small for a 64 bit pointer.

[emaste at ref8-amd64 ~]$ ps -o pid,paddr,comm
  PID    PADDR COMMAND
44289 ffffff0004e13860 bash
44292 ffffff019be1d860 ps

There are other pointers that ps displays that have the same issue I suspect.

>How-To-Repeat:
run ps -o pid,paddr,comm on a 64 bit os.

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


More information about the freebsd-bugs mailing list