[Gllug] Re: PHP segmentation fault

Nix nix at esperi.org.uk
Fri Mar 16 23:35:01 UTC 2007


On 15 Mar 2007, Jon Dye outgrape:
>> You could
>> try installing a debug version of PHP, then running the script from the command
>> line.
>
> The debug version doesn't segfault at all.  I eventually ran valgrind on
> php and it reported:

Compile with -g and get debugging, I'd guess.

(FWIW php 5.2.1 does not crash here nor emit any valgrind errors with the
testcase you provided. Are you using weird CFLAGS or a known-broken version
of GCC such as 4.0.0 or something?)

-- 
`In the future, company names will be a 32-character hex string.'
  --- Bruce Schneier on the shortage of company names
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list