|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74832 Loading PHP extension with already registered function name leads to a crash
Submitted: 2017-06-29 18:21 UTC Modified: 2017-06-29 18:21 UTC
From: Assigned: jpauli (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 7.0.20 OS: *
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:
New email:
PHP Version: OS:


 [2017-06-29 18:21 UTC]
If you register an extension that declares a function name already in use (f.e reset()) , the engine crashes.

This is because the engine dlclose() the .so but forgets to remove the extension from the module_registry. Hence a crash when it comes to sort modules.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-29 18:21 UTC]
-Assigned To: +Assigned To: jpauli
 [2017-06-29 18:27 UTC]
Automatic comment on behalf of jpauli
Log: Fix bug #74832, crash in extension loading
 [2017-06-29 18:27 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 12:01:26 2019 UTC