Bug #61143 [Fbk]: XML Parser segfaults on large xml
| From: | pajoye@php.net | Date: | Thu, 15 Mar 2012 15:40:55 +0000 |
| Subject: | Bug #61143 [Fbk]: XML Parser segfaults on large xml | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168502@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61143&edit=1
ID: 61143
Updated by: pajoye@php.net
Reported by: seth dot mos at dds dot nl
Summary: XML Parser segfaults on large xml
Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: FreeBSD 8.3
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
I mean a backtrace without suhosin (be the ext or the patch) but using a plain
vanilla php.
#2 0x0000000804db9965 in zif_suhosin_extract ... at
/usr/ports/lang/php5/work/php-5.3.10/Zend/zend_hash.c:54
sounds suspect.
Previous Comments:
------------------------------------------------------------------------
[2012-03-15 15:38:56] pajoye@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.
------------------------------------------------------------------------
[2012-03-15 13:17:08] seth dot mos at dds dot nl
Added link to the backtrace with Suhosin enabled. Also notified the Suhosin
maintainer with this backtrace.
------------------------------------------------------------------------
[2012-03-15 13:15:22] seth dot mos at dds dot nl
Hi,
Please find a full backtrace of the Segfault here.
http://redmine.pfsense.org/attachments/download/557/php-gdb-full.txt
Kind regards,
Seth
------------------------------------------------------------------------
[2012-03-13 13:25:18] seth dot mos at dds dot nl
I managed to get a core file and the output from truss.
This is from a PHP with Suhosin, without Suhosin PHP does not core dump
http://iserv.nl/files/pfsense/phpcore/
Not sure if that is enough.
------------------------------------------------------------------------
[2012-02-27 19:16:15] seth dot mos at dds dot nl
Just confirmed that disabling the Suhosin extension in our PHP 5.3.10 build succesfully resolves the
crash.
We will take this up with the Suhosin maintainers.
Kind regards,
------------------------------------------------------------------------
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=61143
--
Edit this bug report at https://bugs.php.net/bug.php?id=61143&edit=1