[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247793: arts_init called twice



close 247793 1.4.2-4
thanks

On Fri, May 28, 2004 at 01:43:12PM +0100, Martin Orr wrote:
> reassign 247793 libartsc0
> retitle 247793 Seg fault when initialised twice
> thanks
> 
> This bug comes about because libsdl1.2debian-arts calls initialises arts
> twice, once to check if it's available and then again to use it.
> 
> The following simple test program segfaults during the second call to
> arts_init():
> #include <stdio.h>
> #include <artsc.h>
> 
> int main(void)
> {
>         int ret = arts_init();
>         printf("arts_init returned %d\n", ret);
>         arts_free();
>         ret = arts_init();
>         printf("arts_init returned %d\n", ret);
>         return 0;
> }

  this has been fixed (at least in libartsc0 1.4.2-4), I can't reproduce
it anymore.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: signature.asc
Description: Digital signature


Reply to: