[PHP-DEV] Re: RC3
Yasuo Ohgaki wrote: Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz In addition to previous problem, CGI build seems to print following line again.. X-Powered-By: PHP/4.0.7RC3 Content-type: text/html I saw this line in phpinfo(). % php -i info.html % mozilla info.html OS: Kondara 2.0/Linux 2.4.4/glibc 2.2.2 (This distribution is mostly the same as RedHat 7.1) BTW, I build CGI version with much less options (./configure --enable-debug) PHP does not segfault at the end of test script execution. -- Yasuo Ohgaki -- 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]
[PHP-DEV] Re: RC3
Yasuo Ohgaki wrote: Yasuo Ohgaki wrote: Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz In addition to previous problem, CGI build seems to print following line again.. Minor problems with phpinfo() while running PHP as Apache module. Logo images(PHP/Zend) are not displayed. auto_prepend(append)_file entries are not displayed correctly. Master values are missing (missing td/td for master values). (I set auto_prepend(append)_files in httpd.conf) ./configure \ --with-apxs \ --disable-short-tags \ --without-mysql \ --with-bz2 \ --with-curl \ --with-ftp \ --with-iconv \ --with-mhash \ --with-mcrypt \ --with-openssl \ --with-pgsql \ --with-regex=system \ --with-zlib \ --with-gd=/usr \ --enable-gd-native-ttf \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-xpm-dir=/usr/X11R6 \ --enable-bcmath \ --enable-ftp \ --enable-shmop \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-memory-limit \ --enable-wddx \ --enable-debug \ --enable-inline-optimization \ OS: linux 2.4.4/glibc 2.2.2 -- Yasuo Ohgaki -- 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]
[PHP-DEV] RE: RC3
commited to PHP_4_0_7 branch. could you recheck please. thanks, harald. -Original Message- From: Peter Dishman [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 11:16 AM To: 'Harald Radi' Subject: RE: RC3 Hi, I've just tried the latest CVS source (php4-20011005) and the boolean problem has been fixed but it seems that the other changes that have been made since Release Candidate 3 are now causing me problems. I'm using the ADODB php wrapper to talk to an Access database using ADO COM objects, which now doesn't work. At the moment I'm getting an error when attempting to open the connection as it claims it can't find the 'Provider'. I've checked in the ADODB source and it's doing the following: $dbc-Provider='MSDASQL'; // $dbc is a COM object of ADODB.Connection If I echo this line out immediately after, all I get is 'MSDA' the last few letters are missing! This then causes the error mentioned. Any ideas?? The project I'm working on also has connections to other COM objects that seem to be working fine, but they don't involve setting parameters in the object, only function calls. Cheers Pete Dishman Software Engineer Email: [EMAIL PROTECTED] Tel: +44 (0) 1442 242 242 Fax: +44 (0) 1442 242 123 - Telephonetics - Making Sound Business Sense - http://www.telephonetics.co.uk/ Disclaimer - Your attention is drawn to the disclaimer at http://www.telephonetics.co.uk/edisc.html which applies to this email - subjects covered are viruses, order placement / acceptance, confidentiality, security and liability. You may receive an email copy of the disclaimer by sending email to mailto:[EMAIL PROTECTED] -- -Original Message- From: Harald Radi [mailto:[EMAIL PROTECTED]] Sent: 04 October 2001 19:26 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: RC3 hi, This has been the case for all of the 407 release candidates but it worked fine in 406. strange. nearly everything changed in conversion.c, but the boolean conversion is always the same since the beginning. I reported this as a bug (No. 13433) but it's been ignored so far. It seems quite important though as it makes code that should work not work. i commited a patch to the cvs trunk. i've someone could test this i'll commit it to the 4.0.7 branch. i mainly changed the ZVAL_BOOL(pval, V_BOOL(vtval)) to if(V_BOOL(vtval)) {ZVAL_BOOL(pval, 1);} else {ZVAL_BOOL(pval, 0);} nothing that should concern anything else .. aren't there any predefined constants for true and false in the php/zend includes ? harald. -- 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]
Re: [PHP-DEV] Re: RC3
At 09:00 05-10-01, Yasuo Ohgaki wrote: Yasuo Ohgaki wrote: Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz In addition to previous problem, CGI build seems to print following line again.. X-Powered-By: PHP/4.0.7RC3 Content-type: text/html I saw this line in phpinfo(). % php -i info.html % mozilla info.html OS: Kondara 2.0/Linux 2.4.4/glibc 2.2.2 (This distribution is mostly the same as RedHat 7.1) BTW, I build CGI version with much less options (./configure --enable-debug) PHP does not segfault at the end of test script execution. Can you do a 'binary search' and find out which option causes PHP to crash? The backtrace is pretty meaningless :I Zeev -- 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]
Re: [PHP-DEV] Re: RC3
For some reason, core file does not have symbols even with --enable-debug. I loaded symbols from php binary and got backtrace. I thought most of people were getting segfaults... It looks like it depends on config. Anyway, here is meaningful backtrace. GNU DDD 3.3 (i686-pc-linux-gnu), by Dorothea Ltkehaus and Andreas Zeller. Copyright 1995-1999 Technische Universitt Braunschweig, Germany. Copyright 1999-2001 Universitt Passau, Germany. Core was generated by `php -q run-tests.php'. Program terminated with signal 11, Segmentation fault. #0 0x08148783 in ?? () (gdb) list 'main' No symbol table is loaded. Use the file command. (gdb) file /home/yohgaki/cvs/php/dist/php-4.0.7RC3/php (gdb) core-file /home/yohgaki/cvs/php/dist/php-4.0.7RC3/core Core was generated by `php -q run-tests.php'. Program terminated with signal 11, Segmentation fault. #0 0x08148783 in _zval_dtor (zvalue=0x822765c, __zend_filename=0x81a705c zend_execute_API.c, __zend_lineno=268) at zend_variables.c:43 /home/yohgaki/cvs/php/dist/php-4.0.7RC3/Zend/zend_variables.c:43:1784:beg:0x8148783 (gdb) bt #0 0x08148783 in _zval_dtor (zvalue=0x822765c, __zend_filename=0x81a705c zend_execute_API.c, __zend_lineno=268) at zend_variables.c:43 #1 0x0813ffb2 in _zval_ptr_dtor (zval_ptr=0x822a2a8, __zend_filename=0x81a78f3 zend_variables.c, __zend_lineno=192) at zend_execute_API.c:268 #2 0x08148bdb in _zval_ptr_dtor_wrapper (zval_ptr=0x822a2a8) at zend_variables.c:192 #3 0x0814f489 in zend_hash_destroy (ht=0x822a1ec) at zend_hash.c:541 #4 0x08148801 in _zval_dtor (zvalue=0x822a1ac, __zend_filename=0x81a705c zend_execute_API.c, __zend_lineno=268) at zend_variables.c:51 #5 0x0813ffb2 in _zval_ptr_dtor (zval_ptr=0x822a310, __zend_filename=0x81a78f3 zend_variables.c, __zend_lineno=192) at zend_execute_API.c:268 #6 0x08148bdb in _zval_ptr_dtor_wrapper (zval_ptr=0x822a310) at zend_variables.c:192 #7 0x0814f489 in zend_hash_destroy (ht=0x81e6868) at zend_hash.c:541 #8 0x0813fcc2 in shutdown_executor () at zend_execute_API.c:172 #9 0x08149ab2 in zend_deactivate () at zend.c:600 #10 0x0806862c in php_request_shutdown (dummy=0x0) at main.c:736 #11 0x08066f23 in main (argc=3, argv=0xb9dc) at cgi_main.c:775 #12 0x403f81be in __libc_start_main (main=0x80664b0 main, argc=3, ubp_av=0xb9dc, init=0x8063de4 _init, fini=0x817d4dc _fini, rtld_fini=0x4000ddd0 _dl_fini, stack_end=0xb9cc) at ../sysdeps/generic/libc-start.c:129 (gdb) Zeev Suraski wrote: At 09:00 05-10-01, Yasuo Ohgaki wrote: Yasuo Ohgaki wrote: Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz In addition to previous problem, CGI build seems to print following line again.. X-Powered-By: PHP/4.0.7RC3 Content-type: text/html I saw this line in phpinfo(). % php -i info.html % mozilla info.html OS: Kondara 2.0/Linux 2.4.4/glibc 2.2.2 (This distribution is mostly the same as RedHat 7.1) BTW, I build CGI version with much less options (./configure --enable-debug) PHP does not segfault at the end of test script execution. Can you do a 'binary search' and find out which option causes PHP to crash? The backtrace is pretty meaningless :I Zeev _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- 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]
[PHP-DEV] Re: RC3
Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz RC3 seems to have the same problem as 4.0.8-dev. I can't compile with mhash some configure option(s). ./configure \ --with-apxs \ --disable-short-tags \ --without-mysql \ --enable-bcmath \ --enable-ftp \ --enable-shmop \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-memory-limit \ --enable-wddx \ --with-bz2 \ --with-curl \ --with-ftp \ --with-iconv \ --with-mhash \ --with-mcrypt \ --with-openssl \ --with-pgsql \ --with-regex=system \ --with-zlib \ --with-gd=/usr \ --enable-gd-native-ttf \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-xpm-dir=/usr/X11R6 \ /bin/sh /home/yohgaki/cvs/php/dist/php-4.0.7RC3/libtool --silent --mode=compile gcc -I. -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/mhash -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/main -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3 -I/usr/include/apache -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/Zend -I/usr/local/include -I/usr/include/freetype2/freetype -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/xml/expat -DLINUX=22 -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I/home/yohgaki/cvs/php/dist/php-4.0.7RC3/TSRM -g -O2 -prefer-pic -c mhash.c In file included from mhash.c:32: /usr/local/include/mhash.h:31: parse error before `MHash' = C++ CLASS *SNIP useless errors/warnings* make[3]: *** [mhash.lo] Error 1 make[3]: Leaving directory `/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/mhash' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/mhash' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext' make: *** [all-recursive] Error 1 OS: Linux 2.4.4/glibc 2.2.2 gcc: 2.96 (This should be mostly the same as gcc comes with RedHat7.1) Apache: 1.3.20/mod-ssl 2.8.4 mhash: 0.8.3 With much simpler config, it compiles. This configure works for me. ./configure --with-apxs --disable-short-tags --without-mysql --with-mhash (Sorry, I haven't test other combinations) -- Yasuo Ohgaki -- 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]
[PHP-DEV] Re: RC3
Yasuo Ohgaki wrote: Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz RC3 seems to have the same problem as 4.0.8-dev. I can't compile with mhash some configure option(s). There is dependecy problem. Problem could be avoided with simple reorder of configure options. Following configure works for me. ./configure \ --with-apxs \ --disable-short-tags \ --without-mysql \ --with-bz2 \ --with-curl \ --with-ftp \ --with-iconv \ --with-mhash \ --with-mcrypt \ --with-openssl \ --with-pgsql \ --with-regex=system \ --with-zlib \ --with-gd=/usr \ --enable-gd-native-ttf \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-xpm-dir=/usr/X11R6 \ --enable-bcmath \ --enable-ftp \ --enable-shmop \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-memory-limit \ --enable-wddx \ -- Yasuo Ohgaki -- 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]
[PHP-DEV] Re: RC3
Compiles fine on Win NT Server. However there's still a basic problem with the COM module. Booleans returned from a COM Object don't work correctly. This has been the case for all of the 407 release candidates but it worked fine in 406. I reported this as a bug (No. 13433) but it's been ignored so far. It seems quite important though as it makes code that should work not work. Cheers Pete Dishman Zeev Suraski [EMAIL PROTECTED] wrote in message 5.1.0.14.2.20011004020413.049ed178@localhost">news:5.1.0.14.2.20011004020413.049ed178@localhost... Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz -- 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]
[PHP-DEV] Re: RC3
Zeev Suraski wrote: Finally, it's out. www.php.net/~zeev/php-4.0.7RC3.tar.gz These are tests failed with php.ini-dist as php.ini Running tests in /home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/iconv/tests iconv test (001.phpt)... failed I saw compiler warning for passing incomaptible pointer. iconv may be broken. Running tests in /home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/standard/tests/math Simple math tests (001.phpt) ... failed Various pow() tests (pow.phpt) ... failed Running tests in /home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/standard/tests/time strtotime() function (002.phpt) ... failed Running tests in /home/yohgaki/cvs/php/dist/php-4.0.7RC3/ext/xml/tests == xml_parse_into_struct/umlauts in tags (007.phpt) ... failed Running tests in /home/yohgaki/cvs/php/dist/php-4.0.7RC3/pear/tests === PEAR_Error test (pear_error.phpt)... failed Running tests in /home/yohgaki/cvs/php/dist/php-4.0.7RC3/tests/lang === OO Bug Test (Bug #7515) (029.phpt) ... failed TEST RESULT SUMMARY = Number of tests: 197 Tests skipped: 85 ( 43%) Tests failed:7 (6.3%) Tests passed: 105 ( 94%) = Skipped 0 extensions. PHP Version: 4.0.7RC3 Segmentation fault (core dumped) [yohgaki@dev php-4.0.7RC3]$ For some reason, php dies with sefmentation fault. ./configure \ --disable-short-tags \ --without-mysql \ --with-bz2 \ --with-curl \ --with-ftp \ --with-iconv \ --with-mhash \ --with-mcrypt \ --with-openssl \ --with-pgsql \ --with-regex=system \ --with-zlib \ --with-gd=/usr \ --enable-gd-native-ttf \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-xpm-dir=/usr/X11R6 \ --enable-bcmath \ --enable-ftp \ --enable-shmop \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-memory-limit \ --enable-wddx \ --enable-debug \ --enable-inline-optimization \ Backtrace does not show any. --enable-debug is not working for CGI build?? Copyright 2001 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 i586-redhat-linux. Core was generated by `php -q run-tests.php'. Program terminated with signal 11, Segmentation fault. #0 0x08148783 in ?? () (gdb) bt #0 0x08148783 in ?? () #1 0x0813ffb2 in ?? () #2 0x08148bdb in ?? () #3 0x0814f489 in ?? () #4 0x08148801 in ?? () #5 0x0813ffb2 in ?? () #6 0x08148bdb in ?? () #7 0x0814f489 in ?? () #8 0x0813fcc2 in ?? () #9 0x08149ab2 in ?? () #10 0x0806862c in ?? () #11 0x08066f23 in ?? () #12 0x403f81be in ?? () (gdb) q -- Yasuo Ohgaki -- 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]