| Summary: | gdb cannot read part of fcore core files (can read notes) | ||
|---|---|---|---|
| Product: | frysk | Reporter: | Phil Muldoon <pmuldoon> |
| Component: | general | Assignee: | Phil Muldoon <pmuldoon> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2243 | ||
| Attachments: |
fcore elf section dump
gcore section dump cat of /proc/maps |
||
|
Description
Phil Muldoon
2006-12-11 18:42:21 UTC
Created attachment 1452 [details]
fcore elf section dump
Created attachment 1453 [details]
gcore section dump
Created attachment 1454 [details]
cat of /proc/maps
Output from loading in a gcore core file: [pmuldoon@localhost frysk_bin]$ gdb GNU gdb Red Hat Linux (6.5-13.fc6rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu". (gdb) set debug target 1 (gdb) core-file core.3109 core:target_xfer_partial (4, (null), 0x8a0c720, 0x0, 0x0, 512) = 144, bytes = 20 00 00 00 00 14 ef 00 21 00 00 00 00 10 ef 00 ... core:target_xfer_partial (2, (null), 0xbf8cead4, 0x0, 0xef1000, 52) = 52, bytes = 7f 45 4c 46 01 01 01 00 00 00 00 00 ... core:target_xfer_partial (2, (null), 0x8a0c868, 0x0, 0xef1034, 128) = 128, bytes = 01 00 00 00 00 00 00 00 ... core:target_xfer_partial (2, (null), 0x8a0c970, 0x0, 0xef1000, 2192) = 2192, bytes = 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 ... (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `/bin/bash'. target_fetch_registers (-1) #0 0x00ef1402 in __kernel_vsyscall () Output from reading in a fcore file. [pmuldoon@localhost frysk_bin]$ gdb GNU gdb Red Hat Linux (6.5-13.fc6rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu". (gdb) set debug target 1 (gdb) core-file fcore.3109 core:target_xfer_partial (4, (null), 0x90aa6b8, 0x0, 0x0, 512) = 144, bytes = 20 00 00 00 00 14 ef 00 ... core:target_xfer_partial (2, (null), 0xbfd4bf44, 0x0, 0xef1000, 52) = 52, bytes = 7f 45 4c 46 00 00 00 00 00 00 00 00 ... target_terminal_ours () Failed to read a valid object file image from memory. Core was generated by `bash'. target_fetch_registers (-1) core:target_xfer_partial (2, (null), 0xbfd4bef0, 0x0, 0xef1402, 8) = 8, bytes = 00 00 00 00 00 00 00 00 core:target_xfer_partial (2, (null), 0xbfd4bef1, 0x0, 0xef1402, 7) = 7, bytes = 00 00 00 00 00 00 00 #0 0x00ef1402 in ?? () Caused by incomplete memory transger via PtraceByteBuffer.get() 2006-12-11 Phil Muldoon <pmuldoon@redhat.com> * eio/ByteBuffer.java (get): Change to use peekFully over peek. Closed, as upstream bug closed. |