From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30724 invoked by alias); 9 Jul 2008 13:43:02 -0000 Received: (qmail 30682 invoked by uid 22791); 9 Jul 2008 13:42:57 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 Jul 2008 13:42:39 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m69Dgbr0012086; Wed, 9 Jul 2008 09:42:37 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m69DgbXC019721; Wed, 9 Jul 2008 09:42:37 -0400 Received: from dhcp-10-15-16-109.yyz.redhat.com (dhcp-10-15-16-109.yyz.redhat.com [10.15.16.109]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m69DgZUr005460; Wed, 9 Jul 2008 09:42:36 -0400 Message-ID: <4874C04B.2000603@redhat.com> Date: Wed, 09 Jul 2008 14:35:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Andrew Bell CC: James Gregory , gcc-help@gcc.gnu.org Subject: Re: Including affects whether or not program freezes? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00113.txt.bz2 Andrew Bell wrote: > On Tue, Jul 8, 2008 at 9:31 PM, James Gregory wrote: >> 4. Compile with gcc 4.2.3 (Ubuntu 64 bit), with optimization: my >> program freezes in a particular function > > Kill the process with some signal that will generate a core. This at > least gives you a exact location of the hang, if you don't already > know it. I'll use this opportunity to mention Valgrind's memory checker. Andrew.