From: Vitaly Lugovsky <vsl@ontil.ihep.su>
To: David Mentre <David.Mentre@inria.fr>
Cc: <caml-list@inria.fr>
Subject: Re: [Caml-list] Segfault in a native code multi-threaded program
Date: Thu, 16 Aug 2001 16:45:04 +0400 (MSD) [thread overview]
Message-ID: <Pine.LNX.4.30.0108161642410.27858-100000@ontil.ihep.su> (raw)
In-Reply-To: <qtln15077gh.fsf@pochi.inria.fr>
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
environment.
And, sure, you can use assertions and debugging output (do not forget to
flush it) to find out where the shit happens.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-08-16 13:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-16 8:08 David Mentre
2001-08-16 12:45 ` Vitaly Lugovsky [this message]
2001-08-17 8:09 ` David Mentre
2001-08-17 16:54 ` Brian Rogoff
2001-08-20 9:12 ` David Mentre
2001-08-20 16:54 ` Jun P. FURUSE
2001-08-18 23:15 ` John Max Skaller
2001-08-19 0:24 ` John Gerard Malecki
2001-08-19 18:18 ` [Caml-list] Ocaml ffi release 1.2.2 dsfox
[not found] ` <3B7C5A74.15141D95@maxtal.com.au>
[not found] ` <qtlitfm6ajh.fsf@pochi.inria.fr>
[not found] ` <3B7F0C99.FEDEAA86@maxtal.com.au>
[not found] ` <qtl3d6m4vkt.fsf@pochi.inria.fr>
2001-08-21 19:20 ` [Caml-list] Segfault in a native code program using pm variants John Max Skaller
2001-08-23 8:54 ` Xavier Leroy
2001-08-20 12:57 [Caml-list] Segfault in a native code multi-threaded program Krishnaswami, Neel
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=Pine.LNX.4.30.0108161642410.27858-100000@ontil.ihep.su \
--to=vsl@ontil.ihep.su \
--cc=David.Mentre@inria.fr \
--cc=caml-list@inria.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