Mantis Bugtracker

Einfache Problemansicht anzeigen Zu Notizen wechseln ] erweiterte Anzeige ] Problem-Historie ] Drucken ]
ID Kategorie Auswirkung Reproduzierbar Meldungsdatum Letzte Aktualisierung
0000114 [OCaml-Java] schwerer Fehler immer 2013-01-30 13:05 2013-03-07 23:12
Reporter jrrk100 Anzeigestatus öffentlich  
Bearbeitung durch xclerc
Priorität normal Lösung erledigt  
Status erledigt   Produktversion 2.0-early-access
Zusammenfassung 0000114: Error: Cannot compute stack frames
Beschreibung jk23@angcatlnxsrv10:~/ocamljava-2.0-early-access2$ ocamljava
File "", line 1:
Error: Cannot compute stack frames
(class "java.lang.Object" not found)
jk23@angcatlnxsrv10:~/ocamljava-2.0-early-access2$ ocamlc

Zusätzliche Information The program came from here: [^]

Platform was linux debian wheezy, JRE 1.7
Tags Keine Tags zugeordnet.
Angehängte Dateien

- Problem-Beziehungen

-  Notiz
xclerc (Administrator)
2013-01-30 18:36

Usually, this happens when the JAVA_HOME environment variable
is not properly set. However, I only tested the distribution against
full JDKs, but not against mere JREs.

Could you check the value of the JAVA_HOME environment variable,
and also tell me whether you have a file with the path
$JAVA_HOME/lib/ct.sym ?
jrrk100 (Reporter)
2013-01-31 16:55

You are correct, the compilation proceeds when JDK is used instead of JRE. lib/ct.sym is not present in the JRE. As far as runtime goes, the native executable solves the queens problem for an 8x8 board in 4ms. The java version, who knows - but a very long time.
xclerc (Administrator)
2013-02-01 15:59

I don't know yet if it will be possible to support bare JREs,
but will take a look at it.

Regarding "", the bug in OCaml-Java is indeed
in the "read_int" primitive... the computation is never launched.
If modified to remove the interactive part, the program
exhibit decent performances.

- Problem-Historie
Änderungsdatum Benutzername Feld Änderung
2013-01-30 13:05 jrrk100 Neues Problem
2013-01-30 18:36 xclerc Problemnotiz hinzugefügt: 0000264
2013-01-30 18:36 xclerc Bearbeitung durch => xclerc
2013-01-30 18:36 xclerc Status neu => Rückmeldung
2013-01-31 16:55 jrrk100 Problemnotiz hinzugefügt: 0000269
2013-02-01 15:59 xclerc Problemnotiz hinzugefügt: 0000271
2013-02-01 15:59 xclerc Status Rückmeldung => anerkannt
2013-03-07 23:12 xclerc Status anerkannt => erledigt
2013-03-07 23:12 xclerc Behoben in Version => 2.0-early-access3
2013-03-07 23:12 xclerc Lösung offen => erledigt

Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker