From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 670 invoked by alias); 6 Dec 2006 22:24:49 -0000 Received: (qmail 621 invoked by uid 48); 6 Dec 2006 22:24:35 -0000 Date: Wed, 06 Dec 2006 22:24:00 -0000 Message-ID: <20061206222435.620.qmail@sourceware.org> From: "pmuldoon at redhat dot com" To: frysk-bugzilla@sourceware.org In-Reply-To: <20061206175545.3667.pmuldoon@redhat.com> References: <20061206175545.3667.pmuldoon@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/3667] fcore crashes on large (eclipse) java process X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00551.txt.bz2 List-Id: ------- 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.