From:             Joerg dot Dieter dot Friedrich at uni-konstanz dot de
Operating system: Solaris 9
PHP version:      4.3.4
PHP Bug Type:     ICONV related
Bug description:  Segfault witch iconv enabled

Description:
------------
Hi!

I tried to use php 4.3.4 with iconv support but it always segfaults when
iconv is enabled.

Btw. I wanted to use sun's iconv but gnu iconv had the same  result.

I tried to compiled php with --enable-debug which stoped this way:
gcc -I/usr/include -Iext/iconv/ -I/usr/local/src/php-4.3.4/ext/iconv/
-DPHP_ATOM_INC -I/usr/local/src/php-4.3.4/include
-I/usr/local/src/php-4.3.4/main -I/usr/local/src/php-4.3.4
-I/usr/local/src/php-4.3.4/Zend -I/usr/local/ssl/include
-I/usr/local/include/libxml2 -I/usr/sfw/include
-I/usr/local/src/imap-2002e/c-client -I/usr/local/include
-I/opt/mysql/include/mysql -I/usr/local/src/php-4.3.4/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -I/usr/local/src/php-4.3.4/TSRM -g -Wall
-pedantic -c /usr/local/src/php-4.3.4/ext/iconv/iconv.c    -fPIC -DPIC -o
ext/iconv/iconv.lo
In file included from /usr/local/src/php-4.3.4/ext/iconv/iconv.c:40:
/usr/include/iconv.h:8: warning: ignoring #pragma ident
/usr/local/src/php-4.3.4/ext/iconv/iconv.c: In function
`zm_startup_miconv':
/usr/local/src/php-4.3.4/ext/iconv/iconv.c:129: error: `_libiconv_version'
undeclared (first use in this function)
/usr/local/src/php-4.3.4/ext/iconv/iconv.c:129: error: (Each undeclared
identifier is reported only once
/usr/local/src/php-4.3.4/ext/iconv/iconv.c:129: error: for each function
it appears in.)
/usr/local/src/php-4.3.4/ext/iconv/iconv.c: In function
`php_iconv_string':
/usr/local/src/php-4.3.4/ext/iconv/iconv.c:272: warning: passing arg 2 of
`iconv' from incompatible pointer type
make: *** [ext/iconv/iconv.lo] Error 1



-- 
Edit bug report at http://bugs.php.net/?id=26264&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26264&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26264&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26264&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26264&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26264&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26264&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26264&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26264&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26264&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26264&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26264&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26264&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26264&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26264&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26264&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26264&r=float

Reply via email to