CONVERT bug - converting text to .png fails

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: CONVERT bug - converting text to .png fails

Post by magick »

What exception message are you getting?

We just ran your script under Windows 8 with 32-bit ImageMagick 6.8.3-3 for 100,000 iterations and it completed without complaint. We ran it twice, once with test.txt with just a new line and once with the single letter 'a'. We also ran it for 100,000 iterations under Linux without fail.

For your system, we can think of two possibilities. One is that your Windows OS is returning spurious problems with certain system (e.g. malloc()) or I/O calls or there is a race condition. Either way, unless we can reproduce the problem, its very tough to fix. To see if its a race condition, add '-limit thread 1' to your convert.exe command line to make sure it only uses 1 thread. Does that help?
kfeina
Posts: 17
Joined: 2013-02-12T13:09:49-07:00
Authentication code: 6789

Re: CONVERT bug - converting text to .png fails

Post by kfeina »

Hello,

I have installed the version 6.8.3.3 (portable). Now, I can't get any exception message, but I can get the message:
@ error/convert.c/ConvertImageCommand/3068.
I use Windows7 (32 bits, sp1). I have tried the -limit thread 1, and this doesn't help. I also get the same error.

If I use --debug trace, no errors appear (at least I can't find them) and the program doesn't hang as before.

The strange thing here is that the image is always generated, even if you get the error
@ error/convert.c/ConvertImageCommand/3068.
.

If you know some test that I can do to find the problem, it will be welcome.

Thanks a lot for your help.
Post Reply