ID:               40817
 User updated by:  loic dot hoguin at diplomatie dot gouv dot fr
 Reported By:      loic dot hoguin at diplomatie dot gouv dot fr
-Status:           Feedback
+Status:           Open
 Bug Type:         Gettext related
 Operating System: NetBSD 4.0.2_BETA2
 PHP Version:      5.2.1
 New Comment:

Here's the backtrace. Sorry I can't activate the debug mode right now.

(gdb) bt
#0  0x00007f7ffc6af381 in _citrus_memory_stream_getln ()
   from /usr/lib/libc.so.12
#1  0x00007f7ffb1058f0 in _gettext_parse_plural () from
/usr/lib/libintl.so.0
#2  0x00007f7ffb1046b6 in dcngettext () from /usr/lib/libintl.so.0
#3  0x00007f7ffa701630 in zif_gettext ()
   from /usr/pkg/lib/php/20040412/gettext.so

Tell me if you need something else.


Previous Comments:
------------------------------------------------------------------------

[2007-03-15 12:35:31] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[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

Reply via email to