Bug#324502: libgcj6-awt: assertion failed: (data_fid != 0)
Package: libgcj6-awt
Version: 4.0.2-3
Followup-For: Bug #324502
I hit this bug too, here's a reduced testcase to reproduce the bug:
$ cat > testcase.java
import javax.swing.*;
import java.awt.*;
public class testcase extends JFrame {
public static void main(String[] args) {
(new testcase()).show();
}
public testcase() {
this.setSize(new Dimension(400, 400));
this.setContentPane(new JLabel("Hello World"));
}
}
$ javac testcase.java
----------
1. WARNING in testcase.java
(at line 3)
public class testcase extends JFrame {
^^^^^^^^
The serializable class testcase does not declare a static final serialVersionUID field of type long
----------
1 problem (1 warning)lindi@sauna:~/tmp$
$ java testcase
** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0)
aborting...
Aborted
lindi@sauna:~/tmp$ java --version
java version "1.4.2"
gij (GNU libgcj) version 4.0.3 20051023 (prerelease) (Debian 4.0.2-3)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.29sauna
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Versions of packages libgcj6-awt depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libcairo2 1.0.2-1 The Cairo 2D vector graphics libra
ii libgcc1 1:4.0.2-3 GCC support library
ii libgcj6 4.0.2-3 Java runtime library for use with
ii libglib2.0-0 2.8.3-1 The GLib library of C routines
ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface
ii libpango1.0-0 1.8.2-3 Layout and rendering of internatio
ii libxtst6 6.8.2.dfsg.1-10 X Window System event recording an
ii xlibs 6.8.2.dfsg.1-10 X Window System client libraries m
libgcj6-awt recommends no packages.
-- no debconf information
Reply to: