#39482 [NEW]: Apache Hanged When running php

2006-11-12 Thread jasonlamkk at gmail dot com
From: jasonlamkk at gmail dot com
Operating system: Window XP SP2
PHP version:  5.2.0
PHP Bug Type: Apache2 related
Bug description:  Apache Hanged When running php

Description:

?xml version=1.0 encoding=UTF-16?
DATABASE
EXE NAME=httpd.exe FILTER=GRABMI_FILTER_PRIVACY
MATCHING_FILE NAME=ab.exe SIZE=65600 CHECKSUM=0x3DF080C2
BIN_FILE_VERSION=2.2.3.0 BIN_PRODUCT_VERSION=2.2.3.0
PRODUCT_VERSION=2.2.3 FILE_DESCRIPTION=ApacheBench command line
utility COMPANY_NAME=Apache Software Foundation PRODUCT_NAME=Apache
HTTP Server FILE_VERSION=2.2.3 ORIGINAL_FILENAME=ab.exe
INTERNAL_NAME=ab.exe LEGAL_COPYRIGHT=Copyright 2006 The Apache Software
Foundation. VERFILEDATEHI=0x0 VERFILEDATELO=0x0 VERFILEOS=0x4
VERFILETYPE=0x1 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x0 UPTO_BIN_FILE_VERSION=2.2.3.0
UPTO_BIN_PRODUCT_VERSION=2.2.3.0 LINK_DATE=07/27/2006 21:55:46
UPTO_LINK_DATE=07/27/2006 21:55:46 VER_LANGUAGE=#33521;#25991;
(#32654;#22283;) [0x409] /
MATCHING_FILE NAME=ApacheMonitor.exe SIZE=41041
CHECKSUM=0x72A8CDF3 BIN_FILE_VERSION=2.2.3.0
BIN_PRODUCT_VERSION=2.2.3.0 PRODUCT_VERSION=2.2.3
FILE_DESCRIPTION=Apache HTTP Server Monitor COMPANY_NAME=Apache
Software Foundation PRODUCT_NAME=Apache HTTP Server
FILE_VERSION=2.2.3 ORIGINAL_FILENAME=ApacheMonitor.exe
INTERNAL_NAME=ApacheMonitor.exe LEGAL_COPYRIGHT=Copyright 2006 The
Apache Software Foundation. VERFILEDATEHI=0x0 VERFILEDATELO=0x0
VERFILEOS=0x4 VERFILETYPE=0x1 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x0 UPTO_BIN_FILE_VERSION=2.2.3.0
UPTO_BIN_PRODUCT_VERSION=2.2.3.0 LINK_DATE=07/27/2006 21:52:03
UPTO_LINK_DATE=07/27/2006 21:52:03 VER_LANGUAGE=#33521;#25991;
(#32654;#22283;) [0x409] /
MATCHING_FILE NAME=htcacheclean.exe SIZE=53322
CHECKSUM=0x8B21D4B3 BIN_FILE_VERSION=2.2.3.0
BIN_PRODUCT_VERSION=2.2.3.0 PRODUCT_VERSION=2.2.3
FILE_DESCRIPTION=Apache htcacheclean command line utility
COMPANY_NAME=Apache Software Foundation PRODUCT_NAME=Apache HTTP
Server FILE_VERSION=2.2.3 ORIGINAL_FILENAME=htcacheclean.exe
INTERNAL_NAME=htcacheclean.exe LEGAL_COPYRIGHT=Copyright 2006 The
Apache Software Foundation. VERFILEDATEHI=0x0 VERFILEDATELO=0x0
VERFILEOS=0x4 VERFILETYPE=0x1 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x0 UPTO_BIN_FILE_VERSION=2.2.3.0
UPTO_BIN_PRODUCT_VERSION=2.2.3.0 LINK_DATE=07/27/2006 21:55:51
UPTO_LINK_DATE=07/27/2006 21:55:51 VER_LANGUAGE=#33521;#25991;
(#32654;#22283;) [0x409] /
MATCHING_FILE NAME=htdbm.exe SIZE=77891 CHECKSUM=0x1559776F
BIN_FILE_VERSION=2.2.3.0 BIN_PRODUCT_VERSION=2.2.3.0
PRODUCT_VERSION=2.2.3 FILE_DESCRIPTION=Apache htdbm command line
utility COMPANY_NAME=Apache Software Foundation PRODUCT_NAME=Apache
HTTP Server FILE_VERSION=2.2.3 ORIGINAL_FILENAME=htdbm.exe
INTERNAL_NAME=htdbm.exe LEGAL_COPYRIGHT=Copyright 2006 The Apache
Software Foundation. VERFILEDATEHI=0x0 VERFILEDATELO=0x0
VERFILEOS=0x4 VERFILETYPE=0x1 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x0 UPTO_BIN_FILE_VERSION=2.2.3.0
UPTO_BIN_PRODUCT_VERSION=2.2.3.0 LINK_DATE=07/27/2006 21:55:55
UPTO_LINK_DATE=07/27/2006 21:55:55 VER_LANGUAGE=#33521;#25991;
(#32654;#22283;) [0x409] /
MATCHING_FILE NAME=htdigest.exe SIZE=69702 CHECKSUM=0x364E2F00
BIN_FILE_VERSION=2.2.3.0 BIN_PRODUCT_VERSION=2.2.3.0
PRODUCT_VERSION=2.2.3 FILE_DESCRIPTION=Apache htdigest command line
utility COMPANY_NAME=Apache Software Foundation PRODUCT_NAME=Apache
HTTP Server FILE_VERSION=2.2.3 ORIGINAL_FILENAME=htdigest.exe
INTERNAL_NAME=htdigest.exe LEGAL_COPYRIGHT=Copyright 2006 The Apache
Software Foundation. VERFILEDATEHI=0x0 VERFILEDATELO=0x0
VERFILEOS=0x4 VERFILETYPE=0x1 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x0 UPTO_BIN_FILE_VERSION=2.2.3.0
UPTO_BIN_PRODUCT_VERSION=2.2.3.0 LINK_DATE=07/27/2006 21:55:59
UPTO_LINK_DATE=07/27/2006 21:55:59 VER_LANGUAGE=#33521;#25991;
(#32654;#22283;) [0x409] /
MATCHING_FILE NAME=htpasswd.exe SIZE=73798 CHECKSUM=0xA8E7D5F9
BIN_FILE_VERSION=2.2.3.0 BIN_PRODUCT_VERSION=2.2.3.0
PRODUCT_VERSION=2.2.3 FILE_DESCRIPTION=Apache htpasswd command line
utility COMPANY_NAME=Apache Software Foundation PRODUCT_NAME=Apache
HTTP Server FILE_VERSION=2.2.3 ORIGINAL_FILENAME=htpasswd.exe
INTERNAL_NAME=htpasswd.exe LEGAL_COPYRIGHT=Copyright 2006 The Apache
Software Foundation. VERFILEDATEHI=0x0 VERFILEDATELO=0x0
VERFILEOS=0x4 VERFILETYPE=0x1 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x0 UPTO_BIN_FILE_VERSION=2.2.3.0
UPTO_BIN_PRODUCT_VERSION=2.2.3.0 LINK_DATE=07/27/2006 21:56:04
UPTO_LINK_DATE=07/27/2006 21:56:04 VER_LANGUAGE=#33521;#25991;
(#32654;#22283;) [0x409] /
MATCHING_FILE NAME=httpd.exe SIZE=20539 CHECKSUM=0xD7D57A47
BIN_FILE_VERSION=2.2.3.0 BIN_PRODUCT_VERSION=2.2.3.0
PRODUCT_VERSION=2.2.3 FILE_DESCRIPTION=Apache HTTP Server
COMPANY_NAME=Apache Software Foundation PRODUCT_NAME=Apache HTTP
Server FILE_VERSION=2.2.3 ORIGINAL_FILENAME=httpd.exe
INTERNAL_NAME=httpd.exe LEGAL_COPYRIGHT=Copyright 2006 The Apache
Software Foundation. VERFILEDATEHI=0x0 VERFILEDATELO=0x0
VERFILEOS=0x4 VERFILETYPE=0x1

#35486 [Bgs]: multiple definition of `all_args_by_ref`

2005-12-02 Thread jasonlamkk at gmail dot com
 ID:   35486
 User updated by:  jasonlamkk at gmail dot com
 Reported By:  jasonlamkk at gmail dot com
 Status:   Bogus
 Bug Type: Compile Failure
 Operating System: Redhat
 PHP Version:  5.1.1
 New Comment:

yet, there's still an error beyond my ability to fix
--
can't read /usr/lib/libxml2.la: No such file or directory
libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive
--
and find / -name libxml2\* didn't show libxml2.la

from the web, i heard many said:
libxml2.la have already been removed from libxml2!!

eg.
 AFAICT, we don't _ship_ a libxml2.la anywhere, not in the
libxml2-devel package, nor in the libxml2 package.
[from-https://www.redhat.com/archives/fedora-extras-list/2005-September/msg00952.html]


Previous Comments:


[2005-11-30 14:01:01] [EMAIL PROTECTED]

Try using correct configure options next time.
Passing '/lib' to any option does not work.




[2005-11-30 13:07:34] jasonlamkk at gmail dot com

Description:

there are many multiple definition of  occur when i compile
php-5.1.1
most of them related to pdo, 
ext/pdo/.libs/pdo_stmt.o(.data+0x178):/tmp/php-5.1.1/ext/pdo/pdo_stmt.c:214:
first defined here

i choose -without-pdo-sqlite and -without-pdo-sqlite2 
since they cause samiliar errors,

--enable-pdo=shared cause error too

Thanks and Regards

Reproduce code:
---
./configure --with-apxs \
--with-curl=/usr/lib/include/curl \
--with-freetype-dir=/usr/local/lib \
--with-gd \
--with-gettext \
--with-gmp \
--with-jpeg-dir=/usr/local/lib \
--with-java=/usr/java \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/lib,shared \
--with-readline=/usr/lib \
--with-pear \
--with-regex=php \
--with-xml \
--without-pdo-sqlite \
--without-pdo-sqlite2 \
--with-zlib \
--with-zip \
--with-openssl \

make 

Expected result:

complete 'make' as normal

Actual result:
--
...  -o libphp5.la
Zend/.libs/zend_builtin_functions.o(.data+0x0): In function
`zend_startup_builtin_functions':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:152:
multiple definition of `first_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x0):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:79:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x40): In function
`zif_func_num_args':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:169:
multiple definition of `second_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x40):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:135:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0xa0): In function
`zif_func_num_args':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:177:
multiple definition of `third_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0xa0):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:150:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x100): In function
`zif_func_get_arg':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:203:
multiple definition of `fourth_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x100):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:174:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x178): In function
`zif_func_get_arg':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:232:
multiple definition of `all_args_by_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x178):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:214:
first defined here
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1






