php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19523 Segfault on startup
Submitted: 2002-09-20 09:08 UTC Modified: 2002-09-20 20:57 UTC
From: sebastian@php.net Assigned: zeev (profile)
Status: Closed Package: Apache2 related
PHP Version: 4CVS-2002-09-20 OS: Linux, Windows
Private report: No CVE-ID: None
 [2002-09-20 09:08 UTC] sebastian@php.net
  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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-20 20:57 UTC] zeev@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 20:05:53 2022 UTC