From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 687FD7EF21 for ; Fri, 20 Jun 2014 05:41:58 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of eliot@colba.net) identity=pra; client-ip=216.252.64.98; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="eliot@colba.net"; x-sender="eliot@colba.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of eliot@colba.net designates 216.252.64.98 as permitted sender) identity=mailfrom; client-ip=216.252.64.98; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="eliot@colba.net"; x-sender="eliot@colba.net"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@clement-iii.colba.net) identity=helo; client-ip=216.252.64.98; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="eliot@colba.net"; x-sender="postmaster@clement-iii.colba.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap0CAJ6so1PY/EBinGdsb2JhbABZhybAXgMCAYEMFg8BAQEBAQgLCQkUKIQEAQUjFUARJQIFFgsCAgkDAgECAT8GEwgBAYg+rWiGfpdkF4EqjVMWgmGBTAEDmkOXNg X-IPAS-Result: Ap0CAJ6so1PY/EBinGdsb2JhbABZhybAXgMCAYEMFg8BAQEBAQgLCQkUKIQEAQUjFUARJQIFFgsCAgkDAgECAT8GEwgBAYg+rWiGfpdkF4EqjVMWgmGBTAEDmkOXNg X-IronPort-AV: E=Sophos;i="5.01,511,1400018400"; d="scan'208";a="67984554" Received: from clement-iii.colba.net ([216.252.64.98]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Jun 2014 05:41:57 +0200 Received: from 117-79-252-216-dsl.colba.net ([216.252.79.117]) by clement-iii.colba.net ([216.252.64.98:25]/clement-2.6-4.7) with ESMTP id <26932-20140619234146-1527200e@clement-iii.colba.net> for ; Thu, 19 Jun 2014 23:41:48 -0400 Message-ID: <53A3AD7A.4040400@colba.net> Date: Thu, 19 Jun 2014 23:41:46 -0400 From: Eliot Handelman Reply-To: eliot@colba.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: caml-list@inria.fr References: <53A14140.2060502@cea.fr> <53A18CA3.7030402@cea.fr> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Clement-Version: 2.6-4.7 X-Clement-ID: <26932-20140619234146-1527200e> X-Clement-Virus-checker: ClamAV 0.97.8/19111/Wed Jun 18 19:49:15 2014 Subject: [Caml-list] mysterious cgi problem Hi list, We have a demo coming up on Monday of an ocaml based music analysis and generation system with a web component for music notation that, irritatingly, has stopped working. The interface is a CGI with an ocaml 4.01 executable. After several harrowing days I narrowed the problem down to the following situation: X, a basic system, runs fine in firefox/chrome/various linuxen X + module Y generates "Not_found" exceptions in the CGI merely by linking Y. Y is otherwise not invoked. Moreover, I'm unable to trap the exception in the CGI itself (ie, a try/with around the main function is somehow bypassed as the apache error long reports). So it would seem the that the code fails before the main function is executed. We were using ocamlnet, but I rolled my own cgi parser and reproduced the problem. Any suggestions? My next step would be to start rolling back the system, which is not pleasant. thanks, -- eliot