From owner-freebsd-questions@FreeBSD.ORG Wed Feb 14 12:54:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F8C516A406 for ; Wed, 14 Feb 2007 12:54:40 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id E784313C4A5 for ; Wed, 14 Feb 2007 12:54:39 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so172034ugh for ; Wed, 14 Feb 2007 04:54:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HwnAii1S69B+W03t87gS9xglJUjjMen8TOLG6+tMgz8WjvAKqYX9/BdNXAHVYM7r4HAFaRMz5df6pcCSjfggnXRehJ+VLpROWadqkNsRBDrZlDdwXTnfa+T9dc8axMAiO2cIEOZcraBjxKSeXh0PvRLJdi+hVBjBo6d1MLVLIjk= Received: by 10.78.149.13 with SMTP id w13mr55478hud.1171457676188; Wed, 14 Feb 2007 04:54:36 -0800 (PST) Received: by 10.78.29.12 with HTTP; Wed, 14 Feb 2007 04:54:36 -0800 (PST) Message-ID: Date: Wed, 14 Feb 2007 13:54:36 +0100 From: "Niclas Zeising" To: "Rob Gallagher" In-Reply-To: <20070214115545.GA19424@murphy.redbrick.dcu.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070214115545.GA19424@murphy.redbrick.dcu.ie> Cc: freebsd-questions@freebsd.org Subject: Re: Compile of Python 2.4.4 core dumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 12:54:40 -0000 On 2/14/07, Rob Gallagher wrote: > Hi, > > Upgrading to latest version of python24 port (2.4.4), the compilation process > core dumps shortly after it begins. Here is the output leading up to the core > dump: > > cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fPIC -fno-strict-aliasing -I. -I/usr/ports/lang/python24/work/Python-2.4.4/./Include -I/usr/local/include -I/usr/ports/lang/python24/work/Python-2.4.4/Include -I/usr/ports/lang/python24/work/Python-2.4.4 -c /usr/ports/lang/python24/work/Python-2.4.4/Modules/_cursesmodule.c -o build/temp.freebsd-6.2-RELEASE-i386-2.4/_cursesmodule.o > cc -shared -pthread -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 build/temp.freebsd-6.2-RELEASE-i386-2.4/_cursesmodule.o -L/usr/local/lib -lncurses -o build/lib.freebsd-6.2-RELEASE-i386-2.4/_curses.so > Segmentation fault (core dumped) > > I'm running 6.2-RELEASE. I've upgraded another 6.2 box to python 2.4.4 without a problem, so I'm thinking the issue must lie with something on this system. > > rg > Usually if a compile coredumps it's due to faulty memory or other hardware. Might be good to check that first. Especially since it worked flawlessly on another box. HTH //Niclas