From:             asmith at arcstone dot com
Operating system: CentOS 5
PHP version:      5.2.4
PHP Bug Type:     MySQLi related
Bug description:  zend_mm_handler corrupted using mysqli, longtext

Description:
------------
Running with Zend Framework, MySQLi, connecting to database on seperate
dedicated server, CentOS 5, PHP 5.2.4 build from utterramblings repository.
I thought it was my problem or Zend Framework's problem until I changed the
field type from longtext to text.

Reproduce code:
---------------
create mysql table with longtext field full of anything
connect to table using mysqli
select from that table

Expected result:
----------------
the text from the database

Actual result:
--------------
script execution stops, and the following appears in the apache error log

[Thu Sep 27 03:04:56 2007] [error] [client 209.98.251.245] PHP Warning: 
Invalid argument supplied for foreach() in
/www/wonderfile/lib/vendor/Zend/Db/Statement/Mysqli.php on line 221,
referer: http://library.wonderfile.net/library/files/upload
zend_mm_heap corrupted
[Thu Sep 27 03:14:26 2007] [notice] child pid 7554 exit signal
Segmentation fault (11)

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

Reply via email to