[Bug 254229] gcore produces incorrect elf_prpsinfo note data
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jul 24 14:36:54 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 #312485|0 |1
is obsolete| |
------- Additional Comments From dvlasenk at redhat.com 2008-07-24 10:36 EST -------
Created an attachment (id=312566)
--> (https://bugzilla.redhat.com/attachment.cgi?id=312566&action=view)
Updated patch against Fedora 9 source
Taking coredump of 64-bit process on x86_64:
# ./gcore.sleep
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f837a29e6f0 (LWP 25786)]
(no debugging symbols found)
(no debugging symbols found)
0x0000003d4d6a6220 in __nanosleep_nocancel () from /lib64/libc.so.6
Saved corefile core.gcore.sleep.25786
# eu-readelf -n core.gcore.sleep.25786
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: 25786, ppid: 25785, pgrp: 16965, sid: 16187
fname: sleep, psargs: /bin/sleep
CORE 336 PRSTATUS
...
Taking coredump on 32-bit process on x86_64:
# ./gcore.sleep32
(no debugging symbols found)
(no debugging symbols found)
0x080cfd94 in ?? ()
Saved corefile core.gcore.sleep32.25797
# eu-readelf -n core.gcore.sleep32.25797
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: 0, gid: 0, pid: 25797, ppid: 25796, pgrp: 16965, sid: 16187
fname: sleep, psargs: /root/srcdevel/gdb/fix/tmp/sleep
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