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

From: Date: Tue, 16 May 2006 17:58:25 +0000
Subject: #37463 [Opn->Fbk]: Segmenation fault when both MySQLi and SNMP are enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97193@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:           Feedback
 Bug Type:         MySQLi related
 Operating System: Linux SuSE 10.1
 PHP Version:      5CVS-2006-05-16 (snap)
 New Comment:

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.




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

[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 (#97193) next »