BUG: Converting GIF to PNG fails with SIGSEGV
Jan Kandziora <[email protected]> Thu, 17 Jul 2008 14:22:25 +0200
| Newsgroups | gmane.comp.video.graphicsmagick.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I think I found another bug in GraphicsMagick. I tried 1.2.3 first, then
latest CVS.
$ strace gm convert pixel_black.gif a.png
...
access("/usr/local/lib/GraphicsMagick-1.3/modules-Q8/coders/png.la", R_OK)
= -1 ENOENT (No such file or directory)
access("/usr/local/lib/GraphicsMagick-1.3/modules-Q8/coders/png.la", R_OK)
= -1 ENOENT (No such file or directory)
open("a.png", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f87000
read(3, "", 4096) = 0
_llseek(3, 0, [0], SEEK_SET) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (2) ---
+++ killed by SIGSEGV +++
Process 14372 detached
$
Converting anything other than a GIF to PNG works, same with GIF to anything
other than PNG. Strange bug.
The attached GIF image made with GIMP demonstrates the bug. But it works with
other GIF images I have here, too.
Kind regards
Jan
--
If Bill Gates had a nickel for every time Windows crashed...
Oh wait, he does.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Graphicsmagick-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-bugs
pixel_black.gif
(image/gif, 43 B) - not displayed
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBIfzmBzGZqmZvWQdkRAkI3AJkBCic7jft4mQEtXEvYehmei+vGpwCfQ6u/ LGjEmS+hdclonVEqeToI168= =jaWK -----END PGP SIGNATURE-----