On 11 January 2011 13:55, Jakub Wilk <jw...@debian.org> wrote:
> retitle 609535 psiconv: magick/semaphore.c:526: LockSemaphoreInfo: Assertion
> `semaphore_info->signature == 0xabacadabUL' failed.
> tags 609535 - patch
> thanks
>
> Thanks for your bugreport! (I'm not maintainer of this package, but I'll
> comment anyway.)
>
>> --- psiconv-0.9.8/program/psiconv/magick-aux.c  2005-11-15
>> 15:08:21.000000000 +0000
>> +++ psiconv-0.9.8-rrt/program/psiconv/magick-aux.c      2011-01-10
>> 12:37:09.000000000 +0000
>> @@ -37,6 +37,7 @@
>> const MagickInfo * GetMagickFileList(void)
>> {
>>  ExceptionInfo exc;
>> +  InitializeMagick(NULL);
>>  GetExceptionInfo(&exc);
>>  OpenModules(&exc);
>>  return GetMagickInfo(NULL,&exc);
>
> This doesn't look good. GetMagickFileList is called in a loop and
> InitializeMagick is supposed to be run only once.

No it's not. GetMagickFileList is only called in the loop initializer,
and the loop is only run once.

> And in fact, after applying your patch, psiconv still crashes for me with
> the following traceback:

Are you sure you applied the patch and rebuilt correctly? The
traceback you give is identical with that obtained if the patch is not
applied.

-- 
http://rrt.sc3d.org



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to