update: [PHP-DEV] apache segfaults following script execution
| From: | Thomas Wentzel | Date: | Fri, 31 Aug 2001 14:14:13 +0000 |
| Subject: | update: [PHP-DEV] apache segfaults following script execution | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64817@lists.php.net to get a copy of this message | ||
Hehe...
Should have said, that I'm looking for pointers as to what
can cause such an error...
/Thomas
Thomas Wentzel wrote:
>
> Hi,
>
> I'm having a strange problem that I hope some of you can answer...
>
> I've been writing an extension which I use (obviously :-)
> The problem is that after the script is executed (in it's
> entirety - even PHP_RSHUTDOWN_FUNCTION is executed) apache
> segfaults...
>
> I used gdb and started apache in "single-thread" mode (using -X)
> - and this is what I get:
>
> --- output starts here ---
> (gdb) run
> Starting program: /usr/sbin/httpd -X
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x400ed431 in _IO_vfprintf (s=0xbffff47c, format=0x4086cc80 "%s(%d) :
> Actual location (location was relayed)\n",
> ap=0xbffff590) at vfprintf.c:1259
> 1259 vfprintf.c: No such file or directory.
> --- output ends here ---
>
> I'm in no way blind to the fact that this probably has something
> to do with my extension, but exactly how has eluded me for some time
>
> Thanks
> Thomas
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net