From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29405 invoked by alias); 5 Jul 2011 07:51:49 -0000 Received: (qmail 29397 invoked by uid 22791); 5 Jul 2011 07:51:48 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Jul 2011 07:51:18 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p657pIbV010553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 5 Jul 2011 03:51:18 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p657pGX1026780; Tue, 5 Jul 2011 03:51:17 -0400 From: Phil Muldoon To: Mahmood Naderan Cc: "gdb\@sourceware.org" Subject: Re: GDB doesnot catches segmentation fault References: <1309847935.50900.YahooMailNeo@web111702.mail.gq1.yahoo.com> <1309850661.18621.YahooMailNeo@web111713.mail.gq1.yahoo.com> Reply-to: pmuldoon@redhat.com X-URL: http://www.redhat.com Date: Tue, 05 Jul 2011 07:51:00 -0000 In-Reply-To: <1309850661.18621.YahooMailNeo@web111713.mail.gq1.yahoo.com> (Mahmood Naderan's message of "Tue, 5 Jul 2011 00:24:21 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00015.txt.bz2 Mahmood Naderan writes: >>Then: >>gdb gdb --core=yourcore.pid >>Where "youcore.pid" is the core-file that GDB generated on crash > > Where does it save that file? I can not find it > > // Naderan *Mahmood; With Fedora 15, it places it in the same place from where the program was executed: [user@localhost test]$ ulimit -c unlimited [user@localhost test]$ sleep 5000 Segmentation fault (core dumped) [user@localhost test]$ ls core.31559 Cheers, Phil