From Jim.Pirzyk@disney.com Fri Feb 16 15:13:47 2001 Return-Path: Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by hub.freebsd.org (Postfix) with ESMTP id 8BF2A37B401 for ; Fri, 16 Feb 2001 15:13:47 -0800 (PST) Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f1GNDHc11267 for ; Fri, 16 Feb 2001 15:13:17 -0800 (PST) Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP for FreeBSD-gnats-submit@freebsd.org; Fri, 16 Feb 2001 15:14:22 -0800 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id PAA11642 for ; Fri, 16 Feb 2001 15:13:45 -0800 (PST) (envelope-from Jim.Pirzyk@fa.disney.com) Received: from snoopy.fan.fa.disney.com (snoopy.fan.fa.disney.com [153.7.117.170]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id PAA12945 for ; Fri, 16 Feb 2001 15:13:44 -0800 (PST) (envelope-from Jim.Pirzyk@fa.disney.com) Received: (from Jim.Pirzyk@localhost) by snoopy.fan.fa.disney.com (8.11.1/8.9.3) id f1GNDie57681; Fri, 16 Feb 2001 15:13:44 -0800 (PST) (envelope-from Jim.Pirzyk@fa.disney.com) Message-Id: <200102162313.f1GNDie57681@snoopy.fan.fa.disney.com> Date: Fri, 16 Feb 2001 15:13:44 -0800 (PST) From: Jim.Pirzyk@disney.com Reply-To: Jim.Pirzyk@disney.com To: FreeBSD-gnats-submit@freebsd.org Subject: kdump gets malloc error X-Send-Pr-Version: 3.2 >Number: 25153 >Category: bin >Synopsis: kdump does not finish displaying data >Confidential: no >Severity: serious >Priority: medium >Responsible: pirzyk >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 16 15:20:01 PST 2001 >Closed-Date: Wed Dec 19 16:44:27 PST 2001 >Last-Modified: Wed Dec 19 16:45:05 PST 2001 >Originator: Jim Pirzyk >Release: FreeBSD 4.2-RELEASE i386 >Organization: >Environment: after running a ktrace on a Linux binary, I get a 7MB ktrace.out file. >Description: running kdump on this output file, it fails with Cannot allocate memory after accessing the last break call . Here is the kdump on the kdump: Jim.Pirzyk@snoopy:/usr/src/usr.bin/kdump 46>kdump | grep break 56504 kdump CALL break(0x804e000) 56504 kdump RET break 0 56504 kdump CALL break(0x804f000) 56504 kdump RET break 0 56504 kdump CALL break(0x8051000) 56504 kdump RET break 0 56504 kdump CALL break(0x8052000) 56504 kdump RET break 0 56504 kdump CALL break(0x8054000) 56504 kdump RET break 0 56504 kdump CALL break(0x808b000) 56504 kdump RET break 0 56504 kdump CALL break(0x7d772000) 56504 kdump RET break -1 errno 12 Cannot allocate memory >How-To-Repeat: I can send the ktrace.out file, but compressed, it still is over 1MB. >Fix: >Release-Note: >Audit-Trail: From: Bruce Evans To: Jim.Pirzyk@disney.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/25153: kdump gets malloc error Date: Sat, 17 Feb 2001 23:01:48 +1100 (EST) On Fri, 16 Feb 2001 Jim.Pirzyk@disney.com wrote: > >Description: > > running kdump on this output file, it fails with Cannot allocate memory > after accessing the last break call . Here is the kdump on the kdump: This may be caused by breakage of atomic writing of ktrace records in rev.1.37 of kern_ktrace.c. Perhaps there is only a problem when the ktrace output file is on an nfs filesystem. There must be multiple processes writing to the same file to cause problems. Bruce Responsible-Changed-From-To: freebsd-bugs->pirzyk Responsible-Changed-By: pirzyk Responsible-Changed-When: Thu Jul 19 17:36:18 PDT 2001 Responsible-Changed-Why: another PR of mine http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25153 State-Changed-From-To: open->closed State-Changed-By: pirzyk State-Changed-When: Wed Dec 19 16:44:27 PST 2001 State-Changed-Why: Closed since now I should be using linux_kdump instead of just kdump. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25153 >Unformatted: