Bug#335622: jmp: fails to start
WBaer at gmx.de
Tue Oct 25 07:24:43 UTC 2005
Benoît Dejean wrote:
> Package: jmp
> Version: 0.47-1
> Severity: normal
> Hi, i'm trying to run jmp on a simple HelloWorld class.
> I get the following trace :
> kaffe -Xrunjmp Hello
> jmp/0.47 initializing: ():...
> tracing objects: true
> tracing methods: true
> tracing monitors: true
> showing gui: true
> dump/reset by signal allowed: false
> jmp: Enabling localization.
> jmp: Loaded and registered correctly.
> Hello World!
> failed to find thread that ended: 0x1003c018
> c_class_load: 136
> c_class_unload: 0
> c_object_alloc: 1682
> c_object_move: 0
> c_object_free: 0
> c_thread_start: 0
> c_thread_end: 1
> c_method_entry: 15950
> c_method_exit: 15950
> teardown called, freeing jmp-data..
Until here everything is OK - thats the place jmp exits
normally as the program has finished.
> Internal error: caught an unexpected exception.
> Please check your CLASSPATH and your installation.
However the shutdown should not give an internal error in kaffe.
For me on x86 it works so it seems to be a ppc problem.
Can you please test if this is reproducible or only happens
> I can see a Gtk Window appear and being filled,
> then the application immediatly crashes.
No jmp works as expected - you only see GTK Windows a short time
because your hello world program already has finished. To profile
you either need to use a java program which does not exit at once
or put in your hello world program at the end of the main method
a System.in.read(); call and the GTK Window will stay for analysis.
For more jmp information (this trick is from the website) you should
have a look at the manual on the website.
More information about the pkg-java-maintainers