ID:               41148
 User updated by:  baco at infomaniak dot ch
 Reported By:      baco at infomaniak dot ch
-Status:           Bogus
+Status:           Open
 Bug Type:         PCRE related
 Operating System: Linux/Debian
 PHP Version:      4.4.6
 New Comment:

I can reproduce this bug with this code
please confirm if you can also on your version
of PHP 4.4.6.

Ok even this bug isn't in PHP and you know
there is an overflow inside last version PCRE 7.0
Why to you still use 7.0 in the official "stable" 
release of PHP 4.4.6 and not downgrade to 6.6 ?

cat <<'EOT' > bug_pcre.php
<?php

        $letexte="<br><br>";

    $cherche1 = array(
        /* 0 */     "/\n(----+|____+)/S",
        /* 1 */     "/\n-- */S",
        /* 2 */     "/\n- */S",
        /* 3 */     "/\n_ +/S",
        /* 4 */   "/(^|[^{])[{][{][{]/S",
        /* 5 */   "/[}][}][}]($|[^}])/S",
        /* 6 */     "/(( *)\n){2,}(<br[[:space:]]*\/?".">)?/S",
        /* 7 */     "/[{][{]/S",
        /* 8 */     "/[}][}]/S",
        /* 9 */     "/[{]/S",
        /* 10 */    "/[}]/S",
        /* 11 */    "/(<br[[:space:]]*\/?".">){2,}/S",
        /* 12 */    "/<p>([\n]*(<br[[:space:]]*\/?".">)*)*/S",
        /* 13 */    "/<quote>/S",
        /* 14 */    "/<\/quote>/S"
    );
    $remplace1 = array(
        /* 0 */     "\n\n$ligne_horizontale\n\n",
        /* 1 */     "\n<br />&mdash;&nbsp;",
        /* 2 */     "\n<br />$puce&nbsp;",
        /* 3 */     "\n<br />",
        /* 4 */     "\$1\n\n$debut_intertitre",
        /* 5 */     "$fin_intertitre\n\n\$1",
        /* 6 */     "<p>",
        /* 7 */     "<strong class=\"spip\">",
        /* 8 */     "</strong>",
        /* 9 */     "<i class=\"spip\">",
        /* 10 */    "</i>",
        /* 11 */    "<p>",
        /* 12 */    "<p>",
        /* 13 */    "<blockquote class=\"spip\"><p>",
        /* 14 */    "</blockquote><p>"
    );
    $letexte = preg_replace($cherche1, $remplace1, $letexte);
    $letexte = preg_replace("@^ <br />@S", "", $letexte);

        print $letexte;

?>
EOT

gdb /opt/php/bin/php
(gdb) set args bug_pcre.php
(gdb) run
Starting program: /opt/php/bin/php bug_pcre.php
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 1864)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1864)]
0x0809f3bb in match (eptr=0x894e787 "", 
ecode=0x894f1a7 "\026<\026b\026rH", offset_top=4,
    md=0xbfc6f530, ims=0, eptrb=0x0, flags=143978919, rdepth=1673)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:570
570    
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c: 
No such file or directory.
        
in /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c
(gdb) bt
#0  0x0809f3bb in match (eptr=0x894e787 "", 
ecode=0x894f1a7 "\026<\026b\026rH", offset_top=4,
    md=0xbfc6f530, ims=0, eptrb=0x0, flags=143978919, rdepth=1673)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:570