-- 
Edit this bug report at http://bugs.php.net/?id=35486edit=1


#35486 [NEW]: multiple definition of `all_args_by_ref`

2005-11-30 Thread jasonlamkk at gmail dot com
From: jasonlamkk at gmail dot com
Operating system: Redhat
PHP version:  5.1.1
PHP Bug Type: Compile Failure
Bug description:  multiple definition of `all_args_by_ref`

Description:

there are many multiple definition of  occur when i compile
php-5.1.1
most of them related to pdo, 
ext/pdo/.libs/pdo_stmt.o(.data+0x178):/tmp/php-5.1.1/ext/pdo/pdo_stmt.c:214:
first defined here

i choose -without-pdo-sqlite and -without-pdo-sqlite2 
since they cause samiliar errors,

--enable-pdo=shared cause error too

Thanks and Regards

Reproduce code:
---
./configure --with-apxs \
--with-curl=/usr/lib/include/curl \
--with-freetype-dir=/usr/local/lib \
--with-gd \
--with-gettext \
--with-gmp \
--with-jpeg-dir=/usr/local/lib \
--with-java=/usr/java \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/lib,shared \
--with-readline=/usr/lib \
--with-pear \
--with-regex=php \
--with-xml \
--without-pdo-sqlite \
--without-pdo-sqlite2 \
--with-zlib \
--with-zip \
--with-openssl \

