[pmuldoon@localhost frysk_bin]$ ~/frysk_bin/frysk-core/frysk/bindir/fcore 3109 && gcore 3109 && cat /proc/3109/maps >& bash_maps [pmuldoon@localhost frysk_bin]$ eu-readelf -a core.3109 > gcore_elf [pmuldoon@localhost frysk_bin]$ eu-readelf -a fcore.3109 > fcore_elf (will add these files as attachments, in further comments)
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.