[PHP-DEV] Bug #10424 Updated: apache crash with segmentation fault at end of phpinfo() function call.

2001-05-14 Thread jliebert

ID: 10424
User Update by: [EMAIL PROTECTED]
Status: Duplicate
Bug Type: *Install and Config
Operating system: AIX 4.3
PHP Version: 4.0.4pl1
Description: apache crash with segmentation fault at end of phpinfo() function call.

Exact, no more core dump when the module is compiled with gcc 2.95.3.

Thanks.


Previous Comments:
---

[2001-05-14 14:33:08] [EMAIL PROTECTED]
This is AIX specific, gcc compiles this fine, this bug will be fixed at some point in 
the future. Dup of 4630.

- James

---

[2001-04-20 14:00:48] [EMAIL PROTECTED]
Compiler: C for AIX version 5 (xlc_r)
Web serveur: IBM_HTTP_Server/1.3.6.2 Apache/1.3.7-dev (Unix)
PHP was compiled with this options:

$ ./configure --prefix=/usr/local/php4 
  --with-apxs=/local/src/bin/apxs 
  --with-config-file-path=/usr/local/php4/lib 
  --with-mysql=/usr/local 
  --with-exec-dir=/usr/bin 
  --enable-inline-optimization 
  --enable-magic-quotes 
  --enable-track-vars 
  --enable-memory-limit 
  --enable-debugger 
  --enable-safe-mode 
  --enable-sigchild 
  --with-system-regex

I have added this to main/php_config.h to correct some
compilation trouble about undefined functions and 
redefinitions:
#define HAVE_DLFCN_H 1
/* #define HAVE_ALLOCA 1 */
#define HAVE_INT_8_16_32 1

The module is loaded correctly by apache but when a php script is call the script 
return the result and the 
daemon crash with a segmentation fault (11).

This is the test script:
  phpinfo.php:
  

This is the result of dbx when the script is requested:
  # dbx /usr/HTTPServer/bin/httpd
  Type 'help' for help.
  reading symbolic information ...warning: no source compiled with -g

  (dbx) run -f /babel/httpd-dev/conf/httpd.conf -X

  Segmentation fault in _efree at 0xd0dcc294 ($t1)
  0xd0dcc294 (_efree+0x1c) 80630008lwz   r3,0x8(r3)
  (dbx) quit
  #

Did I need to use other compiler, or something to configure ? did the efree function 
is bugged under AIX ?

Thanks for help.

---


Full Bug description available at: http://bugs.php.net/?id=10424


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10424 Updated: apache crash with segmentation fault at end of phpinfo() function call.

2001-05-14 Thread jmoore

ID: 10424
Updated by: jmoore
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Duplicate
Bug Type: *Install and Config
Operating system: 
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

This is AIX specific, gcc compiles this fine, this bug will be fixed at some point in 
the future. Dup of 4630.

- James

Previous Comments:
---

[2001-04-20 14:00:48] [EMAIL PROTECTED]
Compiler: C for AIX version 5 (xlc_r)
Web serveur: IBM_HTTP_Server/1.3.6.2 Apache/1.3.7-dev (Unix)
PHP was compiled with this options:

$ ./configure --prefix=/usr/local/php4 
  --with-apxs=/local/src/bin/apxs 
  --with-config-file-path=/usr/local/php4/lib 
  --with-mysql=/usr/local 
  --with-exec-dir=/usr/bin 
  --enable-inline-optimization 
  --enable-magic-quotes 
  --enable-track-vars 
  --enable-memory-limit 
  --enable-debugger 
  --enable-safe-mode 
  --enable-sigchild 
  --with-system-regex

I have added this to main/php_config.h to correct some
compilation trouble about undefined functions and 
redefinitions:
#define HAVE_DLFCN_H 1
/* #define HAVE_ALLOCA 1 */
#define HAVE_INT_8_16_32 1

The module is loaded correctly by apache but when a php script is call the script 
return the result and the 
daemon crash with a segmentation fault (11).

This is the test script:
  phpinfo.php:
  

This is the result of dbx when the script is requested:
  # dbx /usr/HTTPServer/bin/httpd
  Type 'help' for help.
  reading symbolic information ...warning: no source compiled with -g

  (dbx) run -f /babel/httpd-dev/conf/httpd.conf -X

  Segmentation fault in _efree at 0xd0dcc294 ($t1)
  0xd0dcc294 (_efree+0x1c) 80630008lwz   r3,0x8(r3)
  (dbx) quit
  #

Did I need to use other compiler, or something to configure ? did the efree function 
is bugged under AIX ?

Thanks for help.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10424&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]