#40817 [Opn->Fbk]: gettext crash with an old (from php5.1.4/netbsd3) .mo file
| From: | mike@php.net | Date: | Thu, 15 Mar 2007 12:35:32 +0000 |
| Subject: | #40817 [Opn->Fbk]: gettext crash with an old (from php5.1.4/netbsd3) .mo file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-110377@lists.php.net to get a copy of this message | ||
ID: 40817
Updated by: mike@php.net
Reported By: loic dot hoguin at diplomatie dot gouv dot fr
-Status: Open
+Status: Feedback
Bug Type: Gettext related
Operating System: NetBSD 4.0.2_BETA2
PHP Version: 5.2.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2007-03-15 11:08:04] loic dot hoguin at diplomatie dot gouv dot fr
Description:
------------
Apache child process crashed when using a messages.mo file which was
generated on november 2006. Rebuilding the file fixed the problem, so
maybe the file was malformed ; however, gettext should not crash the
process if the file is bad.
NetBSD 4.0_BETA2
Apache 2.0.59
PHP 5.2.1
It was on a fresh install on a new server.
The php.ini had just the extensions added and the error messages
display deactivated.
[PHP Modules]
ctype, curl, date, filter, gd, gettext, hash, libxml, mbstring, mysql,
openssl, pcre, pgsql, Reflection, session, SimpleXML, SPL, standard,
tokenizer, xml, xmlreader, xmlwriter, zlib
configure: --with-regex=system --without-mysql --without-sqlite
--without-iconv --disable-posix --disable-dom --disable-pdo
--disable-json --enable-xml
I also have a messages.mo which crash the process.
Expected result:
----------------
An error instead of a crash.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40817&edit=1