public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/16659] New: Displaying AWT Button with no text seg-faults in peer
@ 2004-07-21 19:10 mckinlay at redhat dot com
  2004-07-26  4:34 ` [Bug AWT/16659] " fitzsim at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mckinlay at redhat dot com @ 2004-07-21 19:10 UTC (permalink / raw)
  To: gcc-bugs

The following test case causes a crash in the GTK peers:

import java.awt.*;

public class ButtonTest
{
  public static void main(String[] args)
  {
    Frame f = new Frame("Test");
    f.setSize(200, 200);
    f.add(new Button());
    f.setVisible(true);
  }
}

$ gij Text
Aborted

0x010275b1 in _Jv_JNI_GetField<jint> (env=0xa12f3c0, obj=0x0, field=0xa12f3c0)
    at ../../../libjava/jni.cc:1150
1150      return wrap_value (env, *ptr);
(gdb) bt
#0  0x010275b1 in _Jv_JNI_GetField<jint> (env=0xa12f3c0, obj=0x0, 
    field=0xa12f3c0) at ../../../libjava/jni.cc:1150
#1  0x00547bf9 in get_state (env=0xa12f3c0, obj=0x0, table=0xa027348)
    at ../../../libjava/jni/classpath/native_state.c:229
#2  0x0053aea5 in Java_gnu_java_awt_peer_gtk_GtkComponentPeer_set__Ljava_lang_St
ring_2Ljava_lang_Object_2 (env=0xa12f3c0, obj1=0x0, jname=0xa0f7540, obj2=0x0)
    at ../../../libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:10
43
#3  0x0052a95e in gnu.java.awt.peer.gtk.GtkComponentPeer.set(java.lang.String, j
ava.lang.Object) (this=0x0, name=0x0, value=0x0)
    at ../../../libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.java:516
#4  0x0052aa27 in gnu.java.awt.peer.gtk.GtkComponentPeer.set(gnu.java.awt.peer.g
tk.GtkArg) (this=0xa0f4420, arg=0xa10a7a0)
    at ../../../libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.java:552
#5  0x005260c2 in gnu.java.awt.peer.gtk.GtkArgList.setArgs(gnu.java.awt.peer.gtk
.GtkComponentPeer) (this=0xa0f43f0, cp=0xa0f4420)
    at ../../../libjava/gnu/java/awt/peer/gtk/GtkArgList.java:72
#6  0x00529080 in gnu.java.awt.peer.gtk.GtkComponentPeer.GtkComponentPeer(java.a
wt.Component) (this=0xa0f4420, awtComponent=0xa153ed8)
....

-- 
           Summary: Displaying AWT Button with no text seg-faults in peer
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: mckinlay at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16659


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/16659] Displaying AWT Button with no text seg-faults in peer
  2004-07-21 19:10 [Bug AWT/16659] New: Displaying AWT Button with no text seg-faults in peer mckinlay at redhat dot com
@ 2004-07-26  4:34 ` fitzsim at redhat dot com
  2004-07-26  5:21 ` fitzsim at redhat dot com
  2004-07-30 19:37 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2004-07-26  4:34 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16659


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/16659] Displaying AWT Button with no text seg-faults in peer
  2004-07-21 19:10 [Bug AWT/16659] New: Displaying AWT Button with no text seg-faults in peer mckinlay at redhat dot com
  2004-07-26  4:34 ` [Bug AWT/16659] " fitzsim at redhat dot com
@ 2004-07-26  5:21 ` fitzsim at redhat dot com
  2004-07-30 19:37 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fitzsim at redhat dot com @ 2004-07-26  5:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fitzsim at redhat dot com  2004-07-26 05:21 -------
Fixed on java-gui-branch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16659


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug AWT/16659] Displaying AWT Button with no text seg-faults in peer
  2004-07-21 19:10 [Bug AWT/16659] New: Displaying AWT Button with no text seg-faults in peer mckinlay at redhat dot com
  2004-07-26  4:34 ` [Bug AWT/16659] " fitzsim at redhat dot com
  2004-07-26  5:21 ` fitzsim at redhat dot com
@ 2004-07-30 19:37 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-30 19:37 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16659


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-30 19:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-21 19:10 [Bug AWT/16659] New: Displaying AWT Button with no text seg-faults in peer mckinlay at redhat dot com
2004-07-26  4:34 ` [Bug AWT/16659] " fitzsim at redhat dot com
2004-07-26  5:21 ` fitzsim at redhat dot com
2004-07-30 19:37 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).