ID: 42776
Comment by: marianoklein at gmail dot com
Reported By: asmith at arcstone dot com
Status: No Feedback
Bug Type: MySQLi related
Operating System: CentOS 5
PHP Version: 5.2.4
New Comment:
I´ve experienced the same problem using mysqli and a longtext field.
Changing longtext to text solves the problem, but I can´t use just a
text field.
I´m sorry I can´t generate a backtrace
Previous Comments:
------------------------------------------------------------------------
[2007-10-08 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-09-30 12:37:50] [EMAIL PROTECTED]
you didn't provide the full backtrace. Please read the URL mentioned in
order to provide a useful backtrace. In addition, it would be great if
you could provide a sample script to allow us to reproduce the problem.
------------------------------------------------------------------------
[2007-09-27 17:10:50] asmith at arcstone dot com
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213928640 (LWP 24349)]
0xb77b6019 in zend_hash_find (ht=0x1c, arKey=0xbf959700 "closecursor",
nKeyLength=12, pData=0xb251f619)
at /home/brewbuilder/rpms/BUILD/php-5.2.4/Zend/zend_hash.c:878
878 /home/brewbuilder/rpms/BUILD/php-5.2.4/Zend/zend_hash.c: No
such file or directory.
in /home/brewbuilder/rpms/BUILD/php-5.2.4/Zend/zend_hash.c
------------------------------------------------------------------------
[2007-09-27 09:45:08] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
[2007-09-27 07:38:41] asmith at arcstone dot com
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 this bug report at http://bugs.php.net/?id=42776&edit=1