Can't compile PHP-GTK cvs with PHP cvs ?
| From: | Markus Fischer | Date: | Tue, 15 May 2001 17:31:00 +0000 |
| Subject: | Can't compile PHP-GTK cvs with PHP cvs ? | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1845@lists.php.net to get a copy of this message | ||
PHP cvs installed with
./configure --prefix=/home/mfischer/php4 --with-mysql
--with-config-file-path=/home/mfischer/php4/ --with-xml
--with-pgsql --with-dom --enable-debug
Compiling PHP-GTK next:
Making all in src
make[1]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php-gtk/src'
make[2]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php-gtk/src'
php -q /public/mfischer-home/mfischer/isrc/cvs/php-gtk/generator/make_reg_items.php gtk gdk libglade
php -q /public/mfischer-home/mfischer/isrc/cvs/php-gtk/generator/generator.php -o gtk.overrides -p
gtk gtk.defs
make[2]: *** [php_gtk_gen_gtk.c] Segmentation fault
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
Reminds me on the free vs. efree discussion lately ;)
Andrei, probably somethign to do with your pcre patch lately ?
- Markus
PS: Both are scratch from CVS about 10 minutes ago