php.net |  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: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: remi@php.net Assigned:
Status: Open Package: gmagick (PECL)
PHP Version: 7.4.0beta4 OS: GNU/Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-08-27 14:20 UTC] remi@php.net
Description:
------------
Exactly same issue than https://github.com/Imagick/imagick/issues/295

Same workaround seems to work

PHP_MSHUTDOWN_FUNCTION(gmagick)
{
	DestroyMagick();
	usleep(4242);

	return SUCCESS;
}



Patches

gmagick-bug78465.patch (last revision 2020-02-19 10:17 UTC by remi@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-08-27 18:02 UTC] danack@php.net
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] remi@php.net
The following patch has been added/updated:

Patch Name: gmagick-bug78465.patch
Revision:   1582107421
URL:        https://bugs.php.net/patch-display.php?bug=78465&patch=gmagick-bug78465.patch&revision=1582107421
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Sep 24 16:01:24 2020 UTC