ID: 39380
Updated by: [EMAIL PROTECTED]
Reported By: corinl at gmx dot de
-Status: Open
+Status: Assigned
Bug Type: Scripting Engine problem
Operating System: linux debian
PHP Version: 5.2.0
-Assigned To:
+Assigned To: andrei
Previous Comments:
------------------------------------------------------------------------
[2006-11-04 17:14:01] corinl at gmx dot de
Description:
------------
running the reproduce code crashes php 5.1.6 and 5.2.0 with a
segmentation fault.
--
(gdb) set args php_crash.php
(gdb) run
Starting program: /usr/bin/php php_crash.php
[Thread debugging using libthread_db enabled]
[New Thread -1486911808 (LWP 25359)]
ok1
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1486911808 (LWP 25359)]
0x080b167d in match (
eptr=0xa73d1542 "t; schwierig<br />\r\n>< seltsam ><
sensibel >< spontan >< stur >< tätowiert
>< treu >< unberechenbar <br />\r\n\r\n><
unentschlossen ><ungeduldig&"...,
ecode=0x880b9a8 ";", offset_top=2, md=0xaf9e2620, ims=4,
eptrb=0xaf1e8558,
flags=2, rdepth=6454)
at /usr/local/src/php-5.2.0/ext/pcre/pcrelib/pcre_exec.c:554
554 utf8 = md->utf8; /* Local copy of the flag */
(gdb)
Reproduce code:
---------------
http://www.netskin.de/download/php_crash.php.txt
Expected result:
----------------
ok1
ok2
Actual result:
--------------
ok1
-> crashes before echo('ok2')
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39380&edit=1