[Ecls-list] Fwd: bt of a hard-to-reproduce SEGV during LOAF-AS-FASL

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Mon May 26 19:39:31 UTC 2008


On Mon, May 26, 2008 at 6:09 PM, Samium Gromoff
<_deepfire at feelingofgreen.ru> wrote:
> Good evening,
>
> here's a fix for the aforementioned SEGV, basically preventing
> mutilation of the cblock by the error reporting path, before it's
> properly dealt with.
>
> diff --git a/src/c/ffi.d b/src/c/ffi.d
> --- a/src/c/ffi.d
> +++ b/src/c/ffi.d
> @@ -434,8 +434,8 @@ si_load_foreign_module(cl_object filename)
>        output = ecl_library_open(filename, 0);
>        if (output->cblock.handle == NULL)
>        {
> -               output = ecl_library_error(output);
>                ecl_library_close(output);
> +               output = ecl_library_error(output);
>        }
>  OUTPUT:
>  #ifdef ECL_THREADS

Thanks a lot. I will commit this as soon as the new CVS repository comes online.

Juanjo

--
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list