English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Segfault in caml_oldify_local_roots.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-08-31 (20:11)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Segfault in caml_oldify_local_roots.
On 8/31/06, David Brown <caml-list2@davidb.org> wrote:
> Turns out that if I'd read it more carefully, I should have realized that
> Gzip.close_out will also close the underlying handle.  Apparently calling
> close_out twice on the same handle messes things up enough to segfault the
> garbage collector.

This is a known bug which is fixed in the current CVS-release:


Normally, closing an already closed channel a second time should not
cause any problems.


Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com