You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Sebastian Bergmann <se...@php.net> on 2001/12/17 11:30:31 UTC

Re: [PHP-DEV] Apache2Filter crashes on Windows

Sebastian Bergmann wrote:
>   Setup: Windows 2000, Apache 2 (current CVS), PHP 4 (current CVS).
>
>   After several requests Apache.exe crashes, when using the 
>   Apache2Filter SAPI module of PHP 4.
>
>   I built both debug versions of Apache 2 and PHP 4, and the debugger
>   shows the cause of the crash to be in server/util_filter.c:416:
>   APR_BRIGADE_CONCAT(*saveto, *b);

  Here's a backtrace, thanks to Sander Striker for pointing me to ALT+7:

ap_save_brigade(ap_filter_t * 0x00564f00, apr_bucket_brigade * *
0x10d95984, apr_bucket_brigade * * 0x10a6bdf8, apr_pool_t * 0x10cd4070)
line 416 + 71 bytes
php_output_filter(ap_filter_t * 0x00564f00, apr_bucket_brigade *
0x00565068) line 350 + 32 bytes
ap_pass_brigade(ap_filter_t * 0x00564f00, apr_bucket_brigade * 0x00565068)
line 388 + 16 bytes
default_handler(request_rec * 0x10cd5bf0) line 2825
ap_run_handler(request_rec * 0x10cd5bf0) line 186 + 78 bytes
ap_invoke_handler(request_rec * 0x10cd5bf0) line 360 + 9 bytes
ap_internal_redirect(const char * 0x10cd5bc8, request_rec * 0x10cd40a0)
line 454 + 9 bytes
handle_dir(request_rec * 0x10cd40a0) line 198
ap_run_handler(request_rec * 0x10cd40a0) line 186 + 78 bytes
ap_invoke_handler(request_rec * 0x10cd40a0) line 360 + 9 bytes
ap_process_request(request_rec * 0x10cd40a0) line 292 + 9 bytes
ap_process_http_connection(conn_rec * 0x00580e60) line 280 + 9 bytes
ap_run_process_connection(conn_rec * 0x00580e60) line 84 + 78 bytes
ap_process_connection(conn_rec * 0x00580e60) line 231
worker_main(int 248) line 908
_threadstartex(void * 0x005fc9c0) line 212 + 13 bytes

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

Re: [PHP-DEV] Apache2Filter crashes on Windows

Posted by Sebastian Bergmann <sb...@sebastian-bergmann.de>.
Sebastian Bergmann wrote:
> ap_save_brigade(ap_filter_t * 0x00564f00, apr_bucket_brigade * *
> 0x10d95984, apr_bucket_brigade * * 0x10a6bdf8, apr_pool_t * 0x10cd4070)
> line 416 + 71 bytes
> php_output_filter(ap_filter_t * 0x00564f00, apr_bucket_brigade *
> 0x00565068) line 350 + 32 bytes
> ap_pass_brigade(ap_filter_t * 0x00564f00, apr_bucket_brigade * 0x00565068)
> line 388 + 16 bytes
> default_handler(request_rec * 0x10cd5bf0) line 2825
> ap_run_handler(request_rec * 0x10cd5bf0) line 186 + 78 bytes
> ap_invoke_handler(request_rec * 0x10cd5bf0) line 360 + 9 bytes
> ap_internal_redirect(const char * 0x10cd5bc8, request_rec * 0x10cd40a0)
> line 454 + 9 bytes
> handle_dir(request_rec * 0x10cd40a0) line 198
> ap_run_handler(request_rec * 0x10cd40a0) line 186 + 78 bytes
> ap_invoke_handler(request_rec * 0x10cd40a0) line 360 + 9 bytes
> ap_process_request(request_rec * 0x10cd40a0) line 292 + 9 bytes
> ap_process_http_connection(conn_rec * 0x00580e60) line 280 + 9 bytes
> ap_run_process_connection(conn_rec * 0x00580e60) line 84 + 78 bytes
> ap_process_connection(conn_rec * 0x00580e60) line 231
> worker_main(int 248) line 908
> _threadstartex(void * 0x005fc9c0) line 212 + 13 bytes

  Has anyone had a look at this? Is this a bug in httpd-2.0 or in PHP's
  Apache2Filter SAPI Module?

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/