[PHP-DEV] Re: 4.1.0RC1 out
Stig S. Bakken wrote: 4.1.0RC1 is out, download it from http://www.php.net/~ssb/php-4.1.0RC1.tar.gz math.c C:\home\php\php4\ext\standard\math.c(736) : warning C4307: '+' : Ueberlauf einer ganzzahligen Konstanten php.exe built from the 4.1.0 branch crashes upon startup. Following are some warnings I get at compile time: VARIANT.c C:\home\php\php4\ext\com\VARIANT.c(62) : warning C4047: 'initializing' : Anzahl der Dereferenzierungen bei 'unsigned short ' und 'char [8]' unterschiedlich C:\home\php\php4\ext\com\VARIANT.c(62) : warning C4047: 'initializing' : Anzahl der Dereferenzierungen bei 'unsigned int ' und 'struct _zend_function_entry *' unterschiedlich C:\home\php\php4\ext\com\VARIANT.c(62) : warning C4047: 'initializing' : Anzahl der Dereferenzierungen bei 'unsigned char ' und 'int (__cdecl *)(int ,int ,void *** )' unterschiedlich C:\home\php\php4\ext\com\VARIANT.c(62) : warning C4047: 'initializing' : Anzahl der Dereferenzierungen bei 'unsigned char ' und 'int (__cdecl *)(int ,int ,void *** )' unterschiedlich C:\home\php\php4\ext\com\VARIANT.c(62) : warning C4113: 'void (__cdecl *)(struct _zend_module_entry *,void *** )' weicht in der Parameterliste von 'int (__cdec l *)(int ,int ,void *** )' ab C:\home\php\php4\ext\com\VARIANT.c(62) : warning C4133: 'initializing' : Inkompa tible Typen - von 'void (__cdecl *)(struct _zend_module_entry *,void *** )' zu 'int (__cdecl *)(int ,int ,void *** )' -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- 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: 4.1.0RC1 out
Hi, I've downloaded and compiled 4.1.0 RC1 on windows NT. Results aren't great. Release_TSDbg fails to build, complains on undefined Entry in the linking phase. All other builds do compile but crash on startup with an access violation. I can't even run phpinfo() without it crashing. I made a debug build and stepped through to where it crashes. A call is made to zend_startup_module() for the _VARIANT_module_entry, this then results in php_info_print_table_start() being called which finally results in session_adapt_uris() being called which cause the access violation. Below is the call stack if it's any use. session_adapt_uris(const char * 0x0012ea28, unsigned int 96, char * * 0x0012e8f8, unsigned int * 0x0012e8f4, void * * * 0x00ed1e10) line 1287 + 17 bytes php_ub_body_write_no_header(const char * 0x0012ea28, unsigned int 96, void * * * 0x00ed1e10) line 432 + 25 bytes php_ub_body_write(const char * 0x0012ea28, unsigned int 96, void * * * 0x00ed1e10) line 470 + 17 bytes php_body_write(const char * 0x0012ea28, unsigned int 96, void * * * 0x00ed1e10) line 100 + 31 bytes php_printf(const char * 0x10242eb0 `string') line 350 + 26 bytes php_info_print_table_start() line 341 + 10 bytes zm_info_VARIANT(_zend_module_entry * 0x0001, void * * * 0x0005) line 56 zend_startup_module(_zend_module_entry * 0x10266788 _VARIANT_module_entry) line 1004 + 21 bytes php_startup_extensions(_zend_module_entry * * 0x1025b434, int 12) line 780 + 11 bytes php_startup_internal_extensions() line 94 + 12 bytes php_module_startup(_sapi_module_struct * 0x00416410 cgi_sapi_module) line 935 + 5 bytes main(int 1, char * * 0x00ed1e50) line 445 + 11 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77f1ba06() I have had no other trouble compiling previous RCs More information can be provided if needed. Cheers Pete Dishman Stig S. Bakken [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, 4.1.0RC1 is out, download it from http://www.php.net/~ssb/php-4.1.0RC1.tar.gz - Stig -- 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: 4.1.0RC1 out
Sorry, forgot to include build log zend_ini_scanner.c e:\downloads\php\php-4.1.0rc1\zend\zend_ini_scanner.c(811) : warning C4102: 'find_rule' : unreferenced label zend_language_scanner.c e:\downloads\php\php-4.1.0rc1\zend\zend_language_scanner.c(5257) : warning C4273: 'isatty' : inconsistent dll linkage. dllexport assumed. math.c e:\downloads\php\php-4.1.0rc1\ext\standard\math.c(736) : warning C4307: '+' : integral constant overflow jewish.c E:\Downloads\PHP\php-4.1.0RC1\ext\calendar\jewish.c(270) : warning C4005: 'SDN_OFFSET' : macro redefinition e:\downloads\php\php-4.1.0rc1\ext\calendar\gregor.c(0) : see previous definition of 'SDN_OFFSET' VARIANT.c e:\downloads\php\php-4.1.0rc1\ext\com\variant.c(62) : warning C4047: 'initializing' : 'unsigned short ' differs in levels of indirection from 'char [8]' e:\downloads\php\php-4.1.0rc1\ext\com\variant.c(62) : warning C4047: 'initializing' : 'unsigned int ' differs in levels of indirection from 'struct _zend_function_entry *' e:\downloads\php\php-4.1.0rc1\ext\com\variant.c(62) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'int (__cdecl *)(int ,int ,void *** )' e:\downloads\php\php-4.1.0rc1\ext\com\variant.c(62) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'int (__cdecl *)(int ,int ,void *** )' e:\downloads\php\php-4.1.0rc1\ext\com\variant.c(62) : warning C4113: 'void (__cdecl *)(struct _zend_module_entry *,void *** )' differs in parameter lists from 'int (__cdecl *)(int ,int ,void *** )' e:\downloads\php\php-4.1.0rc1\ext\com\variant.c(62) : warning C4133: 'initializing' : incompatible types - from 'void (__cdecl *)(struct _zend_module_entry *,void *** )' to 'int (__cdecl *)(int ,int ,void *** )' php.exe - 0 error(s), 45 warning(s) I'm pretty certain I've seen all of these consistently in every windows build I've done except for the problems with Variant.c There are also a lot of unreferenced labels that come up as warnings in one of the scanner files, but I've not included these. Pete Dishman Pete Dishman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I've downloaded and compiled 4.1.0 RC1 on windows NT. Results aren't great. Release_TSDbg fails to build, complains on undefined Entry in the linking phase. All other builds do compile but crash on startup with an access violation. I can't even run phpinfo() without it crashing. I made a debug build and stepped through to where it crashes. A call is made to zend_startup_module() for the _VARIANT_module_entry, this then results in php_info_print_table_start() being called which finally results in session_adapt_uris() being called which cause the access violation. Below is the call stack if it's any use. session_adapt_uris(const char * 0x0012ea28, unsigned int 96, char * * 0x0012e8f8, unsigned int * 0x0012e8f4, void * * * 0x00ed1e10) line 1287 + 17 bytes php_ub_body_write_no_header(const char * 0x0012ea28, unsigned int 96, void * * * 0x00ed1e10) line 432 + 25 bytes php_ub_body_write(const char * 0x0012ea28, unsigned int 96, void * * * 0x00ed1e10) line 470 + 17 bytes php_body_write(const char * 0x0012ea28, unsigned int 96, void * * * 0x00ed1e10) line 100 + 31 bytes php_printf(const char * 0x10242eb0 `string') line 350 + 26 bytes php_info_print_table_start() line 341 + 10 bytes zm_info_VARIANT(_zend_module_entry * 0x0001, void * * * 0x0005) line 56 zend_startup_module(_zend_module_entry * 0x10266788 _VARIANT_module_entry) line 1004 + 21 bytes php_startup_extensions(_zend_module_entry * * 0x1025b434, int 12) line 780 + 11 bytes php_startup_internal_extensions() line 94 + 12 bytes php_module_startup(_sapi_module_struct * 0x00416410 cgi_sapi_module) line 935 + 5 bytes main(int 1, char * * 0x00ed1e50) line 445 + 11 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77f1ba06() I have had no other trouble compiling previous RCs More information can be provided if needed. Cheers Pete Dishman Stig S. Bakken [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, 4.1.0RC1 is out, download it from http://www.php.net/~ssb/php-4.1.0RC1.tar.gz - Stig -- 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: 4.1.0RC1 out
Stig S. Bakken wrote: Hi, 4.1.0RC1 is out, download it from http://www.php.net/~ssb/php-4.1.0RC1.tar.gz - Stig Built and tested under linux 2.4.4/glibc 2.2.2 It segfualts as I reported... http://bugs.php.net/bug.php?id=13698 './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' \ '--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' \ Running tests in /home/yohgaki/cvs/php/dist/php-4.1.0RC1//ext/xml/tests === xml_parse_into_struct/umlauts in tags (007.phpt) ... failed Running tests in /home/yohgaki/cvs/php/dist/php-4.1.0RC1//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.1.0RC1//ext/standard/tests/time = strtotime() function (002.phpt) ... failed Running tests in /home/yohgaki/cvs/php/dist/php-4.1.0RC1//pear/DB/tests === DB_Error/DB_Warning test (db_error.phpt) ... failed DB configurable error handler test (db_error2.phpt) ... failed Running tests in /home/yohgaki/cvs/php/dist/php-4.1.0RC1//tests/lang OO Bug Test (Bug #7515) (029.phpt) ... failed TEST RESULT SUMMARY = Number of tests: 199 Tests skipped: 86 ( 43%) Tests failed:8 (7.1%) Tests passed: 105 ( 93%) = Skipped 0 extensions. PHP Version: 4.1.0RC1 make: *** [test] error 139 -- 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: 4.1.0RC1 out
I also failed on some tests. For examples, 'make test' failed on ext/session/tests/00[1|3|6].phpt, php_smart_str.h(74) : Freeing 0x081ABEA4 (284 bytes), script=/home/rui/work/php/php-4.1.0RC1//ext/session/tests/phpt.YnpRbJ I suspect that there is a memory leak. Rui Yasuo Ohgaki wrote: Stig S. Bakken wrote: Hi, 4.1.0RC1 is out, download it from http://www.php.net/~ssb/php-4.1.0RC1.tar.gz - Stig Built and tested under linux 2.4.4/glibc 2.2.2 -- 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]