|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
35 + 13 = ?
Subscribe to this entry?

 [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-2020 The PHP Group
All rights reserved.
Last updated: Wed Jan 29 20:01:24 2020 UTC