From: [EMAIL PROTECTED] Operating system: Linux, Windows PHP version: 4CVS-2002-09-20 PHP Bug Type: Apache2 related Bug description: Segfault on startup
Environment: Apache 2 and PHP 4 built as Debug_TS from current CVS on Win32. Same combination also segfaults on Linux 2.4.19. This segfault is most likely caused by a change in the SAPI startup code. php_apache_sapi_send_headers(sapi_headers_struct * 0x0042db10, void * * * 0x0042da78) line 126 + 19 bytes sapi_send_headers(void * * * 0x0042da78) line 696 + 30 bytes php_header() line 62 + 9 bytes php_ub_body_write(const char * 0x00f50af8, unsigned int 131, void * * * 0x0042da78) line 686 + 5 bytes php_body_write(const char * 0x00f50af8, unsigned int 131, void * * * 0x0042da78) line 104 + 31 bytes php_printf(const char * 0x008e1bb4 `string') line 388 + 17 bytes php_error_cb(int 32, const char * 0x008e16f0 `string', const unsigned int 0, const char * 0x00997fa4 `string', char * 0x0006fcb0) line 609 + 25 bytes zend_error(int 32, const char * 0x00997fa4 `string') line 704 + 28 bytes zend_register_functions(_zend_function_entry * 0x10031a30 apache_functions, _hashtable * 0x00000000, int 1, void * * * 0x0042da78) line 1060 + 20 bytes zend_register_module(_zend_module_entry * 0x10031a60 _php_apache_module) line 1103 + 36 bytes zend_startup_module(_zend_module_entry * 0x10031a60 _php_apache_module) line 1014 + 9 bytes php_apache_register_module() line 172 + 13 bytes php_apache_server_startup(apr_pool_t * 0x0042a950, apr_pool_t * 0x0045c550, apr_pool_t * 0x0043c1d0, server_rec * 0x0042c7e8) line 506 ap_run_post_config(apr_pool_t * 0x0042a950, apr_pool_t * 0x0045c550, apr_pool_t * 0x0043c1d0, server_rec * 0x0042c7e8) line 131 + 89 bytes main(int 3, const char * const * 0x004228b8) line 632 + 22 bytes mainCRTStartup() line 338 + 17 bytes -- Edit bug report at http://bugs.php.net/?id=19523&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19523&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19523&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19523&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19523&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19523&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19523&r=support Expected behavior: http://bugs.php.net/fix.php?id=19523&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19523&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19523&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19523&r=globals