php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15109 XML_ParserFree ()
Submitted: 2002-01-18 18:44 UTC Modified: 2002-02-07 17:20 UTC
From: seba at iq dot pl Assigned:
Status: Closed Package: XML related
PHP Version: 4.0CVS-2002-01-18 OS: Linux 2.2
Private report: No CVE-ID: None
 [2002-01-18 18:44 UTC] seba at iq dot pl
- php -------------------------------------------------------------
file: php4-200201180900.tar.gz
from: http://snaps.php.net/
md5: 23f60de56b75e49460bc2312c1a8ec6a
./configure --with-apxs=/usr/local/apache/bin/apxs --with-gd 
--with-mysql=/usr --with-zlib 
--with-config-file-path=/etc/apache/php --with-bcmath 
--with-dom=../libxml2-2.4.13/usr --enable-xslt 
--with-xslt-sablot=../Sablot-0.81/usr --with-expat-dir=/usr 
--enable-memory-limit --enable-debug
- expat -----------------------------------------------------------
file: expat-1.95.2-1.i686.rpm
form: 
http://sourceforge.net/project/showfiles.php?group_id=10127&release_id=45670
md5: eaba64de2b3beb1b957a9f76f3244b4c
- libxml ----------------------------------------------------------
file: libxml2-2.4.13.tar.gz
md5: df94fd00943a2bc8024517fb4db33553
./configure --enable-shared=no --prefix=usr
- sablotron ------------------------------------------------------
file: Sablot-0.81.tar.gz
from: http://www.gingerall.com/charlie/ga/xml/d_sab.xml
md5sum: 830c90d751d1bc9fe85e93013f03477c
./configure --enable-shared=no --prefix=usr
- backtree --------------------------------------------------------
# gdb /usr/local/apache/bin/httpd
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
__libc_free (mem=0x2) at malloc.c:3005
3005    malloc.c: No such file or directory.
(gdb) bt
#0  __libc_free (mem=0x2) at malloc.c:3005
#1  0x809bf24 in hashTableDestroy ()
#2  0x809aef8 in dtdDestroy ()
#3  0x8095404 in XML_ParserFree ()
#4  0x838614 in ?? () from /usr/local/apache/libexec/libphp4.so
#5  0x847c77 in ?? () from /usr/local/apache/libexec/libphp4.so
#6  0x83c3c6 in ?? () from /usr/local/apache/libexec/libphp4.so
#7  0x83c824 in ?? () from /usr/local/apache/libexec/libphp4.so
#8  0x83af48 in ?? () from /usr/local/apache/libexec/libphp4.so
#9  0x83f3ea in ?? () from /usr/local/apache/libexec/libphp4.so
#10 0x817d37 in ?? () from /usr/local/apache/libexec/libphp4.so
#11 0x74a9f4 in ?? () from /usr/local/apache/libexec/libphp4.so
#12 0x74ac82 in ?? () from /usr/local/apache/libexec/libphp4.so
#13 0x74ac82 in ?? () from /usr/local/apache/libexec/libphp4.so
#14 0x75d25b in ?? () from /usr/local/apache/libexec/libphp4.so
#15 0x76f902 in ?? () from /usr/local/apache/libexec/libphp4.so
#16 0x76a59e in ?? () from /usr/local/apache/libexec/libphp4.so
#17 0x76b3e0 in ?? () from /usr/local/apache/libexec/libphp4.so
#18 0x76b45c in ?? () from /usr/local/apache/libexec/libphp4.so
#19 0x806c9d3 in ap_invoke_handler ()
#20 0x807ff09 in process_request_internal ()
#21 0x807ff6c in ap_process_request ()
#22 0x807780e in child_main ()
#23 0x807799c in make_child ()
#24 0x8077af9 in startup_children ()
#25 0x8078126 in standalone_main ()
#26 0x80788b3 in main ()
#27 0x1c99cb in __libc_start_main (main=0x807856c <main>, 
argc=2, argv=0xbffffb94,
---Type <return> to continue, or q <return> to quit---
    init=0x804ec6c <_init>, fini=0x80ac88c <_fini>, 
rtld_fini=0x11aea0 <_dl_fini>,
    stack_end=0xbffffb8c) at ../sysdeps/generic/libc-start.c:92
(gdb) frame 3
#3  0x8095404 in XML_ParserFree ()
(gdb)
-------------------------------------------------------------------


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-20 18:38 UTC] seba at iq dot pl
"... Use the same expat for sablotron and apache ..."

closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC