From owner-freebsd-current@FreeBSD.ORG Fri Aug 1 02:52:51 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A1681065672; Fri, 1 Aug 2008 02:52:51 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id EBC498FC19; Fri, 1 Aug 2008 02:52:50 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from [192.168.1.103] ([::ffff:69.255.34.108]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,128bits,RC4-SHA) by beta.eecs.cwru.edu with esmtp; Thu, 31 Jul 2008 22:52:49 -0400 id 000AC7F1.48927A82.00002D04 Message-Id: <23F92190-D556-48C5-9A46-4F6570A30C65@alumni.cwru.edu> From: Justin Hibbits To: Peter Grehan In-Reply-To: <20080801122745.EFA74217@dommail.onthenet.com.au> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Thu, 31 Jul 2008 22:52:54 -0400 References: <20080801122745.EFA74217@dommail.onthenet.com.au> X-Mailer: Apple Mail (2.926) Cc: freebsd-current@freebsd.org, freebsd-ppc@freebsd.org Subject: Re: SSP on PPC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2008 02:52:51 -0000 Hi Peter, On Jul 31, 2008, at 10:27 PM, Peter Grehan wrote: > Hi Justin, > >> With a recent upgrade of -CURRENT on my FreeBSD/ppc machine >> it appears that the stack smash protection breaks exception >> handling. > > Are you able to run your program in gdb and get some sort of > backtrace (or faulting pc) ? I'll try and get a repro. > > later, > > Peter. The backtrace from my simple test program is nearly useless. I do have a faulting pc of 0x219a5ee4, which according to gdb is in _Unwind_GetIPInfo, but the only other frame in the backtrace is garbled. Unfortunately, when I rebuilt world I didn't think to backup libgcc_s.so.1, so that pointer might not be too helpful, since I can't get to the instruction block it's in, and the address isn't included in the core dump. If it helps at all, the CVS checkout timestamp I have is from Jul 28@21:39 EST. - Justin