|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45948 [PATCH] dom extension segfaults because of another apache module
Submitted: 2008-08-29 15:51 UTC Modified: 2008-08-31 08:38 UTC
From: thomas dot jarosch at intra2net dot com Assigned:
Status: Wont fix Package: DOM XML related
PHP Version: 5.2.6 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: thomas dot jarosch at intra2net dot com
New email:
PHP Version: OS:


 [2008-08-29 15:51 UTC] thomas dot jarosch at intra2net dot com
Hello together,

like last time in bug #29599, another apache module is using
libxml2 and registering a global create/delete node callback.

Right now PHP crashes on our site while using the dom extension
because the callback still points to the other module. Guess libxml2
is to blame for providing -global- callbacks.

Attached patch makes sure everything is clean and shiny
when enter/leaving the request handled by PHP. The performance
impact should be close to nothing. Hope it's useful to someone else.

Link to patch:



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-29 15:52 UTC] thomas dot jarosch at intra2net dot com
The link somehow gets cropped by the bugtracker,
the filename is php-5.2.6-fix-libxmlpp-clash.patch
 [2008-08-30 17:05 UTC]
Please provide patches against HEAD, PHP_5_3 and PHP_5_2 branches.
 [2008-08-31 08:38 UTC]
You should report this to the author of the other module. They should 
fix their code and not be abusing the libxml2 globals like this.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 22:01:29 2024 UTC