#47604 [Opn->Bgs]: crashes on big MySQL function
| From: | jani@php.net | Date: | Wed, 11 Mar 2009 13:54:21 +0000 |
| Subject: | #47604 [Opn->Bgs]: crashes on big MySQL function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134601@lists.php.net to get a copy of this message | ||
ID: 47604
Updated by: jani@php.net
-Summary: Sgmentation Fault on big MySQL Funktion
Reported By: valkum at globalgameport dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Debian Etch
PHP Version: 5.2.9
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2009-03-10 23:14:44] valkum at globalgameport dot com
We could restrict the problem.
The Problem is not the MySQL Funktion. No its a specific field in this
database.
The Problem is taht a field with tags from a joomla installtion wont be
converted to utf8.
I think it is a problem with a link or html tags.
Maybe it isn't a mysql bug. It is a utf8-encode bug or should it be
right??
------------------------------------------------------------------------
[2009-03-09 14:23:05] kalle@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2009-03-09 12:53:45] valkum at globalgameport dot com
Description:
------------
When i run the php script with CLI i get a Segmentation Fault.
The code reads out a table and convert it from iso-8859 to utf-8
But on one table i get a Segmentation Fault.
The Database ist a Joomla 1.0.x Database with more then 100 records.
i test the Script on Debian Lenny but the Segmentation Fault is still
there.
Reproduce code:
---------------
A little bit changed version of
http://blog.dopefreshtight.de/artikel/von-iso-8859-1-zu-utf-8-in-php-und-mysql#convert
Expected result:
----------------
A converted MySql Database.
Actual result:
--------------
Segmentation Fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47604&edit=1