Avi,
This bug was fixed. You should get a copy of the latest code from
CVS. Per Dan's ealier reply, you might wish to wait for a day or
two as we are currently releasing much code.
-Jeff
On 2000.12.06 22:01:57 -0500 Avi Bryant wrote:
>
> Hmmm... it seems like the problem is in the GtkEditable classes, or
> perhaps all classes dealing with strings... and it's not just with
> reflection. With CVS code, the following test crashes:
>
> import gtk.*;
>
> class GtkTest {
>
> public void callback(String a, int b, int c) {
> }
>
> public static void main(String args[]) {
>
> Gtk.init(args.length,args);
>
> GtkEntry e = new GtkEntry();
> e.signalConnect("insert_text", "callback", new
> GtkTest());
> e.setText("hello world");
> }
> }
>
> It's possible to get the same crash with 0.5.0 code pretty easily as
> well.
> I'm over my head here...
>
> ---------- Forwarded message ----------
> Date: Wed, 6 Dec 2000 13:53:08 -0800 (PST)
> From: Avi Bryant <av...@be...>
> To: jav...@li...
> Subject: SIGSEGV
>
>
> I'm getting segmentation faults using java-gnome... I'll try to narrow it
> down more exactly, but it seems to involve using java.lang.reflect from
> within a signal callback. Some data points: using java-gnome 0.5.0, I
> get
> the error on Method.invoke and Field.set with the blackdown JDK, but only
> on Field.set with the IBM JDK. Using the CVS sources, I get the crash on
> both JDKs for both reflection types.
> Note that this only happens when I'm inside a callback... it's not a
> general problem with reflection.
>
> Can anybody reproduce this?
> Does anybody have any clue what's going on?
>
> avi
>
>
> _______________________________________________
> java-gnome-developer mailing list
> jav...@li...
> http://lists.sourceforge.net/mailman/listinfo/java-gnome-developer
>
|