#45943 [NEW]: php5-cgi crashes when changing gettext (*.mo) file
| From: | atomo64 at gmail dot com | Date: | Fri, 29 Aug 2008 01:11:16 +0000 |
| Subject: | #45943 [NEW]: php5-cgi crashes when changing gettext (*.mo) file | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-128512@lists.php.net to get a copy of this message | ||
From: atomo64 at gmail dot com
Operating system: Debian GNU/Linux
PHP version: 5.2.6
PHP Bug Type: Reproducible crash
Bug description: php5-cgi crashes when changing gettext (*.mo) file
Description:
------------
[This is http://bugs.debian.org/440775]
Whenever the templates/translations are changed and the .mo files
regenerated, PHP instances start to crash. Most likely they do not detect
file change and still treate it as old one. Restarting PHP solves this.
Actual result:
--------------
#0 0x00007fdf99718f81 in ?? () from /lib/libc.so.6
#1 0x00007fdf9971a0e6 in ?? () from /lib/libc.so.6
#2 0x00000000004c75b0 in zif_gettext (ht=17334608,
return_value=0x10877d8, return_value_ptr=0xe61230, this_ptr=0xffffffff,
return_value_used=-16843009)
at /tmp/buildd/php5-5.2.6/ext/gettext/gettext.c:192
#3 0x00007fdf9596f90d in ?? () from /usr/lib/php5/20060613/suhosin.so
#4 0x00000000006a0059 in zend_do_fcall_common_helper_SPEC
(execute_data=0x7fffa3f7e3e0) at
/tmp/buildd/php5-5.2.6/Zend/zend_vm_execute.h:202
#5 0x000000000068b8c4 in execute (op_array=0x1074d58) at
/tmp/buildd/php5-5.2.6/Zend/zend_vm_execute.h:92
#6 0x00007fdf9596fd96 in ?? () from /usr/lib/php5/20060613/suhosin.so
#7 0x0000000000667678 in zend_execute_scripts (type=32767, retval=0x0,
file_count=-1544034840) at /tmp/buildd/php5-5.2.6/Zend/zend.c:1215
#8 0x0000000000621fa8 in php_execute_script (primary_file=Cannot access
memory at address 0x8000a3f7d550
) at /tmp/buildd/php5-5.2.6/main/main.c:2026
#9 0x00000000006df7ed in main (argc=-1544016504, argv=0x7fffa3f80980) at
/tmp/buildd/php5-5.2.6/sapi/cgi/cgi_main.c:1927
(I know suhosin is there, but it is irrelevant as the bug report was
originally reported with a version of Debian's php5 package which was not
built with suhosin).
--
Edit bug report at http://bugs.php.net/?id=45943&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45943&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45943&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45943&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45943&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=45943&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45943&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45943&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45943&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45943&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45943&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=45943&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=45943&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45943&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45943&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45943&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45943&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45943&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45943&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45943&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45943&r=mysqlcfg