ID:               25620
 User updated by:  xris at farcaster dot net
 Reported By:      xris at farcaster dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         Gettext related
 Operating System: GNU/Linux 2.4.20
 PHP Version:      4.3.3
 New Comment:

> Could you try providing a short script that uses
> gettext functions which can be used to reproduce this..?

Sorry, i can't - the bug seems to occurr in larger scripts
only... (at least i wasn't able to reproduce in a small script)

I'd love to provide a backtrace, but all my efforts so far
haven't been very successful, neither by following the
steps here at bugs.php.net nor the description at the
apache.org site.

It doesn't matter if i try gdb or strace, both tools quit
with s.th. like: "ptrace: Operation not permitted"
Any hints on that? I googled for nearly an hour but couldn't
find a reason for gdb to fail with that err.
I tried gdb/apache with "-X -PHP4" as well as attaching to 
the apache process afterwards but i keep getting the 
mentioned ptrace error - or do i have to use Apache1.3 to
trace the problem? Any help is greatly appreciated.


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

[2003-09-22 07:32:58] [EMAIL PROTECTED]

And/or provide a backtrace of the crash (without --enable-debug, of
course as you said it happens only then)


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

[2003-09-22 07:30:27] [EMAIL PROTECTED]

Could you try providing a short script that uses gettext functions
which can be used to reproduce this..?


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

[2003-09-21 19:34:26] [EMAIL PROTECTED]

It should be a relatively simple fix.  I am about to get on a plane,
but I will have a look when I get a chance.  I have a feeling that now
that we think we know there is a string somewhere in gettext not
getting null-terminated someone will jump in and find it before me.

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

[2003-09-21 18:58:51] xris at farcaster dot net

Good guess. A 4.3.3 without Gettext doesn't show the symptoms.
How to proceed next? ... i wouldn't be too fond of the idea
having to reimplement _() in php ...

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

[2003-09-21 16:31:25] [EMAIL PROTECTED]

I doubt it is mysql.  Too many others would have hit it.
GD doesn't tend to work with strings very much outside of the font
stuff.  My initial guess is that it is a problem in the gettext
extension as that is the least used out of the ones you list.  Any
chance you could test without gettext() ?

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25620

-- 
Edit this bug report at http://bugs.php.net/?id=25620&edit=1

Reply via email to