* [Caml-list] Why isn't 4=4 in a bytecode program?
@ 2001-06-21 12:21 Florian Hars
2001-06-21 12:49 ` Xavier Leroy
0 siblings, 1 reply; 3+ messages in thread
From: Florian Hars @ 2001-06-21 12:21 UTC (permalink / raw)
To: caml-list
(I think I have sent this before with the wrong sender address, so a
copy may still be lingering in the list owners inbox, please delete it)
I'm lost, what happens here:
58 <|b|>if p = l then true
(ocd) print p
p : int = 4
(ocd) print l
l : int = 4
(ocd) step
Time : 396277983 - pc : 68528 - module Stringhilfsfunktionen
59 else <|b|>if pat.[p] <> s.[p] then false
(ocd) step
Time : 396277984
Program end.
Uncaught exception: Invalid_argument("String.get")
This happens with
$ ocamlc -v
The Objective Caml compiler, version 3.01
Standard library directory: /usr/lib/ocaml
$ dpkg -l ocaml | grep ocaml
ii ocaml 3.01-6 ML language implementation with a class-base
The program works if I compile it with ocamlopt (and I think I have
turned -unsafe off).
Yours, Florian Hars.
-------------------
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] 3+ messages in thread
* Re: [Caml-list] Why isn't 4=4 in a bytecode program?
2001-06-21 12:21 [Caml-list] Why isn't 4=4 in a bytecode program? Florian Hars
@ 2001-06-21 12:49 ` Xavier Leroy
2001-06-21 14:04 ` Florian Hars
0 siblings, 1 reply; 3+ messages in thread
From: Xavier Leroy @ 2001-06-21 12:49 UTC (permalink / raw)
To: Florian Hars; +Cc: caml-list
> I'm lost, what happens here:
No one can tell unless you enclose a complete program reproducing the
problem. Ah, and please send it to caml-bugs@inria.fr rather than to
the 500+ subscribers of caml-list.
- 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] 3+ messages in thread
* Re: [Caml-list] Why isn't 4=4 in a bytecode program?
2001-06-21 12:49 ` Xavier Leroy
@ 2001-06-21 14:04 ` Florian Hars
0 siblings, 0 replies; 3+ messages in thread
From: Florian Hars @ 2001-06-21 14:04 UTC (permalink / raw)
To: Xavier Leroy; +Cc: caml-list
On Thu, Jun 21, 2001 at 02:49:55PM +0200, Xavier Leroy wrote:
> > I'm lost, what happens here:
> No one can tell unless you enclose a complete program reproducing the
> problem.
Drats. I'm afraid I made some sublte changes to my program, and now I can no
longer reproduce the error myself...
If it resurfaces (and I find the time to isolate it, last time it only
happened after the program had processed a large amount of confitential data)
I will report it to caml-bugs.
Yours, Florian Hars.
-------------------
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] 3+ messages in thread
end of thread, other threads:[~2001-06-21 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-21 12:21 [Caml-list] Why isn't 4=4 in a bytecode program? Florian Hars
2001-06-21 12:49 ` Xavier Leroy
2001-06-21 14:04 ` Florian Hars
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox