[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11580] jamvm crash with Swing
From: |
Michael Koch |
Subject: |
[commit-cp] [bugs #11580] jamvm crash with Swing |
Date: |
Thu, 13 Jan 2005 12:46:53 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; i686; de) (KHTML, like Gecko) |
This is an automated notification sent by Savannah.
It relates to:
bugs #11580, project classpath
==============================================================================
LATEST MODIFICATIONS of bugs #11580:
==============================================================================
Posted by: Michael Koch <mkoch>
Posted on: 2005-01-13 12:46 (GMT)
_______________________________________________________
Status: None -> Invalid
_______________________________________________________
Follow-up Comment:
jamvm 1.2.3 does not work anymore. The new GTK peer mege just triggered a bug
in jamvm 1.2.3. You need this patch:
--- jamvm-1.2.3/src/dll.c 2004-12-23 12:11:32.000000000 +0100
+++ jamvm-1.2.3.patched/src/dll.c 2005-01-10 23:05:22.000000000 +0100
@@ -290,8 +290,8 @@
return NULL;
}
+static void *env = &Jam_JNINativeInterface;
u4 *callJNIWrapper(Class *class, MethodBlock *mb, u4 *ostack) {
- void *env = &Jam_JNINativeInterface;
TRACE(("<DLL: Calling JNI method %s.%s%s>\n", CLASS_CB(class)->name,
mb->name, mb->type));
I eave this bug open until new jamvm gets released which fixes the issue.
==============================================================================
OVERVIEW of bugs #11580:
==============================================================================
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11580>
Summary: jamvm crash with Swing
Project: classpath
Submitted by: None
Submitted on: Don 13.01.2005 um 12:19
Category: classpath
Severity: 5 - Average
Status: Invalid
Privacy: Public
Assigned to: None
Open/Closed: Open
Platform Version: None
_______________________________________________________
Recent gtk-peer changes broke swing:
classpath cvs / jamvm 1.2.3 + fixes from jamvm list
GTK 2.4.14-2 from Debian
-----------------------
import javax.swing.JFrame;
public class Swing {
public static void main(String [] args) {
JFrame f = new JFrame();
f.show();
}
}
----------------------
(gdb) bt
#0 0x282c0001 in ?? ()
#1 0xa4fac4b9 in get_state (env=0xaffff56c, obj=0xa6fb7828,
table=0x8174c18)
at native_state.c:229
#2 0xa4f9fd27 in connect_awt_hook_cb (widget=0x8288e08, peer=0xa6fb7828)
at gnu_java_awt_peer_gtk_GtkEvents.c:1138
#3 0xa4b7a121 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#4 0xa4b65c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5 0xa4b79aa8 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#6 0xa4b78be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#7 0xa4b78ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8 0xa4eb6bff in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#9 0xa4ec63ef in gtk_window_reshow_with_initial_size ()
from /usr/lib/libgtk-x11-2.0.so.0
#10 0xa4b7a121 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#11 0xa4b65fb7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#12 0xa4b65c20 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0xa4b79451 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#14 0xa4b78be7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#15 0xa4b78ee4 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0xa4eb63b6 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xa4fa77c2 in Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetVisible
(
env=0xa6fb7828, obj=0xa6fb7828, visible=1 '\001')
at gnu_java_awt_peer_gtk_GtkWindowPeer.c:229
#18 0x0805c659 in callJNIMethod (env=0xaffff78c, class=0x0,
sig=0x806b888 "(Z)V", ret_type=2, ostack=0x80861fc,
f=0xa4fa7760
"U\211\uffff\203\uffff\030\017\uffffE\020\211]\uffff\uffffn\uffff\uffff\uffff\201\uffffb\212",
args=2)
at dll_md.c:64
#19 0x0804e154 in callJNIWrapper (class=0x0, mb=0x81b0fc4,
ostack=0xa6fb7828)
at dll.c:301
#20 0x0805257e in executeJava () at interp.c:1986
#21 0x0804ebe2 in executeMethodVaList (ob=0x0, class=0xa6fb7828,
mb=0x8126668,
jargs=0xaffff950 "\034\uffff\uffff\uffff\001") at execute.c:66
#22 0x0804ea76 in executeMethodArgs (ob=0xa6fb7828, class=0xa6fb7828,
mb=0xa6fb7828) at execute.c:38
#23 0x08052fc2 in main (argc=2, argv=0xaffff9f4) at jam.c:303
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Don 13.01.2005 um 12:46 By: Michael Koch <mkoch>
jamvm 1.2.3 does not work anymore. The new GTK peer mege just triggered a bug
in jamvm 1.2.3. You need this patch:
--- jamvm-1.2.3/src/dll.c 2004-12-23 12:11:32.000000000 +0100
+++ jamvm-1.2.3.patched/src/dll.c 2005-01-10 23:05:22.000000000 +0100
@@ -290,8 +290,8 @@
return NULL;
}
+static void *env = &Jam_JNINativeInterface;
u4 *callJNIWrapper(Class *class, MethodBlock *mb, u4 *ostack) {
- void *env = &Jam_JNINativeInterface;
TRACE(("<DLL: Calling JNI method %s.%s%s>\n", CLASS_CB(class)->name,
mb->name, mb->type));
I eave this bug open until new jamvm gets released which fixes the issue.
==============================================================================
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11580>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/