From: Adrien <camaradetux@gmail.com>
To: Emmanuel Dieul <emmanuel.dieul@free.fr>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlrun: Segmentation fault (core dumped)
Date: Mon, 17 Oct 2011 14:17:42 +0200 [thread overview]
Message-ID: <CAP5QFJ=-Cvj+24rrv1b1YXN5oGUQzDjdc7DGCeGhyeucFBdojg@mail.gmail.com> (raw)
In-Reply-To: <4E99EA23.6060406@free.fr>
On 15/10/2011, Emmanuel Dieul <emmanuel.dieul@free.fr> 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
next prev parent reply other threads:[~2011-10-17 12:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 20:16 Emmanuel Dieul
2011-10-17 12:17 ` Adrien [this message]
2011-10-17 16:32 ` Emmanuel Dieul
2011-10-17 20:40 ` ygrek
2011-10-19 20:41 ` Emmanuel Dieul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAP5QFJ=-Cvj+24rrv1b1YXN5oGUQzDjdc7DGCeGhyeucFBdojg@mail.gmail.com' \
--to=camaradetux@gmail.com \
--cc=caml-list@inria.fr \
--cc=emmanuel.dieul@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox