#41179 [NoF->Opn]: Crash when script_encoding is set to Shift_JIS of SJIS-win

From: Date: Tue, 15 May 2007 05:58:04 +0000
Subject: #41179 [NoF->Opn]: Crash when script_encoding is set to Shift_JIS of SJIS-win
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-112641@lists.php.net to get a copy of this message
ID: 41179 User updated by: joe at asial dot co dot jp Reported By: joe at asial dot co dot jp -Status: No Feedback +Status: Open Bug Type: Scripting Engine problem Operating System: CentOS 4.4 PHP Version: 5.2.1 New Comment: I'm sorry for no feedback. I tried snapshot and php 5.2.2, but same error is occured. Previous Comments: ------------------------------------------------------------------------ [2007-05-02 01:00:01] 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-04-24 14:23:18] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2007-04-24 14:19:58] joe at asial dot co dot jp Description: ------------ If php is compiled with --enable-zend-multibyte and setting script_encoding to SJIS or Shift_JIS, some script crash the apache process. There is no error when running the same script by CLI PHP. Thank you. Reproduce code: --------------- <html> <head> <title>test</title> </head> <body> ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± ̧̨̪̪̫ƬƨƭƪƮ Ë߬ËߨËß­ËߪËß® hogehoge hogehoge aaa ›››Î¹Þιްu°° ²² ¢¢¢¢¢¢¢¢°°°°°¢¢¢¢°¢°¢°¢°¢°¢°¢°¢ ±²³´µ°¶·¸¹º°»¼½¾¿°š §¨©ª«¶Þ·Þ¸Þ¹ÞºÞ»Þ¼Þ½Þ¾Þ¿ÞÀÞÁÞÂÞÃÞÄÞÊÞËÞÌÞÍÞÎÞ¢ÊßËßÌßÍßÎߣůÇÈÉhogehoge </body></html> Expected result: ---------------- ‚ ‚¢‚¤‚¦‚¨‚©‚«‚­‚¯‚± ̧̨̪̪̫ƬƨƭƪƮ Ë߬ËߨËß­ËߪËß® hogehoge hogehoge aaa ›››Î¹Þιްu°° ²² ¢¢¢¢¢¢¢¢°°°°°¢¢¢¢°¢°¢°¢°¢°¢°¢°¢ ±²³´µ°¶·¸¹º°»¼½¾¿°š §¨©ª«¶Þ·Þ¸Þ¹ÞºÞ»Þ¼Þ½Þ¾Þ¿ÞÀÞÁÞÂÞÃÞÄÞÊÞËÞÌÞÍÞÎÞ¢ÊßËßÌßÍßÎߣůÇÈÉhogehoge Actual result: -------------- Segmentation fault. Apache error log ---- zend_mm_heap corrupted ---- or ---- [Tue Apr 24 22:53:07 2007] [notice] child pid 15135 exit signal Segmentation fault (11) ---- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41179&edit=1

« previous php.bugs (#112641) next »