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 F1CA77EEF8 for ; Fri, 17 Jul 2015 20:50:49 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of kennethadammiller@gmail.com) identity=pra; client-ip=209.85.214.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of kennethadammiller@gmail.com designates 209.85.214.172 as permitted sender) identity=mailfrom; client-ip=209.85.214.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="kennethadammiller@gmail.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@mail-ob0-f172.google.com) identity=helo; client-ip=209.85.214.172; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="kennethadammiller@gmail.com"; x-sender="postmaster@mail-ob0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AvAgApTqlVm6zWVdFagkZsNVoPBoMduBaCJIV7AoFCB0wBAQEBAQESAQEBAQEGCwsJIS6EJAEBAwESER0BGxcGAQMBCwYFBAc3AgIhAQERAQUBHAYTCBqHdgEDCggNrFuBLD4xiz+BbIJ5iyYKGScNV4RXAQEBAQEBBAEBAQEBAQEVAQUOiz6CTYFnAQFQB4JogUMFlEyKOIFngUOQGYNGghcSI4EVEQaCHByBbyIxAQGBC4E+AQEB X-IPAS-Result: A0AvAgApTqlVm6zWVdFagkZsNVoPBoMduBaCJIV7AoFCB0wBAQEBAQESAQEBAQEGCwsJIS6EJAEBAwESER0BGxcGAQMBCwYFBAc3AgIhAQERAQUBHAYTCBqHdgEDCggNrFuBLD4xiz+BbIJ5iyYKGScNV4RXAQEBAQEBBAEBAQEBAQEVAQUOiz6CTYFnAQFQB4JogUMFlEyKOIFngUOQGYNGghcSI4EVEQaCHByBbyIxAQGBC4E+AQEB X-IronPort-AV: E=Sophos;i="5.15,497,1432591200"; d="scan'208";a="170665356" Received: from mail-ob0-f172.google.com ([209.85.214.172]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 17 Jul 2015 20:50:49 +0200 Received: by obbgp5 with SMTP id gp5so70956358obb.0 for ; Fri, 17 Jul 2015 11:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/Y4VkgGCPRYuLjfJ7ea8QizoC1FMKtlersnluqUSul0=; b=d1aNJljAWTwnlQelWCNxMXGHVRyh7oJvCHNAioj7/kIPjElliZ3jZn2WCskmJ6apwX Z+D/g+4fDUKI38AFvYm0AsePKgSjhmRgVfEXlHTckvB+ri6CMuKYC/B+ShVMM9OXPRFj RCdoHdvZFfQUWXQi2IaeQLbB1nxdPCkoPXF/mBe75kZjhuZQs4+qx5R1SeuZma9ljA5U yExc9rnD6D8EUDxomrOGBswf7mMeh7cnvBJDsffqhaLE9Cziek31TSswNhEp4i3bOogH CwtD2aepPwYRPffAu2s/cxJ3rNesgODCk8rWlmrrecLXVCpZ6Q88sic2tcX53GOGPjN1 lFdw== MIME-Version: 1.0 X-Received: by 10.202.242.212 with SMTP id q203mr14368878oih.52.1437159047721; Fri, 17 Jul 2015 11:50:47 -0700 (PDT) Received: by 10.202.191.8 with HTTP; Fri, 17 Jul 2015 11:50:47 -0700 (PDT) In-Reply-To: References: Date: Fri, 17 Jul 2015 14:50:47 -0400 Message-ID: From: Kenneth Adam Miller To: Shuai Wang Cc: caml users Content-Type: multipart/alternative; boundary=94eb2c0956148679c9051b16aaa4 Subject: Re: [Caml-list] Cannot execute "main" function --94eb2c0956148679c9051b16aaa4 Content-Type: text/plain; charset=UTF-8 Can you post your build specification? On Fri, Jul 17, 2015 at 2:35 PM, Shuai Wang wrote: > Dear list, > > > I am working on some tools written in OCaml (compiled by OCaml version > 4.01.0). > > This morning I changed some code, compiled it and let it processing some > large data (~ 4G), it never stops after over 2 hours. > > I feed the tool with a tiny input which took less than 1 second to process > before, and I figured out that now it takes around 2.5 minutes before > entering into "main" function! > > I tried to clean the whole codebase, and recompile it ( I use ocamlbuild > 4.01.0), but the same wired situation still happens.. > > I did this: > > ltrace ./init.native input > > and I got this output flushing out for a very long time (sorry mail list > blocks my large image.. ): > > http://i.stack.imgur.com/sEkKk.png > > > > Is anyone aware this kind of issue before..? Am I messed up something..? > I have been working on OCaml for a relatively long time and I didn't > encounter this kind of stuff before... > > > Sincerely, > Shuai > --94eb2c0956148679c9051b16aaa4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Can you post your build specification?

On Fri, Jul 17, 2015 at 2:35 PM= , Shuai Wang <wangshuai901@gmail.com> wrote:
Dear list,

I am working on some tools written in OCaml (= compiled by OCaml version 4.01.0).=C2=A0

This m= orning I changed some code, compiled it and let it processing some large da= ta (~ 4G), it never stops after over 2 hours.=C2=A0

I feed the tool with a tiny input which took less than 1 second to pro= cess before, and =C2=A0I figured out that now it takes around 2.5 minutes b= efore entering into "main" function!

= I tried to clean the whole codebase, and recompile it ( I use ocamlbuild 4.= 01.0), but the same wired situation still happens..=C2=A0

I did this:
<= br>
=C2=A0 =C2=A0 ltrace .= /init.native input

and I got this output flushi= ng out for a very long time (sorry mail list blocks my large image.. ):

http://i.stack.imgur.com/sEkKk.png



Is anyone aware this kind of issue before..? Am I= messed up something..?=C2=A0
I have been working on OCaml for a relatively long time and I didn'= t encounter this kind of stuff before...


Sincerely,
Shuai

--94eb2c0956148679c9051b16aaa4--