|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78465 Segfault in MSHUTDOWN
Submitted: 2019-08-27 14:20 UTC Modified: 2021-01-24 17:17 UTC
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: Assigned:
Status: Open Package: gmagick (PECL)
PHP Version: 7.4.0beta4 OS: GNU/Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2019-08-27 14:20 UTC]
Exactly same issue than

Same workaround seems to work


	return SUCCESS;


gmagick-bug78465.patch (last revision 2020-02-19 10:17 UTC by

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-08-27 18:02 UTC]
Remi, you can't just add a random sleep to 'fix' bug.

*shuffles feet*

Hey, look over there, an eagle!

*exits room*
 [2020-02-19 10:17 UTC]
The following patch has been added/updated:

Patch Name: gmagick-bug78465.patch
Revision:   1582107421
 [2021-01-24 17:17 UTC]
I have looked at this a bit. It is happening on the dlclose(). You can also prevent the crash by setting ZEND_DONT_UNLOAD_MODULES=1 or most likely by compiling PHP itself using -fopenmp. Neither are good solutions though.

Hopefully we can find a real solution, otherwise maybe we add a check to see if PHP itself is compiled with openmp support and if it isn't do the ThreadsResource=1 thing.
 [2022-12-27 10:07 UTC] melindaetinw81 at gmail dot com
ok  for the information you shared. Loved the way you explained everything in this blog.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 13 04:01:28 2024 UTC