Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2008 15:20:49 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/128841: PADDR (and others?) field width insufficient for 64 bit pointers
Message-ID:  <200811131520.mADFKnXx044376@ref8-amd64.freebsd.org>
Resent-Message-ID: <200811131530.mADFU1tv024453@freefall.freebsd.org>

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

>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@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@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:



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