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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 622FC7EC6E for ; Wed, 18 Dec 2013 12:44:45 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of mshinwell@janestreet.com) identity=pra; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="mshinwell@janestreet.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of mshinwell@janestreet.com designates 38.105.200.229 as permitted sender) identity=mailfrom; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="mshinwell@janestreet.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@tot-dmz-mxout1.janestreet.com) identity=helo; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="postmaster@tot-dmz-mxout1.janestreet.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsIBAPyJsVImacjlnGdsb2JhbABZg0JVuGKBEh4OAQEBAQEGFgk8giUBAQEEQAEBNwEPCwsDCi4iEgEFARwGE4gEAwKkaosRhFIBBZUYEQaNGIF6B4Q2mBqBMI53GCmEVw X-IPAS-Result: AsIBAPyJsVImacjlnGdsb2JhbABZg0JVuGKBEh4OAQEBAQEGFgk8giUBAQEEQAEBNwEPCwsDCi4iEgEFARwGE4gEAwKkaosRhFIBBZUYEQaNGIF6B4Q2mBqBMI53GCmEVw X-IronPort-AV: E=Sophos;i="4.95,507,1384297200"; d="scan'208";a="49531071" Received: from mx5.janestreet.com (HELO tot-dmz-mxout1.janestreet.com) ([38.105.200.229]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Dec 2013 12:44:44 +0100 Received: from tot-oib-smtp1.delacy.com ([172.27.22.15] helo=tot-smtp) by tot-dmz-mxout1.janestreet.com with esmtp (Exim 4.76) (envelope-from ) id 1VtFYO-00016x-Va for caml-list@inria.fr; Wed, 18 Dec 2013 06:44:40 -0500 Received: from tot-dmz-mxgoog1.delacy.com ([172.27.224.14] helo=mxgoog2.janestreet.com) by tot-smtp with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VtFYO-0006f1-UI for caml-list@inria.fr; Wed, 18 Dec 2013 06:44:40 -0500 Received: from mail-vc0-f181.google.com ([209.85.220.181]) by mxgoog2.janestreet.com with esmtp (Exim 4.76) (envelope-from ) id 1VtFYO-0008Ms-R7 for caml-list@inria.fr; Wed, 18 Dec 2013 06:44:40 -0500 Received: by mail-vc0-f181.google.com with SMTP id ks9so4903821vcb.26 for ; Wed, 18 Dec 2013 03:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EdctQn9MONA2AWdkl/CO0Vp3Zzyejq2LQcvTCnUQdAQ=; b=zW6tGhny/SueP+WUME9BTaKv7PmLITof5D3nA3/pWGXim/sIbwvoPxqaUOBkYptVqs fm1hJyV04KFJcxd6uFHzlHJ8MiXMmEyh8tP0/f5lPC/7Ha8n3Or4vZ3EeLK5HhL1ObkQ 8MrH+efKNi3KpsPkJn7aMzqvjOAHv9CJkQA1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=EdctQn9MONA2AWdkl/CO0Vp3Zzyejq2LQcvTCnUQdAQ=; b=e/V0fUZvFGLnt6qgMru7P4XGLu4F4m4nChW/eptVNv3Qp1yO23CRPTBdCtW6S0H+Rk EZA93/QYj3eqfTcIWcBVceaDeRZkaAfPsvmvEamDpEDiD0rwvV+mhPZhQpmBxPF8XlkW Zs1v1TiSpc+SgKK37Wv/TFgyWX4Qgx1xgggCff7Z/DORm11RK7WhYbcHCUDOGZeAW4VT DYlymr5aGJJQzunIO+7PbkCS3PWjQuCvyIjfhZINdwsWw9prtc17uEI23VSsQ3AqLTMf 8aIDclj5SsLV87S5BrDa/eI741NkHtIpKpLYZSnpF1d2akB60x7uQPs4zqozuQ45eYf/ PK5Q== X-Gm-Message-State: ALoCoQmgdamAG6tF7EIIlj+B5AwJbHmL+CEew6jhxic/kViqjDHVZ/pJbP/3lTPY3wuWNPq3PcwNFRmE3NSxTko5yhFlvVqw2mKn3hXlg2OR2KEpYd/pBOjQn2WnarqUb0p3RcqkANosGBytsGsAWyD/bOAAxc8Y9g== X-Received: by 10.52.243.162 with SMTP id wz2mr57705vdc.54.1387367080709; Wed, 18 Dec 2013 03:44:40 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.52.243.162 with SMTP id wz2mr57699vdc.54.1387367080601; Wed, 18 Dec 2013 03:44:40 -0800 (PST) Received: by 10.58.147.33 with HTTP; Wed, 18 Dec 2013 03:44:40 -0800 (PST) In-Reply-To: <874n661y5e.fsf@golf.niidar.ru> References: <874n661y5e.fsf@golf.niidar.ru> Date: Wed, 18 Dec 2013 11:44:40 +0000 Message-ID: From: Mark Shinwell To: Ivan Gotovchits Cc: "caml-list@inria.fr" Content-Type: text/plain; charset=ISO-8859-1 X-Validation-by: mshinwell@janestreet.com Subject: Re: [Caml-list] Core breaks backtraces On 18 December 2013 06:17, Ivan Gotovchits wrote: > I've tried a fabulous core library and it broke my exceptions :) > All backtraces are now look like this > > backtrace: > Raised at file "map.ml", line 117, characters 16-25 > Called from file "lib/conv.ml", line 256, characters 19-50 > > Next, if I enable backtrace recording with OCAMLRUNPARAM environment > variable and compile a .d.byte version of my application than on an > exception occurrence core eats all my memory thus killing my machine. > > Any clues, what happens? > > P.S. removing Core.Std from project fixes all issues. > P.P.S. My application is rather large and uses lots of processes and > lwt, moreover it enables lwt backtracing via ocamlbuild plugin. > > P.P.P.S . By using core I mean just opening Core.Std in a an empty > module, this is enough to broke my system. Are you always building bytecode? Which version of the compiler, which operating system, and on which hardware platform? Does this happen when you compile for native code? I suggest you also try copying the contents of core/lib/std.ml into your empty module and bisecting to determine which of the Core modules causes the failure. Mark