PHP 5.1.6 Command Line Arg Gives Seg Fault

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Sep 13 15:29:42 PDT 2006


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 |



More information about the freebsd-ports mailing list