Re: Re: Moved virtual cwd stuff to TSRM

From: Date: Tue, 05 Sep 2000 04:18:33 +0000
Subject: Re: Re: Moved virtual cwd stuff to TSRM
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-32072@lists.php.net to get a copy of this message
At 10:45 PM 9/4/00 +0200, Olivier Cahagne wrote:
Hi,
It might be a broken build. Can you please rebuild PHP from scratch. cd php4/ ../cvsclean ../buildconf ../configure .... If this still happens please send a backtrace? Type bt after the crash.
Oops, I forgot about the backtrace, I'll do this as soon as I recompile and will post it to the mailing-list. BTW, about closed bug #6465, is it possible to remove the following lines from Zend/zend-parser.c: #line 3 "/usr/lib/bison.simple" #line 217 "/usr/lib/bison.simple" #line 543 "/usr/lib/bison.simple" gcc 2.7.2.2 will complain about it, genfiles should not put these static lines in zend-parser.c. Jani Taskinsen modified genfiles to remove those hard-coded #lines lines in main/configuration-parser.c (and scanner) but does not have rights to do it for Zend/* (I might have misunderstood) It would be very nice because I'm trying to know why curl support won't compile on my system (bug #6464).
Can he send us a patch to php-dev@ and someone will commit it to Zend? Andi
Here's my report with snapshot php4-200009040845 compiled on NetBSD 1.3.3 with gcc 2.7.2.2 with the following configure:
./configure --with-config-file-path=/space/www/etc/httpd/conf/php_cgi \
            --enable-discard-path \
            --with-gd=/u/guest/www/mbin/i386-NetBSD \
            --with-mysql \
            --with-dbase \
            --with-zlib=/u/guest/www/mbin/i386-NetBSD \
            --with-mcrypt=/u/guest/www/mbin/i386-NetBSD \
            --with-mhash=/u/guest/www/mbin/i386-NetBSD \
            --enable-ftp \
            --enable-inline-optimization \
            --with-jpeg-dir=/u/guest/www/mbin/i386-NetBSD \
            --with-imap=/u/guest/www/mbin/i386-NetBSD/lib
It works fine with PHP 4.0.2 and snsphots from yesterday but it now
crashes as you expected glitches with the new code.
Here's the backtrace: www@marvin ~/compil/php4-200009040845>gdb php
GDB is free software and you are welcome to 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. GDB 4.16 (i386-netbsd), Copyright 1996 Free Software Foundation, Inc... (gdb) run -v Starting program: /nfs/s5/space/users/guest/www/compil/php4-200009040845/php -v
Program received signal SIGSEGV, Segmentation fault.
0x7edfc in virtual_file_ex (state=0x0,
    path=0xefbfcea0 "/usr/space/www/etc/httpd/conf/php_cgi/php.ini",
    verify_path=0) at tsrm_virtual_cwd.c:332
332             CWD_STATE_COPY(old_state, state);
(gdb) -- Olivier.Cahagne@epita.fr --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#32072) next »