ID: 22357 Comment by: gbaratto at superb dot net Reported By: m dot heidenwolf at ehotel dot ag Status: Open Bug Type: *General Issues Operating System: Redhat Linux 2.4.2 PHP Version: 4.3.2-dev New Comment:
I'm on the same situation as marco: ./configure --prefix=/usr/local/php-4.3.1 --with-apxs2=/usr/local/apache-2.0.44/bin/apxs --with-mysql=/usr --with-pfpro=/usr/local --with-openssl redhat 8 gcc 3.2 mysql 4.0.10-gamma openssl-devel-0.9.6b-29 (yeah I know it is old, but redhat said they fixed the security bugs) Previous Comments: ------------------------------------------------------------------------ [2003-02-24 09:28:17] m dot heidenwolf at ehotel dot ag Hi, ok, another one... configure line: CPPFLAGS='-I/usr/include/openssl -DEAPI' \ LDFLAGS='-L/usr/include/openssl' \ './configure' \ '--with-oci8=/ora8/m01/app/oracle/product/8.1.7' \ '--disable-short-tags' \ '--enable-sockets' \ '--enable-ctype' \ '--with-apxs=/usr/local/apache/bin/apxs' \ '--with-curl' \ '--enable-sigchild' \ '--with-zlib' \ '--enable-bcmath' \ '--enable-debug' \ gcc version: gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) system: Redhat 8.0 openssl-0.9.7a php4-STABLE-200302241230 curl-7.10.3 backtrace: Program received signal SIGSEGV, Segmentation fault. 0x4010a4a5 in memcpy () from /lib/libc.so.6 (gdb) bt #0 0x4010a4a5 in memcpy () from /lib/libc.so.6 #1 0x4029246d in smart_str_appendl_ex (dest=0xbfff8290, src=0x8306f78 "¤\232H\b\fo0\b¤Á0\bÌq0\b", len=1, what=0) at /tmp/php4-STABLE-200302241230/ext/standard/php_smart_str.h:76 #2 0x4029270e in php_var_serialize_class_name (buf=0xbfff8290, struc=0x8306f78) at /tmp/php4-STABLE-200302241230/ext/standard/var.c:420 #3 0x40291eeb in php_var_serialize_intern (buf=0xbfff8290, struc=0x8306f78, var_hash=0xbfff82a0) at /tmp/php4-STABLE-200302241230/ext/standard/var.c:560 #4 0x40292032 in php_var_serialize_intern (buf=0xbfff8290, struc=0x81ab484, var_hash=0xbfff82a0) at /tmp/php4-STABLE-200302241230/ext/standard/var.c:598 #5 0x40292095 in php_var_serialize (buf=0xbfff8290, struc=0x81ab484, var_hash=0xbfff82a0) at /tmp/php4-STABLE-200302241230/ext/standard/var.c:612 #6 0x40292144 in zif_serialize (ht=1, return_value=0x830af84, this_ptr=0x0, return_value_used=1) at /tmp/php4-STABLE-200302241230/ext/standard/var.c:635 #7 0x4030f426 in execute (op_array=0x8444e38) at /tmp/php4-STABLE-200302241230/Zend/zend_execute.c:1596 #8 0x4030f659 in execute (op_array=0x82f5444) at /tmp/php4-STABLE-200302241230/Zend/zend_execute.c:1640 #9 0x402fe121 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /tmp/php4-STABLE-200302241230/Zend/zend.c:864 #10 0x402c8cbb in php_execute_script (primary_file=0xbffff290) at /tmp/php4-STABLE-200302241230/main/main.c:1586 #11 0x40314322 in apache_php_module_main (r=0x8161cb4, display_source_mode=0) at /tmp/php4-STABLE-200302241230/sapi/apache/sapi_apache.c:55 #12 0x403152c6 in send_php (r=0x8161cb4, display_source_mode=0, filename=0x816397c "/home/httpd/html/fastbooking/bedhunter/de/buchung.php") at /tmp/php4-STABLE-200302241230/sapi/apache/mod_php4.c:617 #13 0x4031533f in send_parsed_php (r=0x8161cb4) at /tmp/php4-STABLE-200302241230/sapi/apache/mod_php4.c:632 #14 0x08083db8 in ap_invoke_handler () #15 0x08098262 in process_request_internal () #16 0x080982c2 in ap_process_request () #17 0x0808f686 in child_main () #18 0x0808f84c in make_child () #19 0x0808f9b3 in startup_children () #20 0x0808ffe0 in standalone_main () #21 0x08090818 in main () #22 0x400a3914 in __libc_start_main () from /lib/libc.so.6 regards, marco ------------------------------------------------------------------------ [2003-02-24 07:29:34] [EMAIL PROTECTED] http://gcc.gnu.org/gcc-2.96.html So please "upgrade" first to a working and official version of gcc, like 2.95.3. ------------------------------------------------------------------------ [2003-02-24 06:58:39] m dot heidenwolf at ehotel dot ag configure line: CPPFLAGS='-I/usr/include/openssl -DEAPI' \ LDFLAGS='-L/usr/include/openssl' \ './configure' \ '--with-oci8=/ora8/m01/app/oracle/product/8.1.7' \ '--disable-short-tags' \ '--enable-sockets' \ '--enable-ctype' \ '--with-apxs=/usr/local/apache/bin/apxs' \ '--with-curl' \ '--enable-sigchild' \ '--with-zlib' \ '--enable-bcmath' \ '--enable-debug' \ compiler: gcc 2.96 greets, marco ------------------------------------------------------------------------ [2003-02-24 06:40:10] [EMAIL PROTECTED] What configure line and compiler version are you using? ------------------------------------------------------------------------ [2003-02-24 06:17:43] m dot heidenwolf at ehotel dot ag Hi, no problem, i tried the following Snaps php4-STABLE-200302240630 php4-STABLE-200302240830 php4-STABLE-200302241030 all with the same result make warnings like /usr/local/src/new_022403/php4-STABLE-200302240630/ext/standard/var_unserializer.c:751: warning: label `yy80' defined but not used /usr/local/src/new_022403/php4-STABLE-200302240630/ext/standard/var_unserializer.c:749: warning: label `yy79' defined but not used /usr/local/src/new_022403/php4-STABLE-200302240630/ext/standard/var_unserializer.c:746: warning: label `yy78' defined but not used and ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam': /usr/local/src/new_022403/php4-STABLE-200302240830/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' these i had also before at 4.3.1 but php works anyway but finally at make install i got make[1]: *** [install-pear-installer] Ungültiger Maschinenbefehl (Speicherauszug erstellt) invalid machine instruction (memory dump created) i got the core file but i sadly dont know how to handle it regards, marco ------------------------------------------------------------------------ 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/22357 -- Edit this bug report at http://bugs.php.net/?id=22357&edit=1