public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gcore command on 6.3 seems to generate smaller core than it should
@ 2005-09-13  3:51 Chris Markle
  2005-09-13  3:55 ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Markle @ 2005-09-13  3:51 UTC (permalink / raw)
  To: gdb

Folks,

Using GNU gdb 6.3 on 2.6.12.5 kernel (uname -a: Linux xxx.com 2.6.12.5 
#1 SMP Wed Aug 31 23:52:18 PDT 2005 i686 pentium4 i386 GNU/Linux), when 
I generate a core file of a Java process that is 1.9gb I get a 13mb (!) 
core file. Many addresses in that core are not accessible. There is no 
complaining from gcore about not enough space or other issues when I 
issue it, and ulimit show core blocks as unlimited. When I tried it on 
2.6.something-else with GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh) I 
get a full very large core file.

Chris

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gcore command on 6.3 seems to generate smaller core than it should
  2005-09-13  3:51 gcore command on 6.3 seems to generate smaller core than it should Chris Markle
@ 2005-09-13  3:55 ` Daniel Jacobowitz
  2005-09-13  5:58   ` Chris Markle
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Jacobowitz @ 2005-09-13  3:55 UTC (permalink / raw)
  To: Chris Markle; +Cc: gdb

On Mon, Sep 12, 2005 at 08:51:12PM -0700, Chris Markle wrote:
> Folks,
> 
> Using GNU gdb 6.3 on 2.6.12.5 kernel (uname -a: Linux xxx.com 2.6.12.5 
> #1 SMP Wed Aug 31 23:52:18 PDT 2005 i686 pentium4 i386 GNU/Linux), when 
> I generate a core file of a Java process that is 1.9gb I get a 13mb (!) 
> core file. Many addresses in that core are not accessible. There is no 
> complaining from gcore about not enough space or other issues when I 
> issue it, and ulimit show core blocks as unlimited. When I tried it on 
> 2.6.something-else with GNU gdb Red Hat Linux (5.3.90-0.20030710.40rh) I 
> get a full very large core file.

What kind of mappings are missed?  What doesn't show up in the core
file?

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gcore command on 6.3 seems to generate smaller core than it should
  2005-09-13  3:55 ` Daniel Jacobowitz
@ 2005-09-13  5:58   ` Chris Markle
  2005-09-13 12:40     ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Markle @ 2005-09-13  5:58 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Daniel,

> What kind of mappings are missed?  What doesn't show up in the core
> file?

How can I tell easily? Any tips?

Chris

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gcore command on 6.3 seems to generate smaller core than it should
  2005-09-13  5:58   ` Chris Markle
@ 2005-09-13 12:40     ` Daniel Jacobowitz
  2005-09-13 13:26       ` Chris Markle
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Jacobowitz @ 2005-09-13 12:40 UTC (permalink / raw)
  To: Chris Markle; +Cc: gdb

On Mon, Sep 12, 2005 at 10:58:12PM -0700, Chris Markle wrote:
> Daniel,
> 
> >What kind of mappings are missed?  What doesn't show up in the core
> >file?
> 
> How can I tell easily? Any tips?

Readelf -l will show you the mapped regions of the core file.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gcore command on 6.3 seems to generate smaller core than it should
  2005-09-13 12:40     ` Daniel Jacobowitz
@ 2005-09-13 13:26       ` Chris Markle
  2005-09-13 13:43         ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Markle @ 2005-09-13 13:26 UTC (permalink / raw)
  To: gdb; +Cc: Daniel Jacobowitz

Daniel,

>>>What kind of mappings are missed?  What doesn't show up in the core
>>>file?
>>>Readelf -l will show you the mapped regions of the core file.

core file created from 1.8gb process by gdb gcore command:
-rw-r--r--  1 root root 13064248 2005-09-13 06:10 core.31810

readelf -l as requested:
 > readelf -l core* > readelf.0610
 > more read*

Elf file type is CORE (Core file)
Entry point 0x0
There are 4 program headers, starting at offset 52

Program Headers:
   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
   NOTE           0x0000b4 0x00000000 0x00000000 0x1667c 0x00000 R   0x1
   LOAD           0x016730 0x08048000 0x00000000 0x00000 0x0e000 R E 0x1
   LOAD           0x024730 0x08056000 0x00000000 0x02000 0x02000 RWE 0x1
   LOAD           0x026730 0x08058000 0x00000000 0xc4f000 0xc4f000 RWE 0x1

  Section to Segment mapping:
   Segment Sections...
    00
    01     load
    02     load
    03     load

So if I sum up the MemSiz's it's about 0xc5f000 which is about the size 
of the core. So where's the other 1.85gb including the Java heap which 
was 1.5g by itself?

Here's a pmap of the process at the same time:

31810:   [...]/java -server [...] -Xms1536m -Xmx1536m [...]
08056000      8K rwx--  /usr/local/sendmail/mm-2.1/jre15/bin/java
08058000  12604K rwx--    [ anon ]
44e00000  16384K rw-s-  /var/sendmail/mm/counters/countdb.data
46600000    132K rwx--    [ anon ]
46621000    892K -----    [ anon ]
46800000   1020K rwx--    [ anon ]
468ff000      4K -----    [ anon ]
46a00000    992K rwx--    [ anon ]
46af8000     32K -----    [ anon ]
46b00000   1004K rwx--    [ anon ]
46bfb000     20K -----    [ anon ]
46c00000    132K rwx--    [ anon ]
46c21000    892K -----    [ anon ]
46d00000   1024K rwx--    [ anon ]
46e00000   1004K rwx--    [ anon ]
46efb000     20K -----    [ anon ]
46f00000    488K rwx--    [ anon ]
46f7a000    536K -----    [ anon ]
47100000   2048K rwx--    [ anon ]
47300000    996K rwx--    [ anon ]
473f9000     28K -----    [ anon ]
47500000    772K rwx--    [ anon ]
475c1000    252K -----    [ anon ]
47700000   1016K rwx--    [ anon ]
477fe000      8K -----    [ anon ]
47800000   1004K rwx--    [ anon ]
478fb000     20K -----    [ anon ]
47900000    392K rwx--    [ anon ]
47962000    632K -----    [ anon ]
47a00000   1012K rwx--    [ anon ]
47afd000     12K -----    [ anon ]
47c00000   1024K rwx--    [ anon ]
47d00000   1004K rwx--    [ anon ]
47dfb000     20K -----    [ anon ]
47f00000   1016K rwx--    [ anon ]
47ffe000      8K -----    [ anon ]
48000000   1012K rwx--    [ anon ]
480fd000     12K -----    [ anon ]
48100000    132K rwx--    [ anon ]
48121000    892K -----    [ anon ]
48300000   1488K rwx--    [ anon ]
48474000    560K -----    [ anon ]
48500000    996K rwx--    [ anon ]
485f9000     28K -----    [ anon ]
48623000    516K rwx--    [ anon ]
486a4000     12K rwx--    [ anon ]
486a7000    504K rwx--    [ anon ]
48725000     12K -----    [ anon ]
48728000    504K rwx--    [ anon ]
487a6000     12K -----    [ anon ]
487a9000    504K rwx--    [ anon ]
48827000     12K -----    [ anon ]
4882a000    504K rwx--    [ anon ]
488a8000     12K -----    [ anon ]
488ab000    504K rwx--    [ anon ]
48929000     12K -----    [ anon ]
4892c000    504K rwx--    [ anon ]
489aa000     12K -----    [ anon ]
489ad000    504K rwx--    [ anon ]
48a2b000     12K -----    [ anon ]
48a2e000    504K rwx--    [ anon ]
48aac000     12K -----    [ anon ]
48aaf000    504K rwx--    [ anon ]
48b2d000     12K -----    [ anon ]
48b30000    504K rwx--    [ anon ]
48bae000     12K -----    [ anon ]
48bb1000    504K rwx--    [ anon ]
48c2f000     12K -----    [ anon ]
48c32000    504K rwx--    [ anon ]
48cb0000     12K -----    [ anon ]
48cb3000    504K rwx--    [ anon ]
48d31000     12K -----    [ anon ]
48d34000    504K rwx--    [ anon ]
48db2000     12K -----    [ anon ]
48db5000    504K rwx--    [ anon ]
48e33000     12K -----    [ anon ]
48e36000    504K rwx--    [ anon ]
48eb4000     12K -----    [ anon ]
48eb7000    504K rwx--    [ anon ]
48f35000     12K -----    [ anon ]
48f38000    504K rwx--    [ anon ]
48fb6000     12K -----    [ anon ]
48fb9000    504K rwx--    [ anon ]
49037000     12K -----    [ anon ]
4903a000    504K rwx--    [ anon ]
490b8000     12K -----    [ anon ]
490bb000    504K rwx--    [ anon ]
49139000     12K -----    [ anon ]
4913c000    504K rwx--    [ anon ]
491ba000     12K -----    [ anon ]
491bd000    504K rwx--    [ anon ]
4923b000     12K -----    [ anon ]
4923e000    504K rwx--    [ anon ]
492bc000     12K -----    [ anon ]
492bf000    504K rwx--    [ anon ]
4933d000     12K -----    [ anon ]
49340000    504K rwx--    [ anon ]
493be000     12K -----    [ anon ]
493c1000    504K rwx--    [ anon ]
4943f000     12K -----    [ anon ]
49442000    504K rwx--    [ anon ]
494c0000     12K -----    [ anon ]
494c3000    504K rwx--    [ anon ]
49541000     12K -----    [ anon ]
49544000    504K rwx--    [ anon ]
495c2000     12K -----    [ anon ]
495c5000    504K rwx--    [ anon ]
49643000     12K -----    [ anon ]
49646000    504K rwx--    [ anon ]
496c4000     12K -----    [ anon ]
496c7000    504K rwx--    [ anon ]
49745000     12K -----    [ anon ]
49748000    504K rwx--    [ anon ]
497c6000     12K -----    [ anon ]
497c9000    504K rwx--    [ anon ]
49847000     12K -----    [ anon ]
4984a000    504K rwx--    [ anon ]
498c8000     12K -----    [ anon ]
498cb000    504K rwx--    [ anon ]
49949000     12K -----    [ anon ]
4994c000    504K rwx--    [ anon ]
499ca000     12K -----    [ anon ]
499cd000    504K rwx--    [ anon ]
49a4b000     12K -----    [ anon ]
49a4e000    504K rwx--    [ anon ]
49acc000     12K -----    [ anon ]
49acf000    504K rwx--    [ anon ]
49b4d000     12K -----    [ anon ]
49b50000    504K rwx--    [ anon ]
49bce000     12K -----    [ anon ]
49bd1000    504K rwx--    [ anon ]
49c4f000     12K -----    [ anon ]
49c52000    504K rwx--    [ anon ]
49cd0000     12K -----    [ anon ]
49cd3000    504K rwx--    [ anon ]
49d51000     12K -----    [ anon ]
49d54000    504K rwx--    [ anon ]
49dd2000     12K -----    [ anon ]
49dd5000    504K rwx--    [ anon ]
49e53000     12K -----    [ anon ]
49e56000    504K rwx--    [ anon ]
49ed4000     12K -----    [ anon ]
49ed7000    504K rwx--    [ anon ]
49f55000     12K -----    [ anon ]
49f58000    504K rwx--    [ anon ]
49fd6000     12K -----    [ anon ]
49fd9000    504K rwx--    [ anon ]
4a057000     12K -----    [ anon ]
4a05a000    504K rwx--    [ anon ]
4a0d8000     12K -----    [ anon ]
4a0db000    504K rwx--    [ anon ]
4a159000     12K -----    [ anon ]
4a15c000    504K rwx--    [ anon ]
4a1da000     12K -----    [ anon ]
4a1dd000    504K rwx--    [ anon ]
4a25b000     12K -----    [ anon ]
4a25e000    504K rwx--    [ anon ]
4a2dc000     12K -----    [ anon ]
4a2df000    504K rwx--    [ anon ]
4a35d000     12K -----    [ anon ]
4a360000    504K rwx--    [ anon ]
4a3de000     12K -----    [ anon ]
4a3e1000    504K rwx--    [ anon ]
4a45f000     12K -----    [ anon ]
4a462000    504K rwx--    [ anon ]
4a4e0000     12K -----    [ anon ]
4a4e3000    504K rwx--    [ anon ]
4a561000     12K -----    [ anon ]
4a564000    504K rwx--    [ anon ]
4a5e2000     12K -----    [ anon ]
4a5e5000    504K rwx--    [ anon ]
4a663000     12K -----    [ anon ]
4a666000    504K rwx--    [ anon ]
4a6e4000     12K -----    [ anon ]
4a6e7000    504K rwx--    [ anon ]
4a765000     12K -----    [ anon ]
4a768000    504K rwx--    [ anon ]
4a7e6000     12K -----    [ anon ]
4a7e9000    504K rwx--    [ anon ]
4a867000     12K -----    [ anon ]
4a86a000    504K rwx--    [ anon ]
4a8e8000     12K -----    [ anon ]
4a8eb000    504K rwx--    [ anon ]
4a969000     12K -----    [ anon ]
4a96c000    504K rwx--    [ anon ]
4a9ea000     12K -----    [ anon ]
4a9ed000    504K rwx--    [ anon ]
4aa6b000     12K -----    [ anon ]
4aa6e000    504K rwx--    [ anon ]
4aaec000     12K -----    [ anon ]
4aaef000    504K rwx--    [ anon ]
4ab6d000     12K -----    [ anon ]
4ab70000    504K rwx--    [ anon ]
4abee000     12K -----    [ anon ]
4abf1000    504K rwx--    [ anon ]
4ac6f000     12K -----    [ anon ]
4ac72000    504K rwx--    [ anon ]
4acf0000     12K -----    [ anon ]
4acf3000    504K rwx--    [ anon ]
4ad71000     12K -----    [ anon ]
4ad74000    504K rwx--    [ anon ]
4adf2000     12K -----    [ anon ]
4adf5000    504K rwx--    [ anon ]
4ae73000     12K -----    [ anon ]
4ae76000    504K rwx--    [ anon ]
4aef4000     12K -----    [ anon ]
4aef7000    504K rwx--    [ anon ]
4af75000     12K -----    [ anon ]
4af78000    504K rwx--    [ anon ]
4aff6000     12K -----    [ anon ]
4aff9000    504K rwx--    [ anon ]
4b077000     12K -----    [ anon ]
4b07a000    504K rwx--    [ anon ]
4b0f8000     12K -----    [ anon ]
4b0fb000    504K rwx--    [ anon ]
4b179000     12K -----    [ anon ]
4b17c000    504K rwx--    [ anon ]
4b1fa000     12K -----    [ anon ]
4b1fd000    504K rwx--    [ anon ]
4b27b000     12K -----    [ anon ]
4b27e000    504K rwx--    [ anon ]
4b2fc000     12K -----    [ anon ]
4b2ff000    504K rwx--    [ anon ]
4b37d000     12K -----    [ anon ]
4b380000    504K rwx--    [ anon ]
4b3fe000     12K -----    [ anon ]
4b401000    504K rwx--    [ anon ]
4b47f000     12K -----    [ anon ]
4b482000   1500K rwx--    [ anon ]
4b5f9000     28K -----    [ anon ]
4b67f000     12K rwx--    [ anon ]
4b682000   1512K rwx--    [ anon ]
4b7fc000     16K -----    [ anon ]
4b87f000     12K -----    [ anon ]
4b882000   1500K rwx--    [ anon ]
4b9f9000     28K -----    [ anon ]
4ba00000   1000K rwx--    [ anon ]
4bafa000     24K -----    [ anon ]
4bb7f000   1528K rwx--    [ anon ]
4bcfd000     12K -----    [ anon ]
4bd3b000      4K rwx--    [ anon ]
4bd7f000     12K -----    [ anon ]
4bd82000   1524K rwx--    [ anon ]
4beff000      4K -----    [ anon ]
4bf7f000     12K -----    [ anon ]
4bf82000   1524K rwx--    [ anon ]
4c0ff000      4K -----    [ anon ]
4c100000   1012K rwx--    [ anon ]
4c1fd000     12K -----    [ anon ]
4c200000    984K rwx--    [ anon ]
4c2f6000     40K -----    [ anon ]
4c300000   1016K rwx--    [ anon ]
4c3fe000      8K -----    [ anon ]
4c400000   1024K rwx--    [ anon ]
4c525000     12K -----    [ anon ]
4c528000    504K rwx--    [ anon ]
4c5a6000   2064K r-x--  /usr/local/sendmail/mm-2.1/lib/ext/liblnxfv.so
4c7aa000    340K rwx--  /usr/local/sendmail/mm-2.1/lib/ext/liblnxfv.so
4c7ff000   1012K rwx--    [ anon ]
4c8fc000     16K -----    [ anon ]
4c97f000     12K -----    [ anon ]
4c982000   1512K rwx--    [ anon ]
4cafc000     16K -----    [ anon ]
4cb00000   1024K rwx--    [ anon ]
4cc00000   1004K rwx--    [ anon ]
4ccfb000     20K -----    [ anon ]
4cd4b000     16K r-x-- 
/usr/local/sendmail/mm-2.1/lib/ext/libOlympusConnector.so
4cd4f000      4K rwx-- 
/usr/local/sendmail/mm-2.1/lib/ext/libOlympusConnector.so
4cd50000     16K rwx--    [ anon ]
4cdb0000    648K r-x--  /lib/libstdc++.so.5
4ce52000     88K rwx--  /lib/libstdc++.so.5
4ce68000     20K rwx--    [ anon ]
4ce6d000      4K r-x-- 
/usr/local/sendmail/mm-2.1/lib/ext/libSyslogConnector.so
4ce6e000      4K rwx-- 
/usr/local/sendmail/mm-2.1/lib/ext/libSyslogConnector.so
4ce6f000     12K r-xs-  /usr/local/sendmail/mm-2.1/lib/smtp.jar
4ce72000      8K r-xs- 
/usr/local/sendmail/mm-2.1/lib/smicharsetprovider.jar
4ce74000   3140K r-xs-  /usr/local/sendmail/mm-2.1/lib/pdfbox.jar
4d185000    152K r-xs-  /usr/local/sendmail/mm-2.1/lib/mailapi.jar
4d1ab000    344K r-xs-  /usr/local/sendmail/mm-2.1/lib/log4j.jar
4d201000     28K r-xs-  /usr/local/sendmail/mm-2.1/lib/jilter.jar
4d208000    908K r-xs-  /usr/local/sendmail/mm-2.1/lib/jfreechart.jar
4d2eb000    324K r-xs-  /usr/local/sendmail/mm-2.1/lib/jcommon.jar
4d33c000    784K r-xs-  /usr/local/sendmail/mm-2.1/lib/jakarta-poi.jar
4d400000    992K rwx--    [ anon ]
4d4f8000     32K -----    [ anon ]
4d507000     56K r-x--  /lib/libresolv-2.3.5.so
4d515000      8K rwx--  /lib/libresolv-2.3.5.so
4d517000      8K rwx--    [ anon ]
4d519000     16K r-x--  /lib/libnss_dns-2.3.5.so
4d51d000      8K rwx--  /lib/libnss_dns-2.3.5.so
4d51f000     80K r-x--  /usr/local/sendmail/mm-2.1/jre15/lib/i386/libnet.so
4d533000      4K rwx--  /usr/local/sendmail/mm-2.1/jre15/lib/i386/libnet.so
4d534000     64K r-xs-  /usr/local/sendmail/mm-2.1/lib/jakarta-oro.jar
4d544000   3036K r-xs-  /usr/local/sendmail/mm-2.1/lib/iocaine.jar
4d83b000    600K r-xs-  /usr/local/sendmail/mm-2.1/lib/hsqldb.jar
4d8d1000      8K r-xs- 
/usr/local/sendmail/mm-2.1/lib/eXpurgateConnector.jar
4d8d3000    252K r-xs-  /usr/local/sendmail/mm-2.1/lib/dnsjava.jar
4d912000     12K -----    [ anon ]
4d915000    504K rwx--    [ anon ]
4d993000    316K r-xs-  /usr/local/sendmail/mm-2.1/.install4j/i4jruntime.jar
4d9e2000    780K r-xs- 
/usr/local/sendmail/mm-2.1/jre15/lib/ext/localedata.jar
4daa5000      8K r-xs-  /usr/local/sendmail/mm-2.1/jre15/lib/ext/dnsns.jar
4daa7000    172K r-xs- 
/usr/local/sendmail/mm-2.1/jre15/lib/ext/sunpkcs11.jar
4dad2000    152K r-xs- 
/usr/local/sendmail/mm-2.1/jre15/lib/ext/sunjce_provider.jar
4daf8000      4K -----    [ anon ]
4daf9000    512K rwx--    [ anon ]
4db79000     12K -----    [ anon ]
4db7c000    504K rwx--    [ anon ]
4dbfa000     12K -----    [ anon ]
4dbfd000    504K rwx--    [ anon ]
4dc7b000     12K -----    [ anon ]
4dc7e000    504K rwx--    [ anon ]
4dcfc000     12K -----    [ anon ]
4dcff000    504K rwx--    [ anon ]
4dd7d000     12K -----    [ anon ]
4dd80000    504K rwx--    [ anon ]
4ddfe000     12K -----    [ anon ]
4de01000    504K rwx--    [ anon ]
4de7f000     12K -----    [ anon ]
4de82000   1528K rwx--    [ anon ]
4e005000     24K r-x--  /usr/local/sendmail/mm-2.1/jre15/lib/i386/libnio.so
4e00b000      4K rwx--  /usr/local/sendmail/mm-2.1/jre15/lib/i386/libnio.so
4e00c000     32K r-x--  /lib/libgcc_s.so.1
4e014000      4K rwx--  /lib/libgcc_s.so.1
4e015000     28K r-xs-  /usr/local/sendmail/mm-2.1/lib/chardet.jar
4e01c000     48K r-xs-  /usr/local/sendmail/mm-2.1/lib/activation.jar
4e028000      8K r-xs-  /usr/local/sendmail/mm-2.1/lib/SyslogConnector.jar
4e02a000     20K r-xs-  /usr/local/sendmail/mm-2.1/lib/OlympusConnector.jar
4e02f000      4K -----    [ anon ]
4e030000    512K rwx--    [ anon ]
4e0b0000      4K -----    [ anon ]
4e0b1000    512K rwx--    [ anon ]
4e131000      4K -----    [ anon ]
4e132000    512K rwx--    [ anon ]
4e1b2000      4K -----    [ anon ]
4e1b3000    512K rwx--    [ anon ]
4e233000      4K -----    [ anon ]
4e234000    544K rwx--    [ anon ]
4e2bc000     96K rwx--    [ anon ]
4e2d4000   2764K rwx--    [ anon ]
4e587000     96K rwx--    [ anon ]
4e59f000  19460K rwx--    [ anon ]
4f8a0000  49152K rwx--    [ anon ]
528a0000 1572864K rwx--    [ anon ]
b28a4000      8K r-xs-  /usr/local/sendmail/mm-2.1/lib/F-ProtConnector.jar
b28a6000    124K rwx--    [ anon ]
b28c5000    388K rwx--    [ anon ]
b2926000   7904K rwx--    [ anon ]
b30de000  24864K rwx--    [ anon ]
b4926000   8312K r-xs-  /usr/local/sendmail/mm-2.1/jre15/lib/charsets.jar
b5144000     80K r-xs-  /usr/local/sendmail/mm-2.1/jre15/lib/jce.jar
b5158000    484K r-xs-  /usr/local/sendmail/mm-2.1/jre15/lib/jsse.jar
b51d1000    420K rwx--    [ anon ]
b523a000  34700K r-xs-  /usr/local/sendmail/mm-2.1/jre15/lib/rt.jar
b741d000     76K r-x--  /usr/local/sendmail/mm-2.1/jre15/lib/i386/libzip.so
b7430000      8K rwx--  /usr/local/sendmail/mm-2.1/jre15/lib/i386/libzip.so
b7432000    132K r-x--  /usr/local/sendmail/mm-2.1/jre15/lib/i386/libjava.so
b7453000      8K rwx--  /usr/local/sendmail/mm-2.1/jre15/lib/i386/libjava.so
b7455000     44K r-x-- 
/usr/local/sendmail/mm-2.1/jre15/lib/i386/libverify.so
b7460000      4K rwx-- 
/usr/local/sendmail/mm-2.1/jre15/lib/i386/libverify.so
b7461000     32K rwxs-  /tmp/hsperfdata_root/31810
b7469000     32K r-x--  /lib/libnss_files-2.3.5.so
b7471000      8K rwx--  /lib/libnss_files-2.3.5.so
b7473000     68K r-x--  /lib/libnsl-2.3.5.so
b7484000      8K rwx--  /lib/libnsl-2.3.5.so
b7486000      8K rwx--    [ anon ]
b7489000      8K r-xs- 
/usr/local/sendmail/mm-2.1/lib/CloudmarkConnector.jar
b748b000     24K r-x-- 
/usr/local/sendmail/mm-2.1/jre15/lib/i386/native_threads/libhpi.so
b7491000      4K rwx-- 
/usr/local/sendmail/mm-2.1/jre15/lib/i386/native_threads/libhpi.so
b7492000    132K r-x--  /lib/libm-2.3.5.so
b74b3000      8K rwx--  /lib/libm-2.3.5.so
b74b5000   5148K r-x-- 
/usr/local/sendmail/mm-2.1/jre15/lib/i386/server/libjvm.so
b79bc000    392K rwx-- 
/usr/local/sendmail/mm-2.1/jre15/lib/i386/server/libjvm.so
b7a1e000   4188K rwx--    [ anon ]
b7e35000   1120K r-x--  /lib/libc-2.3.5.so
b7f4d000      4K r-x--  /lib/libc-2.3.5.so
b7f4e000     12K rwx--  /lib/libc-2.3.5.so
b7f51000      8K rwx--    [ anon ]
b7f53000      8K r-x--  /lib/libdl-2.3.5.so
b7f55000      8K rwx--  /lib/libdl-2.3.5.so
b7f57000     60K r-x--  /lib/libpthread-2.3.5.so
b7f66000      8K rwx--  /lib/libpthread-2.3.5.so
b7f68000     12K rwx--    [ anon ]
b7f6b000      4K r-x--    [ anon ]
b7f6c000      4K rwx--    [ anon ]
b7f6d000      4K r-x--    [ anon ]
b7f6e000     92K r-x--  /lib/ld-2.3.5.so
b7f85000      8K rwx--  /lib/ld-2.3.5.so
bf885000     12K -----    [ anon ]
bf888000   2036K rwx--    [ stack ]
ffffe000      4K -----    [ anon ]
  total  1879992K

Thanks for any continued help...

Chris




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gcore command on 6.3 seems to generate smaller core than it should
  2005-09-13 13:26       ` Chris Markle
@ 2005-09-13 13:43         ` Daniel Jacobowitz
  2005-09-14  5:55           ` Chris Markle
  2005-09-14 15:29           ` Chris Markle
  0 siblings, 2 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2005-09-13 13:43 UTC (permalink / raw)
  To: Chris Markle; +Cc: gdb

On Tue, Sep 13, 2005 at 06:26:33AM -0700, Chris Markle wrote:
>   LOAD           0x016730 0x08048000 0x00000000 0x00000 0x0e000 R E 0x1
>   LOAD           0x024730 0x08056000 0x00000000 0x02000 0x02000 RWE 0x1
>   LOAD           0x026730 0x08058000 0x00000000 0xc4f000 0xc4f000 RWE 0x1

You've got the first three mappings here; 

> Here's a pmap of the process at the same time:
> 
> 31810:   [...]/java -server [...] -Xms1536m -Xmx1536m [...]
> 08056000      8K rwx--  /usr/local/sendmail/mm-2.1/jre15/bin/java
> 08058000  12604K rwx--    [ anon ]
> 44e00000  16384K rw-s-  /var/sendmail/mm/counters/countdb.data

it got to this one and stopped.

This is probably:

2005-05-23  Michael Snyder  <msnyder@redhat.com>

        From Nora Pan <qpan@mvista.com>
        * linux-nat.c (read_mapping): Don't stumble over entries in
        mapping that have name but zero inode.

Could you try a gdb CVS snapshot (6.3.50.*)?  If that doesn't work,
please post /proc/<pid>/maps.


-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gcore command on 6.3 seems to generate smaller core than it should
  2005-09-13 13:43         ` Daniel Jacobowitz
@ 2005-09-14  5:55           ` Chris Markle
  2005-09-14 15:29           ` Chris Markle
  1 sibling, 0 replies; 8+ messages in thread
From: Chris Markle @ 2005-09-14  5:55 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Daniel,

> Could you try a gdb CVS snapshot (6.3.50.*)?  If that doesn't work,
> please post /proc/<pid>/maps.

Preliminary tests seem to indicate that this worked. Thx...

Chris

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: gcore command on 6.3 seems to generate smaller core than it should
  2005-09-13 13:43         ` Daniel Jacobowitz
  2005-09-14  5:55           ` Chris Markle
@ 2005-09-14 15:29           ` Chris Markle
  1 sibling, 0 replies; 8+ messages in thread
From: Chris Markle @ 2005-09-14 15:29 UTC (permalink / raw)
  To: gdb

Daniel,

> Could you try a gdb CVS snapshot (6.3.50.*)?  If that doesn't work,
> please post /proc/<pid>/maps.

We have tested this further and your suggestion (get new snapshot) 
definitely worked. Thanks again for your help. Much appreciated...

Chris

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-09-14 15:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-13  3:51 gcore command on 6.3 seems to generate smaller core than it should Chris Markle
2005-09-13  3:55 ` Daniel Jacobowitz
2005-09-13  5:58   ` Chris Markle
2005-09-13 12:40     ` Daniel Jacobowitz
2005-09-13 13:26       ` Chris Markle
2005-09-13 13:43         ` Daniel Jacobowitz
2005-09-14  5:55           ` Chris Markle
2005-09-14 15:29           ` Chris Markle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).