SplayTree / multithreaded troubles

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.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You did not mention which version of ImageMagick you are using. ImageMagick 6.2.6 has a patch to the thread locking code that might fix the problem you are having. If you are running ImageMagick 6.2.6, let us know and we will investigate further. It would be helpful to have a small code snippet we could use to reproduce the problem.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You probably can grab ImageMagick-6.2.6/magick/semaphore.c and replace it in 6.2.5. Let us know if it fixes the problem.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

The ImageMagick developers have applied your suggestions against the current development branch. They will be available in ImageMagick 6.2.6-2 when its released in a few weeks. Thanks for the problem report and suggested fixes.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You of course are right. The patch we applied as you suggested was incomplete. We will have an additional patch in ImageMagick 6.2.8-5 Beta by tommorrow to fix the problem. Thanks for the problem report.
Post Reply