Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Segfault in a native code multi-threaded program
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-08-16 (13:30)
From: Vitaly Lugovsky <vsl@o...>
Subject: Re: [Caml-list] Segfault in a native code multi-threaded program
On 16 Aug 2001, David Mentre wrote:

> Hello dear Camlers,
> My multi-threaded program works well with the byte code compiler but
> (sometimes) produces a segfault with the native code compiler. How can I
> have more info to find the specific line of code that produces this
> segfault? I've tried to run gdb but even when the program works until
> its end, gdb is blocked.

 You can try gdb -c core <progname> after segfault even in multithreaded
And, sure, you can use assertions and debugging output (do not forget to
flush it) to find out where the shit happens.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: