#37463 [Opn->Bgs]: Segmenation fault when both MySQLi and SNMP are enabled

From: Date: Tue, 16 May 2006 18:27:31 +0000
Subject: #37463 [Opn->Bgs]: Segmenation fault when both MySQLi and SNMP are enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97195@lists.php.net to get a copy of this message
 ID:               37463
 Updated by:       tony2001@php.net
 Reported By:      subscription at nazarenko dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQLi related
 Operating System: Linux SuSE 10.1
 PHP Version:      5CVS-2006-05-16 (snap)
 New Comment:

Yes. Looks like snmp and mysql were compiled with two different openssl
libraries.
Anyway this is not PHP problem, it's caused by a mess in your system.


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

[2006-05-16 18:08:26] subscription at nazarenko dot net

Is this of any help?


#0  0x6568746f in ?? ()
#1  0xb7d0ebec in EVP_DigestInit_ex () from
/usr/lib/libcrypto.so.0.9.8
#2  0xbfcd3204 in ?? ()
#3  0xb7d7bb4c in CAST_S_table7 () from /usr/lib/libcrypto.so.0.9.8
#4  0x000000ca in ?? ()
#5  0x00000001 in ?? ()
#6  0x00000000 in ?? ()

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

[2006-05-16 17:58:25] tony2001@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



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

[2006-05-16 17:55:26] subscription at nazarenko dot net

Description:
------------
Trying to compile PHP CLI module with MySQL and SNMP support.
When both are enabled php CLI SAPI gives segfault.
When only one of them is enabled then everything looks normal.

The libraries versions are as follows:

MySQL 5.0.21
Net-SNMP 5.3.0.1
zlib 1.2.3

Reproduce code:
---------------
./configure --disable-all --with-mysqli --with-zlib

sapi/cli/php -i  produces normal output:
MysqlI Support => enabled
Client API library version => 5.0.21
Client API header version => 5.0.21


./configure --disable-all --with-snmp

sapi/cli/php -i  produces normal output:
NET-SNMP Support => enabled
NET-SNMP Version => 5.3.0.1





Actual result:
--------------
./configure --disable-all --with-snmp --with-mysqli --with-zlib

sapi/cli/php produces *Segfault*


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


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


Thread (10 messages)

« previous php.bugs (#97195) next »