From: Philippe Veber <philippe.veber@googlemail.com>
To: Ilya Seleznev <itsuart@gmail.com>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Tips to find the cause of a seg fault
Date: Wed, 1 Dec 2010 16:21:10 +0100 [thread overview]
Message-ID: <AANLkTikJyxJFzWqLm3rOCtRnrKK=3_UHwpDoc4TptU+i@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=ihJxSNoEC0yq-3g36Ls-62V=WC8YaymZ2u3Gs@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
2010/12/1 Ilya Seleznev <itsuart@gmail.com>
> On Wed, Dec 1, 2010 at 5:08 AM, Philippe Veber
> <philippe.veber@googlemail.com> wrote:
> > Short story (details below): I'm currently writing a program relying on
> > react, lablgl and ocamlsdl. This program segfaults on my laptop under two
> > linux distributions (ubuntu and gentoo) but doesn't on a PC under ubuntu.
> > The seg fault occurs with both bytecode and native executables. I don't
> do
> > any marshaling nor use any typing magic; stack overflow is not likely. I
> > humbly ask this list about means to improve valgrind or gdb outputs,
> which
> > don't report informative function names, or more generally, any tip that
> > could help me to locate the origin of the problem.
>
> I would log mouse events, that went into 'picking_handler' to ensure
> that no unexpected input sent by SDL.
>
> Thanks for your answer. Unfortunately from the event type there is not
much to learn that could help here. Or at least I don't see what ... Or
maybe you're refering to a low level logging, that is, log values at the C
binding level ?
ph.
[-- Attachment #2: Type: text/html, Size: 1541 bytes --]
next prev parent reply other threads:[~2010-12-01 15:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-30 23:08 Philippe Veber
2010-11-30 23:18 ` [Caml-list] " oliver
2010-12-01 8:32 ` Philippe Veber
2010-12-01 9:15 ` oliver
2010-12-01 10:26 ` Philippe Veber
2010-12-01 10:51 ` oliver
2010-12-01 15:08 ` Philippe Veber
2010-12-01 1:59 ` Romain Beauxis
2010-12-01 15:17 ` Philippe Veber
2010-12-01 15:27 ` oliver
2010-12-01 16:15 ` Romain Beauxis
2010-12-01 5:51 ` Ilya Seleznev
2010-12-01 15:21 ` Philippe Veber [this message]
[not found] <1182061596.483210.1291158525016.JavaMail.root@zmbs1.inria.fr>
2010-12-03 15:43 ` Damien Doligez
2010-12-05 14:50 ` Philippe Veber
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='AANLkTikJyxJFzWqLm3rOCtRnrKK=3_UHwpDoc4TptU+i@mail.gmail.com' \
--to=philippe.veber@googlemail.com \
--cc=caml-list@inria.fr \
--cc=itsuart@gmail.com \
/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