On Wed, Mar 19, 2008 at 11:58 AM, Berger, Daniel
<[EMAIL PROTECTED]> wrote:
>
>
> Here's the code in question from zlib.c:
>
> static void
> gzfile_free(gz)
> struct gzfile *gz;
> {
> struct zstream *z = &gz->z;
>
> if (ZSTREAM_IS_READY(z)) {
> if (z->func == &deflate_funcs) {
> finalizer_warn("Zlib::GzipWriter object must be closed
> explicitly.");
> }
> zstream_finalize(z);
> }
> free(gz);
> }
>
> static void
> finalizer_warn(msg)
> const char *msg;
> {
> fprintf(stderr, "zlib(finalizer): %s\n", msg);
> }
>
> static void
> zstream_finalize(z)
> struct zstream *z;
> {
> int err = z->func->end(&z->stream);
> if (err == Z_STREAM_ERROR)
> finalizer_warn("the stream state was inconsistent.");
> if (err == Z_DATA_ERROR)
> finalizer_warn("the stream was freed prematurely.");
> }
>
> Nothing jumps out at me at the moment. Anyone else?
>
That warning is shown before but is not related to the segmentation
fault, at least, not directly. I'll try to debug it later today to see
what is happening down there :-P
Thank you for your time.
--
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers