#37463 [NEW]: Segmenation fault when both MySQLi and SNMP are enabled

From: Date: Tue, 16 May 2006 17:55:26 +0000
Subject: #37463 [NEW]: Segmenation fault when both MySQLi and SNMP are enabled
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97192@lists.php.net to get a copy of this message
From:             subscription at nazarenko dot net
Operating system: Linux SuSE 10.1 
PHP version:      5CVS-2006-05-16 (snap)
PHP Bug Type:     MySQLi related
Bug description:  Segmenation fault when both MySQLi and SNMP are enabled

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 bug report at http://bugs.php.net/?id=37463&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37463&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37463&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37463&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37463&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=37463&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37463&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37463&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37463&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37463&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37463&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=37463&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=37463&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37463&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37463&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37463&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37463&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37463&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37463&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37463&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37463&r=mysqlcfg


Thread (10 messages)

« previous php.bugs (#97192) next »