Bug #63096 [Com]: Crash when run cli script
| From: | pracanowo at gmail dot com | Date: | Mon, 17 Sep 2012 13:34:39 +0000 |
| Subject: | Bug #63096 [Com]: Crash when run cli script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173498@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63096&edit=1
ID: 63096
Comment by: pracanowo at gmail dot com
Reported by: pracanowo at gmail dot com
Summary: Crash when run cli script
Status: Feedback
Type: Bug
Package: *General Issues
Operating System: win xp sp3
PHP Version: 5.4.7
Block user comment: N
Private report: N
New Comment:
I seriously hope that you are not parsing HTML using pcre
Yes, i do it gently :)
This is not annoying buq i create some fixes so for me its no problemo
Previous Comments:
------------------------------------------------------------------------
[2012-09-17 13:13:17] pajoye@php.net
ok, as you mentioned that you pcre, I seriously hope that you are not parsing HTML using pcre.
That's the best to end in a stack overflow crash with PCRE.
Use tidy or DOM instead.
Alternatively you can increase the stack size of the php.exe (using editbin.exe).
------------------------------------------------------------------------
[2012-09-17 11:45:04] pracanowo at gmail dot com
ok i find it str_get_html() from "PHP Simple HTML DOM Parser".
Now i need only save bugy html
------------------------------------------------------------------------
[2012-09-17 10:28:32] pajoye@php.net
First of all, please post a clean backtrace.
See https://bugs.php.net/bugs-generating-backtrace-win32.php
------------------------------------------------------------------------
[2012-09-16 01:31:01] reeze@php.net
Could you please try to get a reproducible test script ?
if possible it would be much easier to spot.
------------------------------------------------------------------------
[2012-09-15 20:48:36] pracanowo at gmail dot com
Error are somtimes random, script parse lot of data [ so i think is preg ], on Monday i will be able
to reproduce error, now all sessio that my script need handle are finish. I need also create some
markers in my code. Now i install Xdebug. I remember in 5.3 whose the same now i update to 5.4.7
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=63096
--
Edit this bug report at https://bugs.php.net/bug.php?id=63096&edit=1