ID: 12547
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Closed
Status: Open
Bug Type: Reproducible crash
Operating System: Mandrake 7.1 (2.4.3)
PHP Version: 4.0.6
New Comment:

fine even

Previous Comments:
------------------------------------------------------------------------

[2001-08-03 10:59:34] [EMAIL PROTECTED]

status -> closed

------------------------------------------------------------------------

[2001-08-03 10:52:44] [EMAIL PROTECTED]

fine even

------------------------------------------------------------------------

[2001-08-03 10:52:09] [EMAIL PROTECTED]

Works find with php4-200108030435 (crash doesn't happen)
When is the next stable version is expected?



------------------------------------------------------------------------

[2001-08-03 09:05:54] [EMAIL PROTECTED]

unable to reproduce with latest CVS, please try it with the latest
version at http://snaps.php.net

------------------------------------------------------------------------

[2001-08-03 06:52:31] [EMAIL PROTECTED]

I'm trying to install php with apache 1.3.20
but it Segmentation faults on a test script:

<?
if (!isset($code)) {
        exit("No code submitted.");
}
?>
<html>
<body>
Executing:<br>
<?
highlight_string("<?php \n$code\n?>");
?>
<hr width="40%">
<?
eval($code);
?>
</body>
</html>

Config:

./configure  --enable-debug --with-oci8=/db01/app/oracle/product/8.1.7/  
--with-apache=../apache_1.3.20 --enable-track-vars

BackTrace:

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-mandrake-linux"...
(gdb)
(gdb) gdb  httpd
Undefined command: "gdb".  Try "help".
(gdb)
Undefined command: "gdb".  Try "help".
(gdb) run -X -f /usr/local/apache/conf/httpd.test
Starting program: /usr/local/src/apache_1.3.20/src/httpd -X -f /usr/local/apache
/conf/httpd.test

Program received signal SIGSEGV, Segmentation fault.
0x80846e3 in php_treat_data (arg=1, str=0x0, destArray=0x0)
    at php_variables.c:257
257                     if (c_var && *c_var) {
(gdb) bt
#0  0x80846e3 in php_treat_data (arg=1, str=0x0, destArray=0x0)
    at php_variables.c:257
#1  0x807f4a9 in php_hash_environment () at main.c:1038
#2  0x807eb00 in php_request_startup () at main.c:621
#3  0x8117749 in apache_php_module_main (r=0x8236c34, display_source_mode=0)
    at sapi_apache.c:66
#4  0x807c901 in send_php (r=0x8236c34, display_source_mode=0, filename=0x0)
    at mod_php4.c:536
#5  0x807c943 in send_parsed_php (r=0x8236c34) at mod_php4.c:547
#6  0x8146fc9 in ap_invoke_handler ()
#7  0x815baaf in process_request_internal ()
#8  0x815bb1a in ap_process_request ()
#9  0x81529f6 in child_main ()
#10 0x8152bb1 in make_child ()
#11 0x8152d2c in startup_children ()
#12 0x815339c in standalone_main ()
#13 0x8153bcc in main ()
#14 0x40625c7e in __libc_start_main () at ../sysdeps/generic/libc-start.c:122




------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12547&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to