Re: Can't compile PHP-GTK cvs with PHP cvs ?
| From: | Markus Fischer | Date: | Tue, 15 May 2001 17:39:41 +0000 |
| Subject: | Re: Can't compile PHP-GTK cvs with PHP cvs ? | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1846@lists.php.net to get a copy of this message | ||
On Tue, May 15, 2001 at 07:31:00PM +0200, Markus Fischer wrote :
> mfischer@ficken:~/isrc/cvs/php-gtk$ gdb php
> (gdb) run -q /public/mfischer-home/mfischer/isrc/cvs/php-gtk/generator/generator.php -o
> gtk.overrides -p gtk gtk.defs
> Starting program: /home/mfischer/php4/bin/php -q
> /public/mfischer-home/mfischer/isrc/cvs/php-gtk/generator/generator.php -o gtk.overrides -p gtk
> gtk.defs
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x80afeac in _efree (ptr=0x0, __zend_filename=0x81a5e68 "php_pcre.c",
> __zend_lineno=992, __zend_orig_filename=0x0, __zend_orig_lineno=0)
> at zend_alloc.c:214
> 214 CALCULATE_REAL_SIZE_AND_CACHE_INDEX(p->size);
> (gdb) bt
> #0 0x80afeac in _efree (ptr=0x0, __zend_filename=0x81a5e68 "php_pcre.c",
> __zend_lineno=992, __zend_orig_filename=0x0, __zend_orig_lineno=0)
> at zend_alloc.c:214
> #1 0x80ddcbb in preg_replace_impl (ht=3, return_value=0x82ce63c,
> this_ptr=0x0, return_value_used=1, is_callable_replace=0 '\000')
> at php_pcre.c:992
> #2 0x80de10c in php_if_preg_replace (ht=3, return_value=0x82ce63c,
> this_ptr=0x0, return_value_used=1) at php_pcre.c:1042
> #3 0x80aa3ca in execute (op_array=0x823893c) at ./zend_execute.c:1504
> #4 0x80ac440 in execute (op_array=0x823455c) at ./zend_execute.c:2049
> #5 0x809f634 in zend_execute_scripts (type=8, file_count=3) at zend.c:748
> #6 0x806e0df in php_execute_script (primary_file=0xbffff414) at main.c:1206
> #7 0x8069913 in main (argc=8, argv=0xbffff4a4) at cgi_main.c:718
> #8 0x400d82eb in __libc_start_main () from /lib/libc.so.6
Verified. Reverted php_pcre.c to 1.94 and it works now.
Saw some similar mail to php-dev; Zend engine related ?
- Markus