ID: 34435 Updated by: [EMAIL PROTECTED] Reported By: voxus at mail dot ru Status: Open Bug Type: Reproducible crash Operating System: Gentoo Linux PHP Version: 5CVS-2005-09-09 New Comment:
Eh? The warning shows *precisely* why the code is broken on LP64 platforms. Reporter, can you try this patch. http://people.apache.org/~jorton/php_bug34435.patch Previous Comments: ------------------------------------------------------------------------ [2005-09-09 13:38:11] voxus at mail dot ru reproducible with today's snapshot too. ------------------------------------------------------------------------ [2005-09-09 13:36:39] [EMAIL PROTECTED] Just ignore those warnings. They are just warnings and have nothing to do with the issue. You'd better provide more info and/or access to the server where it's reproducible. ------------------------------------------------------------------------ [2005-09-09 12:51:24] etnu at etnu dot org Experiencing the exact same problem with an identical configuration, just using Apache 2.0.54 instead of 2.0.52. Same hardware though; running under Debian 3.1 (Sarge) export CFLAGS="-O2" ./configure \ --with-tidy \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config \ --prefix=/usr/local/apache2/php \ --with-config-file-path=/usr/local/apache2/php \ --enable-force-cgi-redirect \ --disable-magic-quotes \ --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib \ --with-freetype-dir=/usr/lib --with-zlib-dir=/usr/lib I actually get compiler warnings with this configuration: /usr/src/php-5.0.5/ext/sqlite/libsqlite/src/func.c: In function `minmaxFunc': /usr/src/php-5.0.5/ext/sqlite/libsqlite/src/func.c:38: warning: cast from pointer to integer of different size /usr/src/php-5.0.5/ext/sqlite/libsqlite/src/func.c: In function `minmaxStep': /usr/src/php-5.0.5/ext/sqlite/libsqlite/src/func.c:525: warning: cast from pointer to integer of different size /usr/src/php-5.0.5/ext/standard/var.c: In function `php_var_serialize_class_name': /usr/src/php-5.0.5/ext/standard/var.c:515: warning: passing arg 3 of `zend_get_object_classname' from incompatible pointer type An identical build of 5.0.4 yields no warnings at all. I'm seeing seg faults whenever serializing or unserializing any object. ------------------------------------------------------------------------ [2005-09-09 12:07:54] m at aptual dot fi I'm not sure what you mean exactly with platform, but like I said before, I'm using Apache 2.0.52, an SMP kernel version 2.6.8 (x86_64) and gcc version 3.3.4. The glibc6 version is 2.3.2. To be more precise, the machine is a Dual Opteron box, and it is running on Ubuntu Linux (Warty). However, both Apache and PHP have been compiled from sources. Oh, and Apache uses the Prefork MPM, which should be (and has been, so far) safe to use with PHP. And just like with the initial poster, this problem doesn't occur on, for example, PHP 5.0.3. I noticed this during a normal upgrade, when an application stopped working immediately after trying the new version. ------------------------------------------------------------------------ [2005-09-09 11:33:21] voxus at mail dot ru btw, what platform you're using, m? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34435 -- Edit this bug report at http://bugs.php.net/?id=34435&edit=1