#41626 [Opn->Fbk]: child pid exit signal Illegal instruction
| From: | tony2001@php.net | Date: | Thu, 07 Jun 2007 14:38:11 +0000 |
| Subject: | #41626 [Opn->Fbk]: child pid exit signal Illegal instruction | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113549@lists.php.net to get a copy of this message | ||
ID: 41626
Updated by: tony2001@php.net
Reported By: ilya at qubis dot org
-Status: Open
+Status: Feedback
Bug Type: PCRE related
Operating System: FreeBSD 6.2
PHP Version: 5.2.3
New Comment:
>GNU gdb 6.1.1 [FreeBSD]
Try updating GDB.
Previous Comments:
------------------------------------------------------------------------
[2007-06-07 14:19:24] ilya at qubis dot org
Oops, man!
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX
I've decided use the way "If you can't get a core file:"
but:
[root@mars ~]# gdb /usr/local/sbin/httpd
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) run -X
Starting program: /usr/local/sbin/httpd -X
warning: Unable to get location for thread creation breakpoint: generic
error
[New LWP 100126]
[New Thread 0x80b0000 (LWP 100126)]
gdb in realloc(): error: pointer to wrong page
Abort trap: 6 (core dumped)
[root@mars ~]#
any suggections?
------------------------------------------------------------------------
[2007-06-07 13:14:23] tony2001@php.net
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.
The infamous PCRE stack overflow AGAIN?
Please tell me I'm wrong..
------------------------------------------------------------------------
[2007-06-07 13:12:41] ilya at qubis dot org
New info:
this bug is only for pcre 7.0
(PCRE Library Version 7.0 18-Dec-2006)
------------------------------------------------------------------------
[2007-06-07 13:08:55] ilya at qubis dot org
Description:
------------
preg_match on utf-8 string works fine from cli, but in apache
environment (mod_php5.so) silently falls with message in main
http-errorlog
Reproduce code:
---------------
script:
http://fizz.qubis.org/xj/test.php
source:
http://fizz.qubis.org/xj/test.phps
resource file:
http://fizz.qubis.org/xj/mail.xml
Expected result:
----------------
any warning, some output like
Array
(
[0] => <body>
...
Actual result:
--------------
blank screen
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41626&edit=1