make 

Expected result:

complete 'make' as normal

Actual result:
--
...  -o libphp5.la
Zend/.libs/zend_builtin_functions.o(.data+0x0): In function
`zend_startup_builtin_functions':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:152:
multiple definition of `first_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x0):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:79:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x40): In function
`zif_func_num_args':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:169:
multiple definition of `second_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x40):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:135:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0xa0): In function
`zif_func_num_args':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:177:
multiple definition of `third_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0xa0):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:150:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x100): In function
`zif_func_get_arg':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:203:
multiple definition of `fourth_arg_force_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x100):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:174:
first defined here
Zend/.libs/zend_builtin_functions.o(.data+0x178): In function
`zif_func_get_arg':
/usr/local/directadmin/customapache/php-5.1.1/Zend/zend_builtin_functions.c:232:
multiple definition of `all_args_by_ref'
ext/pdo/.libs/pdo_stmt.o(.data+0x178):/usr/local/directadmin/customapache/php-5.1.1/ext/pdo/pdo_stmt.c:214:
first defined here
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1


-- 
Edit bug report at http://bugs.php.net/?id=35486edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35486r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35486r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35486r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35486r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=35486r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=35486r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=35486r=needscript
Try newer version:http://bugs.php.net/fix.php?id=35486r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=35486r=support
Expected behavior:http://bugs.php.net/fix.php?id=35486r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=35486r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=35486r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35486r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35486r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35486r=dst
IIS Stability:http://bugs.php.net/fix.php?id=35486r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=35486r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35486r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=35486r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=35486r=mysqlcfg