From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p9HCHjLo023799 for ; Mon, 17 Oct 2011 14:17:45 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am8BADIcnE7RVde2kGdsb2JhbABDqF4IIgEBAQEJCQ0HFAQhgW4BAQEEEgIsARsdAQMMBgULDS4iAREBBQEcBhMIGp1PCotRgmCFBT2IbgIFCoMhhF0EjGyHDo0qPYNx X-IronPort-AV: E=Sophos;i="4.69,359,1315173600"; d="scan'208";a="124424605" Received: from mail-ey0-f182.google.com ([209.85.215.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 17 Oct 2011 14:17:42 +0200 Received: by eyd10 with SMTP id 10so4632110eyd.27 for ; Mon, 17 Oct 2011 05:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OGKLXbvYlc8bmgHNR+pj6ZrpYSvuismC3PULr7Splus=; b=vqOC+S/V1tRqf0pZi60U7NHFoiL7Gw6qc8NYxpCYgMcLl6y7w3VN4llqjiwUv06XSh Kg0IBHmuqwJ+gubSf3nguqw/B9vJKzBN8ltKeFOsXGdhb7nZ6OaQ3WMXDFVTK/zNTSMg 1WUFWmOh0gd+NOd85P/tNNydAoLEwAtbUjavM= MIME-Version: 1.0 Received: by 10.213.3.209 with SMTP id 17mr988409ebo.120.1318853862395; Mon, 17 Oct 2011 05:17:42 -0700 (PDT) Received: by 10.213.27.77 with HTTP; Mon, 17 Oct 2011 05:17:42 -0700 (PDT) In-Reply-To: <4E99EA23.6060406@free.fr> References: <4E99EA23.6060406@free.fr> Date: Mon, 17 Oct 2011 14:17:42 +0200 Message-ID: From: Adrien To: Emmanuel Dieul Cc: Caml List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] ocamlrun: Segmentation fault (core dumped) On 15/10/2011, Emmanuel Dieul wrote: > Hi all, > > I'm developing a little game using ocaml and lablgtk2. During the game > (under cygwin), I've got a segmentation fault for ocamlrun : >> >> >> [emmanuel@localhost ~/]$ cat ocamlrun.exe.stackdump >> Exception: STATUS_ACCESS_VIOLATION at eip=610E73DA >> eax=1BDCCE64 ebx=01E1C530 ecx=75A50C48 edx=00000000 esi=01E1C588 >> edi=1BB8CE64 >> ebp=1BB8CD98 esp=1BB8CD60 >> program=L:\programmation\cygwin\bin\ocamlrun.exe, pid 6260, thread unknown >> (0x1CBC) >> cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B >> Stack trace: >> Frame Function Args >> 1BB8CD98 610E73DA (01E1C530, 1BB8CDD4, 610E73A0, 01E1C530) >> End of stack trace >> [emmanuel@localhost ~/]$ ocaml -version >> The Objective Caml toplevel, version 3.12.0 > > > Is there a way to know if the problem comes from ocamlrun or if it comes > from the (labl)gtk libraries for windows? Hi, Do you have a backtrace? You could run your application under gdb and use its "backtrace" function to get one. It should show quite quickly whether the issue is from lablgtk, gtk or something else. Regards, Adrien Nader