* [Caml-list] Called from unknown location
@ 2001-11-08 8:32 Hendrik Tews
2001-11-11 17:09 ` Xavier Leroy
0 siblings, 1 reply; 2+ messages in thread
From: Hendrik Tews @ 2001-11-08 8:32 UTC (permalink / raw)
To: caml-list
Hi,
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
What am I doing wrong? How can I get all locations?
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" ?
Bye,
Hendrik
-------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] Called from unknown location
2001-11-08 8:32 [Caml-list] Called from unknown location Hendrik Tews
@ 2001-11-11 17:09 ` Xavier Leroy
0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 2001-11-11 17:09 UTC (permalink / raw)
To: Hendrik Tews; +Cc: caml-list
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-11 17:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-08 8:32 [Caml-list] Called from unknown location Hendrik Tews
2001-11-11 17:09 ` Xavier Leroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox