#18963 [NEW]: Reproducable crash with simple string functions.
| From: | si at darkness dot nu | Date: | Mon, 19 Aug 2002 12:44:25 +0000 |
| Subject: | #18963 [NEW]: Reproducable crash with simple string functions. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-17174@lists.php.net to get a copy of this message | ||
From: si@darkness.nu
Operating system: IRIX64 6.5.16f IP25
PHP version: 4.2.2
PHP Bug Type: Reproducible crash
Bug description: Reproducable crash with simple string functions.
I submitted a problem a while ago, which we closed as we attributed it to a
bug inside imap c-client. The results of the crash being very similar to
this (often ending in _doprnt() in mdbm.c, indicating bad data being
passed into print functions). I'm now running into this again, this time
i'm not touching imap at all however, and the errors are appearing pretty
readily in the backtrace as a zend engine error specific to IRIX64 maybe?
#0 0x0fa7bd18 in _doprnt () at mdbm.c:1204
1204 mdbm.c: No such file or directory.
in mdbm.c
(gdb) bt
#0 0x0fa7bd18 in _doprnt () at mdbm.c:1204
#1 0x0faef350 in vsnprintf () at mq_open.c:220
#2 0x1006416c in php_error_cb (type=8,
error_filename=0x104e1150
"/u01/servers/test.darkness.nu/lang/en/lang_post.php", error_lineno=5,
format=0x7ffe07d0 "", args=0x7ffe10f0 "") at main.c:414
#3 0x100719e8 in zend_error (type=8,
format=0x102b1238 "Use of undefined constant %s - assumed '%s'")
at zend.c:682
#4 0x100e64f4 in execute (op_array=0x104e1050) at zend_execute.c:1958
#5 0x100e6f8c in execute (op_array=0x10597a68) at zend_execute.c:2141
#6 0x100e4c68 in execute (op_array=0x1054d2b0) at zend_execute.c:1638
#7 0x100e4c68 in execute (op_array=0x104dd1a8) at zend_execute.c:1638
#8 0x100e4c68 in execute (op_array=0x104d9588) at zend_execute.c:1638
#9 0x100e6f8c in execute (op_array=0x10437778) at zend_execute.c:2141
#10 0x10071bc0 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at zend.c:810
#11 0x10066944 in php_execute_script (primary_file=0x7fff2930) at
main.c:1381
#12 0x100dea34 in apache_php_module_main (r=0x7fff2930,
display_source_mode=2147428680) at sapi_apache.c:90
#13 0x10062e6c in php_restore_umask ()
#14 0x0fa3a6f4 in fopen64 () at aio.c:317
the first 15 lines of lang_post.en
<?php
$lang = array (
ibf_code_txt => "Roll your mouse over the button for more
information.<br>Hitting 'ALT' and 'c' closes current tag",
'unreg_namestuff' => "Unregistered User Info",
mod_options => "After posting...",
mod_close => "Close this topic",
mod_pin => "Pin this topic",
mod_nowt => "Don't pin or close",
'msg_no_title' => "You must enter a message title",
--
Edit bug report at http://bugs.php.net/?id=18963&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=18963&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=18963&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18963&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18963&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18963&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18963&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18963&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18963&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18963&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18963&r=globals