* [Caml-list] ocamlrun: Segmentation fault (core dumped)
@ 2011-10-15 20:16 Emmanuel Dieul
2011-10-17 12:17 ` Adrien
0 siblings, 1 reply; 5+ messages in thread
From: Emmanuel Dieul @ 2011-10-15 20:16 UTC (permalink / raw)
To: Caml List
[-- Attachment #1: Type: text/html, Size: 1252 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] ocamlrun: Segmentation fault (core dumped)
2011-10-15 20:16 [Caml-list] ocamlrun: Segmentation fault (core dumped) Emmanuel Dieul
@ 2011-10-17 12:17 ` Adrien
2011-10-17 16:32 ` Emmanuel Dieul
0 siblings, 1 reply; 5+ messages in thread
From: Adrien @ 2011-10-17 12:17 UTC (permalink / raw)
To: Emmanuel Dieul; +Cc: Caml List
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-19 20:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-15 20:16 [Caml-list] ocamlrun: Segmentation fault (core dumped) Emmanuel Dieul
2011-10-17 12:17 ` Adrien
2011-10-17 16:32 ` Emmanuel Dieul
2011-10-17 20:40 ` ygrek
2011-10-19 20:41 ` Emmanuel Dieul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox