Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Berke Durak <berke.durak@exalead.com>
To: Jacques Le Normand <rathereasy@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Segmentation fault
Date: Tue, 03 Jun 2008 16:08:47 +0200	[thread overview]
Message-ID: <4845506F.8000808@exalead.com> (raw)
In-Reply-To: <f74178430806022009h6960bfc0tb5db497e4201a4af@mail.gmail.com>

Jacques Le Normand wrote:
> Hello caml-list,
> 
> I'm encountering a segfault on ocaml 3.09
> 
> The test case seems long, but if I remove any line from it it stops 
> segfaulting. The strangest thing is that get_right_sibling_specific is 
> called, though it appears nowhere. If you change it's name, the segfault 
> dissapears. Any help would be appreciated!
> here's the code:

I confirm that it segfaults with ocamlc and ocamlopt 3.11+dev12 on amd64.

Stepping with ocamldebug, I find that it segfaults somewhere near this:

Time : 3045 - pc : 58100 - module CamlinternalOO
323     if top then super cla env else <|b|>Obj.repr (super cla) in

So this indeed looks like a bug in the object system.
-- 
Berke DURAK


  reply	other threads:[~2008-06-03 14:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03  3:09 Jacques Le Normand
2008-06-03 14:08 ` Berke Durak [this message]
2017-06-18 19:41 [Caml-list] segmentation fault Julia Lawall
2017-06-19 20:15 ` David MENTRÉ
2017-06-19 20:58   ` Julia Lawall
2017-06-19 21:15     ` Josh Berdine
2017-06-19 21:19       ` Julia Lawall
2017-06-20  1:01         ` Francois BERENGER
2017-06-20  6:34           ` Julia Lawall
2017-06-21 14:20       ` Markus Weißmann
2017-06-23 17:03   ` SP
2017-06-23 17:25     ` Julia Lawall
2017-06-29 15:19       ` Damien Doligez
2017-06-29 15:26         ` Julia Lawall
2017-06-29 23:16         ` Julia Lawall
2017-06-30 10:55         ` Julia Lawall
2017-06-30 14:06           ` SP
2017-07-01 18:37         ` Julia Lawall

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=4845506F.8000808@exalead.com \
    --to=berke.durak@exalead.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=rathereasy@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