From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id HAA26485; Thu, 6 Jun 2002 07:26:14 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id HAA26492 for ; Thu, 6 Jun 2002 07:26:14 +0200 (MET DST) Received: from maila.telia.com (maila.telia.com [194.22.194.231]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g565QD127128 for ; Thu, 6 Jun 2002 07:26:13 +0200 (MET DST) Received: from d1o960.telia.com (d1o960.telia.com [195.252.60.241]) by maila.telia.com (8.11.6/8.11.6) with ESMTP id g565QCa20363 for ; Thu, 6 Jun 2002 07:26:12 +0200 (CEST) Received: from [195.252.60.79] (t1o960p79.telia.com [195.252.60.79]) by d1o960.telia.com (8.8.8/8.8.8) with ESMTP id HAA29916 for ; Thu, 6 Jun 2002 07:26:11 +0200 (CEST) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Thu, 06 Jun 2002 07:30:25 +0200 Subject: [Caml-list] signal handling problem From: Winfried Dreckmann To: =?ISO-8859-1?B?gA==?= caml list Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi everyone, I have a rather complicated program which uses the C interface a lot, with lots of allocations from both Ocaml and C code. The program runs fine in byte code and native code, but the native version breaks down as soon as I add a trivial signal handler with a Unix timer: let _ = Sys.set_signal Sys.sigalrm (Sys.Signal_handle (fun s -> ())) let _ = Unix.setitimer Unix.ITIMER_REAL { Unix.it_interval = 0.25; Unix.it_value = 0.25 } I cannot locate the problem, nor reproduce the problem with a simpler program. I am running a rather old version of Linux (Suse 6.4, kernel 2.2.14) on PowerPC. Are there known issues with signal handling and old Linux on PowerPC? Should I upgrade and try again, or file a big and unspecific bug report now? Winfried Dreckmann ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners