Bug #61143 [Fbk->Csd]: XML Parser segfaults on large xml
| From: | seth dot mos at dds dot nl | Date: | Sat, 31 Mar 2012 11:18:01 +0000 |
| Subject: | Bug #61143 [Fbk->Csd]: XML Parser segfaults on large xml | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-169095@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
User updated by: seth dot mos at dds dot nl
Reported by: seth dot mos at dds dot nl
Summary: XML Parser segfaults on large xml
-Status: Feedback
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: FreeBSD 8.3
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Core dump was related to a out of date Suhosin patch for the PHP5 port in FreeBSD
Previous Comments:
------------------------------------------------------------------------
[2012-03-15 15:40:55] pajoye@php.net
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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