PHP 5.1.6 Command Line Arg Gives Seg Fault

Jeremy Chadwick freebsd at
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 Networking               |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |

More information about the freebsd-ports mailing list