#36802 [Fbk->Asn]: Signal 11 with with mysqli_set_charset ()
ID: 36802
Updated by: georg@php.net
Reported By: mdalton at galaxytelecom dot net
-Status: Feedback
+Status: Assigned
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 5.1.2
-Assigned To:
+Assigned To: georg
Previous Comments:
------------------------------------------------------------------------
[2006-03-20 19:51:37] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
If you still can reproduce it with plain PHP, please provide gdb
backtrace (see http://bugs.php.net/bugs-generating-backtrace.php).
------------------------------------------------------------------------
[2006-03-20 19:49:08] mdalton at galaxytelecom dot net
Description:
------------
While trying to call set_charset method on a mysqli object php crashes
with a signal 11.
Situation tested on a stock ubuntu php + mysqli + mysql 5.0 setup, and
on a home rolled apache+hardened-php+mysql 5.0 system
Reproduce code:
---------------
<?php
$mysqli = mysqli_init ();
$mysqli->set_charset ( 'utf8' );
echo $mysqli->character_set_name ();
?>
Expected result:
----------------
script should echo 'utf8'
Actual result:
--------------
The apache child process bombs with a signal 11
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36802&edit=1
Thread (8 messages)