php3-list | 199807
Date: 07/19/98
- Next message: Zeev Suraski: "Re: [PHP3] Re: [PHP] Re: [PHP3] PHP 3.0.2 has been released"
- Previous message: Gerhard Hoogterp: "[PHP3] Re: [PHP] Re: [PHP3] PHP 3.0.2 has been released"
- In reply to: Michael Fuhr: "[PHP3] 3.0.2 segmentation fault with dir()"
- Next in thread: Michael Fuhr: "Re: [PHP3] 3.0.2 segmentation fault with dir()"
- Reply: Michael Fuhr: "Re: [PHP3] 3.0.2 segmentation fault with dir()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 23:59 18/07/98 -0600, Michael Fuhr wrote:
>I know I'm flirting with danger, but here's my setup:
>
> Apache 1.3.1 (not yet released; fetched from dev.apache.org)
> mod_perl 1.14 (released today; built with EVERYTHING=1)
> PHP 3.0.2 (released today; built as Apache module)
>
>When I try to view examples/dir.php3 I get the dreaded "document
>contains no data" and the following message appears in error_log:
>
> [notice] httpd: child pid 32607 exit signal Segmentation fault (11)
>
>The culprit appears to be dir() -- here's a shorter example that
>produces the same error:
Ick, bug in the PHP API due to a 3.0.2 fix :I
This has been fixed in the latest CVS. To fix the problem, add between
line 279 and line 280 of internal_functions.c:
tmp.value.func.arg_types = NULL;
And recompile. This problem affects any module that uses the add_method()
PHP API function; The only module that's a part of the PHP distribution
that uses this function is the dir module with the function dir().
Zeev
-- Zeev Suraski <zeev <email protected>> For a PGP public key, finger bourbon <email protected>-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: Zeev Suraski: "Re: [PHP3] Re: [PHP] Re: [PHP3] PHP 3.0.2 has been released"
- Previous message: Gerhard Hoogterp: "[PHP3] Re: [PHP] Re: [PHP3] PHP 3.0.2 has been released"
- In reply to: Michael Fuhr: "[PHP3] 3.0.2 segmentation fault with dir()"
- Next in thread: Michael Fuhr: "Re: [PHP3] 3.0.2 segmentation fault with dir()"
- Reply: Michael Fuhr: "Re: [PHP3] 3.0.2 segmentation fault with dir()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

