SV: SV: SV: [PHP4BETA] re:Apache-1.3.11 and Mod-SSL-2.50
| From: | Johan Ekenberg | Date: | Thu, 24 Feb 2000 15:39:18 +0000 |
| Subject: | SV: SV: SV: [PHP4BETA] re:Apache-1.3.11 and Mod-SSL-2.50 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10859@lists.php.net to get a copy of this message | ||
> please apply the patch i just sent to php4beta@.
I'm very sorry, but your patch doesn't seem to help.
After a "make distclean" of apache & php, I applied
your patch and compiled. I even tried it twice, but
the crash is still there, the same as before.
See below: "list pvalue_config_destructor" in
gdb to see that the patch was really applied.
Or did I make some mistake?
/Johan
============================================
Core was generated by `./httpd -X -DSSL'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libgdbm.so.1...done.
Reading symbols from /lib/libdl.so.1...done.
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.8...done.
Reading symbols from /usr/local/lib/libttf.so.2...done.
Reading symbols from /lib/libm.so.5...done.
Reading symbols from /usr/lib/libdb.so.1...done.
Reading symbols from /lib/libc.so.5...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0 0x400e4044 in free () from /lib/libc.so.5
(gdb) bt
#0 0x400e4044 in free () from /lib/libc.so.5
#1 0x80df190 in pvalue_config_destructor (pvalue=0x6c616d00) at
configuration-parser.y:124
#2 0xa21786c in ?? ()
Cannot access memory at address 0x25207265.
(gdb) list pvalue_config_destructor
123 fprintf(stderr,"PHP: Error parsing %s on line
%d\n",currently_parsed_filename,cfglineno);
124 }
125
126
127 static void pvalue_config_destructor(zval **pvalue)
128 {
129 if ((*pvalue)->type == IS_STRING && (*pvalue)->value.str.val
!= empty_string) {
130 free((*pvalue)->value.str.val);
131 }
132 free(*pvalue);
(gdb)
===============================================