This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug awt/16824] GdkPixbufDecoder crashes with image loading programs


------- Additional Comments From mark at gcc dot gnu dot org  2005-08-21 11:06 -------
It showed up as random crashes in some mauve tests.
Such as gnu.testlet.java.awt.image.PixelGrabber.SimpleGrabber

Fixed by:

2004-08-08  Mark Wielaard  <mark@klomp.org>

        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
        #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
        and stdlib.h, not gtkpeer.h.
        (*vm): New static variable.
        (areaPreparedID): Make static.
        (areaUpdatedID): Likewise.
        (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
        (area_prepared): Likewise.
        (area_updated): Likewise.
        (closed): Likewise.
        (initStaticState): Initialize *vm javaVM.
        (pumpBytes): Use given env, not global gdk_env.

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]