#1  0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f1a2 "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1673, rdepth=1672)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#2  0x080a1191 in match (eptr=0x894e787 "", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=0, rdepth=1671)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1071
#3  0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1671, rdepth=1670)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#4  0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1670, rdepth=1669)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#5  0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1668)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#6  0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1668, rdepth=1667)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#7  0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1667, rdepth=1666)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#8  0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1665)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#9  0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1665, rdepth=1664)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#10 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1664, rdepth=1663)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#11 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1662)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#12 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1662, rdepth=1661)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#13 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1661, rdepth=1660)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#14 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1659)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#15 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1659, rdepth=1658)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#16 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1658, rdepth=1657)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#17 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1656)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#18 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1656, rdepth=1655)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#19 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1655, rdepth=1654)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#20 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1653)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#21 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1653, rdepth=1652)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#22 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1652, rdepth=1651)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#23 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1650)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#24 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1650, rdepth=1649)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#25 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1649, rdepth=1648)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#26 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1647)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#27 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1647, rdepth=1646)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#28 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1646, rdepth=1645)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#29 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1644)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#30 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1644, rdepth=1643)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#31 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1643, rdepth=1642)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#32 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1641)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#33 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1641, rdepth=1640)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#34 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1640, rdepth=1639)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#35 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1638)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#36 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1638, rdepth=1637)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#37 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1637, rdepth=1636)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#38 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1635)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#39 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1635, rdepth=1634)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#40 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1634, rdepth=1633)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#41 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1632)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#42 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1632, rdepth=1631)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#43 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1631, rdepth=1630)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#44 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1629)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#45 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1629, rdepth=1628)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#46 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1628, rdepth=1627)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#47 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1626)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#48 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1626, rdepth=1625)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#49 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1625, rdepth=1624)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#50 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1623)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#51 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1623, rdepth=1622)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#52 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1622, rdepth=1621)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#53 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1620)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#54 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1620, rdepth=1619)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#55 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1619, rdepth=1618)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#56 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1617)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#57 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1617, rdepth=1616)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#58 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1616, rdepth=1615)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#59 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1614)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#60 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1614, rdepth=1613)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#61 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1613, rdepth=1612)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#62 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1611)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#63 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1611, rdepth=1610)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#64 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1610, rdepth=1609)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#65 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1608)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#66 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1608, rdepth=1607)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#67 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1607, rdepth=1606)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#68 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1605)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#69 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1605, rdepth=1604)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#70 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1604, rdepth=1603)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#71 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1602)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#72 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1602, rdepth=1601)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#73 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1601, rdepth=1600)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#74 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1599)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#75 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1599, rdepth=1598)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#76 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1598, rdepth=1597)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#77 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1596)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#78 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1596, rdepth=1595)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#79 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1595, rdepth=1594)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#80 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1593)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#81 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1593, rdepth=1592)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#82 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1592, rdepth=1591)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#83 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1590)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#84 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1590, rdepth=1589)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#85 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1589, rdepth=1588)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#86 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1587)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#87 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1587, rdepth=1586)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#88 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1586, rdepth=1585)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#89 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1584)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#90 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1584, rdepth=1583)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#91 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1583, rdepth=1582)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#92 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1581)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#93 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1581, rdepth=1580)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#94 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1580, rdepth=1579)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#95 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1578)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#96 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1578, rdepth=1577)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#97 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1577, rdepth=1576)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#98 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1575)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#99 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1575, rdepth=1574)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#100 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1574, rdepth=1573)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#101 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1572)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#102 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1572, rdepth=1571)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#103 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1571, rdepth=1570)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#104 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1569)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#105 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1569, rdepth=1568)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#106 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1568, rdepth=1567)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#107 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1566)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#108 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1566, rdepth=1565)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#109 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1565, rdepth=1564)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#110 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1563)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#111 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1563, rdepth=1562)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#112 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1562, rdepth=1561)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#113 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1560)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#114 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1560, rdepth=1559)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#115 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1559, rdepth=1558)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#116 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1557)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#117 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1557, rdepth=1556)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#118 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1556, rdepth=1555)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#119 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1554)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#120 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1554, rdepth=1553)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#121 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1553, rdepth=1552)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#122 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1551)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#123 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1551, rdepth=1550)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#124 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=1550, rdepth=1549)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#125 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=1548)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
...
#1657 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=17, rdepth=16)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#1658 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=15)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#1659 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=15, rdepth=14)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#1660 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=14, rdepth=13)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#1661 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=12)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#1662 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=12, rdepth=11)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#1663 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=11, rdepth=10)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#1664 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=9)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#1665 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=9, rdepth=8)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#1666 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=8, rdepth=7)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#1667 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=6)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#1668 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=6, rdepth=5)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#1669 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=5, rdepth=4)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#1670 0x080aab69 in match (eptr=0x894e787 "", ecode=0x894f1d6 "P", 
offset_top=4, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=143978906, rdepth=3)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1195
#1671 0x080a2893 in match (eptr=0x894e786 ">", ecode=0x894f1a1 "aY", 
offset_top=2, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=3, rdepth=2)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:2209
#1672 0x080ab088 in match (eptr=0x894e787 "", ecode=0x894f19a "Y", 
offset_top=2, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=2, rdepth=1)
    
