caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: Hendrik Tews <tews@tcs.inf.tu-dresden.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Called from unknown location
Date: Sun, 11 Nov 2001 18:09:14 +0100	[thread overview]
Message-ID: <20011111180914.D16307@pauillac.inria.fr> (raw)
In-Reply-To: <15338.17176.354259.114930@gargle.gargle.HOWL>; from tews@tcs.inf.tu-dresden.de on Thu, Nov 08, 2001 at 09:32:24AM +0100

> with OCAMLRUNPARAM=b=1 my backtrace has some lines with precise
> locations like 
> 
>     Called from module Main, character 12011
> 
> but lots of lines 
> 
>     Called from unknown location

This can happen in two cases: 1- some of the Caml code wasn't compiled
with -g; 2- for code dynamically loaded by Dynlink.

> Moreover, the start of the backtrace is wrong, it looks like
> 
>    Fatal error: uncaught exception Assert_failure("lifting.ml", 26109, 26122)
>    Raised at module Format, character 5250
>    Called from module Format, character 11592
>    [...]
> 
> so the assertion is raised in lifting.ml, which is a plain (i.e.
> without modules) ml file. Why does it print "Raised at module
> Format" ?

This looks suspect indeed.  If you have a short program reproducing
this behavior, please make a bug report.

- Xavier Leroy
-------------------
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


      reply	other threads:[~2001-11-11 17:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-08  8:32 Hendrik Tews
2001-11-11 17:09 ` Xavier Leroy [this message]

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=20011111180914.D16307@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=tews@tcs.inf.tu-dresden.de \
    /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;
as well as URLs for NNTP newsgroup(s).