Hi Timo,
Timo Juhani Lindfors wrote:
Package: jmp
Version: 0.47-1
Severity: normal
Steps to reproduce:
1) cat > Hello.java <<EOF
public class Hello {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
EOF
2) javac Hello.java
3) kaffe -Xrunjmp Hello
Expected results:
3) jmp window should open, show information and then close.
For non-gui apps you need to stop termination of program by
reqeusting some input. Put a System.in.read() before the
end of the main method. Thats the normal usage - see the
jmp user guide.
Actual results:
3) jmp window opens, shows information (possibly, it's too fast to
see) and then closes. However, kaffe prints the following error
message:
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: 0x8073018
jvm_shut_down.
c_class_load: 135
c_class_unload: 0
c_object_alloc: 1717
c_object_move: 0
c_object_free: 0
c_thread_start: 0
c_thread_end: 1
c_method_entry: 15054
c_method_exit: 15054
teardown called, freeing jmp-data..
kaffe-bin: cairo-surface.c:658: _cairo_surface_release_dest_image: Assertion
`!surface->finished' failed.
Aborted
Yes, its known that kaffe has problem with jmp _only_ during
shutdown.
This might be a bug in kaffe and/or cairo and not jmp but since I'm
not sure I'm first reporting it against 'jmp'. Please reassign as
necessary.
I will leave it here as I already reassigned/forwared one to kaffe and
people looking for bugs on jmp before reporting. So it might be better
to let it stay here.
Regards,
Wolfgang
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]