From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=AWL,RCVD_NUMERIC_HELO, SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id E4931BC0A for ; Thu, 1 Mar 2007 22:09:00 +0100 (CET) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l21L906N013532 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 1 Mar 2007 22:09:00 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HMsW8-0006tn-Jf for caml-list@inria.fr; Thu, 01 Mar 2007 22:08:49 +0100 Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Mar 2007 22:08:48 +0100 Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Mar 2007 22:08:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sam Steingold Subject: camlzip fails on a good (but large) file Date: Thu, 01 Mar 2007 16:08:26 -0500 Message-ID: <45E740CA.3050805@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 User-Agent: Thunderbird 1.5.0.8 (X11/20061107) Sender: news X-Miltered: at discorde with ID 45E740EC.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlzip:01 camlzip:01 mli:01 1.2:98 integer:01 exception:01 xleroy:01 exp:02 bytes:03 gnu:03 overflow:03 gzip:04 gzip:04 problem:05 fails:05 I have a large .gz file (2264083417 bytes) which "gzip -t" report is valid. trying to read it using camlzip results in Fatal error: exception Gzip.Error("bad magic number, not a gzip file") this is probably caused by integer overflow. camlzip we have came with godi: (* $Id: gzip.mli,v 1.2 2002/02/18 09:12:13 xleroy Exp $ *) is this a known problem? Sam