at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:629
#1673 0x080a1191 in match (eptr=0x894e787 "", ecode=0x894f199 "aY", 
offset_top=2, md=0xbfc6f530,
    ims=0, eptrb=0x0, flags=0, rdepth=0)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:1071
#1674 0x080ac93b in php_pcre_exec (argument_re=0x894f168, 
extra_data=0xbfc6f530,
    subject=0x894e784 "<p>", length=3, start_offset=0, options=0, 
offsets=0x894eb8c, offsetcount=9)
    
at
/root/SOURCES/php4-debug/php-4.4.6/ext/pcre/pcrelib/pcre_exec.c:4084
#1675 0x080b2a36 in php_pcre_replace (regex=0x0, regex_len=35, 
subject=0x894e784 "<p>",
    subject_len=3, replace_val=0x894d5f4, is_callable_replace=0, 
result_len=0xbfc6f754, limit=-1)
    at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/php_pcre.c:877
#1676 0x080b3b63 in php_replace_in_subject (regex=0x894dff4, 
replace=0x894d96c, subject=0x23,
    result_len=0xbfc6f754, limit=-1, is_callable_replace=0 '\0')
    at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/php_pcre.c:1070
#1677 0x080b3fcd in preg_replace_impl (ht=143949204, 
return_value=0x894d92c, this_ptr=0x0,
    return_value_used=1, is_callable_replace=0 '\0')
    at /root/SOURCES/php4-debug/php-4.4.6/ext/pcre/php_pcre.c:1180
#1678 0x082b8281 in execute (op_array=0x894c694)
    at /root/SOURCES/php4-debug/php-4.4.6/Zend/zend_execute.c:1681
#1679 0x0829c934 in zend_execute_scripts (type=8, retval=0x0, 
file_count=3)
    at /root/SOURCES/php4-debug/php-4.4.6/Zend/zend.c:935
#1680 0x0825a80d in php_execute_script (primary_file=0xbfc720a0)
    at /root/SOURCES/php4-debug/php-4.4.6/main/main.c:1757
#1681 0x082bb828 in main (argc=2, argv=0xbfc72134)
    at /root/SOURCES/php4-debug/php-4.4.6/sapi/cli/php_cli.c:838


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

[2007-04-20 11:22:19] [EMAIL PROTECTED]

A stack overflow in PCRE is known problem, but PCRE bugs should be
reported to PCRE developers.
Please search the database before reporting.

And yes, you don't have to apply any patches in order to build PHP with
external PCRE.
Use --with-pcre-regex=DIR option to do that.

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

[2007-04-20 11:08:35] baco at infomaniak dot ch

Description:
------------
After upgrading PHP from 4.4.4 to 4.4.6 our customers using
SPIP, Joomla Mambot, etc. their websites display a blank page
or 500 due to a segfault of PHP.

I have backported PCRE from version 7.0 to 6.6 on PHP 4.4.6.
No more segfault of PHP and SPIP works as before.

http://www.infomaniak.ch/php4/php-4.4.6-downgrade_pcre.patch
http://www.infomaniak.ch/php4/

Best Regards,
Guy Baconniere <baco(A-T)infomaniak.ch>

REFERENCES
http://www.guiderdoni.net/Probleme-Spip-et-php-version-4-4-6.html
http://bugs.php.net/bug.php?id=41050


Reproduce code:
---------------
1. Compile PHP 4.4.6 without my patch
2. install any version of SPIP including 1.9.2 (http://www.spip.net)

N.B. Only 1.9.2a has a workaround see
http://trac.rezo.net/trac/spip/changeset/8844

I understand this maybe a bug in PCRE 7.0 (see bug #41050)
but why do you not downgrade to 6.6 until fixed so your last PHP 4.4.x
will be again more "stable" ?


Expected result:
----------------
SPIP working.

Actual result:
--------------
Blank page, HTTP 500, segfault of PHP.


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


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

Reply via email to