From: tony at unihost dot net
Operating system: Linux
PHP version: 5.0.0RC2
PHP Bug Type: *Compile Issues
Bug description: make install or make test segfault
Description:
------------
After a successful compile of RC2 (with a few warnings) running 'make
test' or make install segfaults with an 'Error 139'
Bear with me, I'm not really a coder, so I've tried to include any needed
information. I'll gladly provide any more if you need it. I've compiled
with --enable-debug and the backtrace in this report is from the core file
from 'make test'.
Like I said, I'm not sure how helpful this is. If you need more
information, I'll be happy to provide it. I couldn't find any other bugs
matching this in the DB.
Cheers
T.
Reproduce code:
---------------
I've compiled RC2 with the following config options...
./configure --prefix=/usr/local/php5 --with-mysql=/usr --with-pgsql
--enable-fastcgi --with-gd --with-openssl --with-ncurses \
--with-zlib --program-prefix=php5_ --enable-trans-sid --enable-sockets
--with-xslt --with-mcrypt --with-ldap \
--enable-magic-quotes --with-dom --with-bz2 --with-curl --with-pdflib
--with-cpdflib --with-snmp \
--enable-wddx --with-pdf --enable-gd-native-ttf --with-java
--with-xpm-dir=/usr/X11R6/lib \
--with-png-dir=/usr/lib --with-freetype-dir=/usr/lib
--with-jpeg-dir=/usr/lib --with-tiff-dir=/usr/lib \
--enable-bcmath --with-pear --enable-debug
Core was generated by `/home/tony/src/php-5.0.0RC2/sapi/cli/php -d
open_basedir= -d safe_mode=0 -d out'
Actual result:
--------------
Additionally, I've run the following command:
(gdb) bt
#0 0x4009e5eb in RSA_sign () from /usr/local/pgsql/lib/libpq.so.3
#1 0xbfffe250 in ?? ()
#2 0x4010e040 in md2_md () from /usr/local/pgsql/lib/libpq.so.3
#3 0x00000001 in ?? ()
#4 0x4009e5ac in RSA_sign () from /usr/local/pgsql/lib/libpq.so.3
#5 0x00000001 in ?? ()
#6 0x4065c000 in ?? ()
#7 0x4065c19c in ?? ()
#8 0xbfffe200 in ?? ()
#9 0x4000c6f1 in fixup (l=Variable "l" is not available.
) at dl-runtime.c:102
Previous frame inner to this frame (corrupt stack?)
Then followed by:
(gdb) frame 9
#9 0x4000c6f1 in fixup (l=Variable "l" is not available.
) at dl-runtime.c:102
102 dl-runtime.c: No such file or directory.
in dl-runtime.c
--
Edit bug report at http://bugs.php.net/?id=28297&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28297&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28297&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28297&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28297&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28297&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28297&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28297&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28297&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28297&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28297&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28297&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28297&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28297&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28297&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28297&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28297&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28297&r=float