public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
From: "pmuldoon at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: frysk-bugzilla@sourceware.org
Subject: [Bug general/3667] fcore crashes on large (eclipse) java process
Date: Wed, 06 Dec 2006 22:24:00 -0000	[thread overview]
Message-ID: <20061206222435.620.qmail@sourceware.org> (raw)
In-Reply-To: <20061206175545.3667.pmuldoon@redhat.com>


------- Additional Comments From pmuldoon at redhat dot com  2006-12-06 22:24 -------
I added some comments to the uslurp, and it seems to be dying on realloc. What
is puzzling is I read the maps twice: once to forward count the number of maps,
and then again to actually read the maps. The first time around the reallocs
pass, but the second time around they fail on the first realloc. Also this seems
limited to large maps files.

[pmuldoon@localhost frysk_bin]$ ./frysk-core/frysk/bindir/fcore 31807
Counting maps
Inside slurp
Read 4006 bytes, read buffer should be 8191
realloc size 12198
realloc completed
Read 4061 bytes, read buffer should be 8191
realloc size 16259
realloc completed
Read 4021 bytes, read buffer should be 8191
realloc size 20280
realloc completed
Read 4045 bytes, read buffer should be 8191
realloc size 24325
realloc completed
Read 4074 bytes, read buffer should be 8191
realloc size 28399
realloc completed
Read 4037 bytes, read buffer should be 8191
realloc size 32436
realloc completed
Read 2121 bytes, read buffer should be 8191
realloc size 34557
realloc completed
Read 0 bytes, read buffer should be 8191
realloc size 34557
realloc completed
Building program header

Building notes
Building program segments
Running segment construct

Inside slurp
Read 4006 bytes, read buffer should be 8191
realloc size 12198
*** glibc detected *** ./frysk-core/frysk/bindir/fcore: realloc(): invalid next
size: 0x095f8bd8 ***


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3667

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


  reply	other threads:[~2006-12-06 22:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-06 17:56 [Bug general/3667] New: " pmuldoon at redhat dot com
2006-12-06 22:24 ` pmuldoon at redhat dot com [this message]
2007-10-10 17:25 ` [Bug general/3667] " pmuldoon at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061206222435.620.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=frysk-bugzilla@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).