Search found 11 matches

by Armani
2009-03-22T13:43:28-07:00
Forum: Bugs
Topic: Missing locks in blob - race condition
Replies: 15
Views: 32016

Re: Missing locks in blob - race condition

Thanks!

I have tested it and it looks good :-) I will try more runs and will let you know if I encounter any problem.

~artur
by Armani
2009-03-22T12:38:34-07:00
Forum: Bugs
Topic: Missing locks in blob - race condition
Replies: 15
Views: 32016

Re: Missing locks in blob - race condition

I have done few more tests today and realized, that locks are not working in Magick++. In Magick++/lib/Magick++/Thread.h I could see a define HasPTHREADS that must be defined until pthread is used, but this isn't defined anywhere. My system has pthread library and is has been recognized by configure...
by Armani
2009-03-21T16:32:03-07:00
Forum: Bugs
Topic: Race condition in exception handling
Replies: 5
Views: 12254

Re: Race condition in exception handling

during my tests I git this helgrind output, that could belong to the assertion Ernst already reported. I think there is a lock missing in GetNextValueInLinkedList ==6135== Possible data race during write of size 4 at 0x6e8e9a0 by thread #21 ==6135== at 0x5F3A593: ResetLinkedListIterator (hashmap.c:1...
by Armani
2009-03-21T16:14:45-07:00
Forum: Bugs
Topic: Missing locks in blob - race condition
Replies: 15
Views: 32016

Re: Missing locks in blob - race condition

Could reproduce it again, now with corefile ;-) nearly the same as before: This thread asserted, and it's image pointer doesn't look good Thread 1 (process 6033): #0 0xffffe425 in __kernel_vsyscall () #1 0xf7a11db1 in raise () from /lib/libc.so.6 #2 0xf7a13668 in abort () from /lib/libc.so.6 #3 0xf7...
by Armani
2009-03-21T16:02:29-07:00
Forum: Bugs
Topic: Missing locks in blob - race condition
Replies: 15
Views: 32016

Re: Missing locks in blob - race condition

I could reproduce it even with scale:
magick/resize.c:2476: ScaleImage: Assertion `image->signature == 0xabacadabUL' failed.

unfortunately no core file was dumped
by Armani
2009-03-21T15:09:38-07:00
Forum: Bugs
Topic: Missing locks in blob - race condition
Replies: 15
Views: 32016

Re: Missing locks in blob - race condition

I cannot reproduce the race condition with helgrund again, but wenn running Ernst's program again and again in an endlessloop I was able to generate an assertion: Thread 1 (process 2537): #0 0xffffe425 in __kernel_vsyscall () #1 0xf79ffdb1 in raise () from /lib/libc.so.6 #2 0xf7a01668 in abort () fr...
by Armani
2009-03-21T14:50:16-07:00
Forum: Bugs
Topic: Missing locks in blob - race condition
Replies: 15
Views: 32016

Re: Missing locks in blob - race condition

Works fine! Neither my test application nor Ernst's crashes anymore. Thank you! But I could see multiple times following output with helgrind ==1780== Possible data race during read of size 4 at 0x6d60660 by thread #25 ==1780== at 0x5EBB2F8: GetVirtualPixelsFromNexus (cache.c:1736) ==1780== by 0x5EB...
by Armani
2009-03-21T13:40:58-07:00
Forum: Bugs
Topic: Missing locks in blob - race condition
Replies: 15
Views: 32016

Re: Missing locks in blob - race condition

Great! Thanks for the fast patch
by Armani
2009-03-21T03:21:12-07:00
Forum: Bugs
Topic: Missing locks in blob - race condition
Replies: 15
Views: 32016

Missing locks in blob - race condition

my multithreaded application often aborts with this assertion lt-test: magick/blob.c:3759: WriteBlob: Assertion `image->blob->type != UndefinedStream' failed. my test application just loads a jpeg file an starts threads that are doing all the same processing: zoom, modulate and despeckle the image, ...
by Armani
2007-10-02T03:50:31-07:00
Forum: Bugs
Topic: Casual segfaults
Replies: 1
Views: 6497

Casual segfaults

Hi, I'm running a server daemon written in c++ that is using MagickWand to rescale JPEG images or render watermarks on it. Some days ago I've updated imagemagick from version 6.3.3 to 6.3.5.10. Since this time my daemon segfaulted occasionally. After about 100 processed images the daemon crashes. It...
by Armani
2006-01-26T07:01:56-07:00
Forum: Users
Topic: Dital Negative problem - get thumbnail size only
Replies: 2
Views: 20733

DNG - Only Thumbnail size

hi, i got the same effect when working with DNG files. All I can get is a thumbnail size image out of my DNG files. (256px) Even identify tells me that it's only such a small picture. I'm using a Canon EOS 350D and converted the images with adobe's DNG converter version 3.3. You can download the ori...