Non-re-entrant code in signal handler
Jason Abernathy <[email protected]> Mon, 09 Dec 2013 14:01:06 -0800
| Newsgroups | gmane.comp.video.graphicsmagick.bugs |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============2148972977979956068==
Content-Type: multipart/alternative;
boundary="------------080203080300050703060702"
This is a multi-part message in MIME format.
--------------080203080300050703060702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I believe that non-re-entrant code is being executed within the
MagickSignalHandler function.
In particular, DestroyMagickInfo eventually calls free(), which is not
async-safe. This leads to a deadlock on my system (Ubuntu 12.04,
GraphicsMagick 1.3.12).
Cheers,
Jason
--------------080203080300050703060702
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I believe that non-re-entrant code is being executed within the
MagickSignalHandler function.<br>
<br>
In particular, DestroyMagickInfo eventually calls free(), which is
not async-safe. This leads to a deadlock on my system (Ubuntu 12.04,
GraphicsMagick 1.3.12).<br>
<br>
Cheers,<br>
Jason
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</body>
</html>
--------------080203080300050703060702--
--===============2148972977979956068==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
--===============2148972977979956068==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Graphicsmagick-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-bugs
--===============2148972977979956068==--