[Bug 254229] gcore produces incorrect elf_prpsinfo note data

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 25 15:09:56 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: gcore produces incorrect elf_prpsinfo note data


https://bugzilla.redhat.com/show_bug.cgi?id=254229


dvlasenk at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #312566|0                           |1
        is obsolete|                            |




------- Additional Comments From dvlasenk at redhat.com  2008-07-25 11:09 EST -------
Created an attachment (id=312653)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=312653&action=view)
Updated patch against Fedora 9 source, v2

Again dumping 64-bit and 32-bit processes. Note better command line reporting.

# eu-readelf -n core.gcore.sleep.12134

Note section [ 1] 'note0' of 1336 bytes at offset 0x580:
  Owner 	 Data size  Type
  CORE		       136  PRPSINFO
    state: 0, sname: T, zomb: 0, nice: 0, flag: 0x0000000000000000
    uid: 0, gid: 0, pid: 12134, ppid: 12133, pgrp: 7736, sid: 7714
    fname: sleep, psargs: sleep 2
  CORE		       336  PRSTATUS
...

# eu-readelf -n core.gcore.sleep32.12145

Note section [ 1] 'note0' of 1148 bytes at offset 0xf4:
  Owner 	 Data size  Type
  CORE		       124  PRPSINFO
    state: 0, sname: T, zomb: 0, nice: 0, flag: 0x00000000
    uid: 1, gid: 2, pid: 12145, ppid: 12144, pgrp: 7736, sid: 7714
    fname: sleep, psargs: ./sleep 2
  CORE		       144  PRSTATUS
...

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-triage-list mailing list