ID:               28297
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tony at unihost dot net
-Status:           Open
+Status:           Closed
 Bug Type:         *Compile Issues
 Operating System: Linux
 PHP Version:      5.0.0RC2


Previous Comments:
------------------------------------------------------------------------

[2004-05-17 11:54:00] tony at unihost dot net

After much playing around, adding debugging to the PostgreSQL libs
showed nothing of interest, however disabling SNMP support allowed
error free compile and segfault free test and install.  I've had
problems with SNMP in PHP for as long as I can remember.  

So although I have no valid technical feedback, I suggest the issue is
with SNMP code in PHP since this is the only change from the previous
segfaulting compile.  Whether you wish investigate further or simply
close this one down is your call.

Cheers

T.

------------------------------------------------------------------------

[2004-05-06 19:28:23] [EMAIL PROTECTED]

I'm pretty sure it is the postgresql libs crashing. Remove --with-pgsql
and try again.
You can remove --with-java too, it's not distributed with the man PHP
distribution anymore.

If it still happends without postgresql support, reopen this report.

I'm pretty sure it's the postgresql libs crashing. Recompile postgresql
with debugging turned on and submit a bug report to them or your
distribution vendor.

------------------------------------------------------------------------

[2004-05-06 13:55:32] tony at unihost dot net

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 this bug report at http://bugs.php.net/?id=28297&edit=1

Reply via email to