Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2006 15:29:40 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Ron Tarrant <rtarrant@sympatico.ca>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: PHP 5.1.6 Command Line Arg Gives Seg Fault
Message-ID:  <20060913222940.GA30733@icarus.home.lan>
In-Reply-To: <450866E4.3070507@sympatico.ca>
References:  <4507C944.1040006@sympatico.ca> <20060913121637.GA67429@icarus.home.lan> <450866E4.3070507@sympatico.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 13, 2006 at 04:15:32PM -0400, Ron Tarrant wrote:
> Hmmm.... I'm guessing this isn't possible, although I could be wrong. If 
> php is compiled with debug hooks, the error doesn't occur. If it's 
> compiled without, there's no debug stack. Perhaps that's why this hasn't 
> been solved yet?

Even if php is built without debug hooks, you should still get a
stack trace with function names from gdb.  Make sure everything builds
with -g, and doesn't link with -s.  :-)

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060913222940.GA30733>