Your message dated Tue, 28 Nov 2006 23:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#354358: fixed in swt-gtk 3.2.1-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libswt-gtk-3.1-java
Version: 3.1-3
Severity: grave
Justification: renders package unusable

Azureus hasn't been working on AMD64 Debian out of the box ever, I think.
This seems to be why.

>From a Sun Hotspot 1.5.0_05 error log after a sigsegv when starting
Azureus:

Stack: [0x00007fffff963000,0x00007fffffb63000),  sp=0x00007fffffb5ead8,  free 
space=2030k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x74ac6]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.swt.internal.gtk.OS.memmove([BII)V+0
j  org.eclipse.swt.internal.Converter.wcsToMbcs(Ljava/lang/String;[CZ)[B+60

Then, from the sources for swt-gtk-3.1.2 (in os.c):

JNIEXPORT void JNICALL OS_NATIVE(memmove___3BII)
        (JNIEnv *env, jclass that, jbyteArray arg0, jint arg1, jint arg2)
{
/* ...... */
        memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
/* ...... */
}

Obviously treating a 32-bit jint like a 64-bit pointer cannot work.

It seems that when building the debian package, the same sources are
being used for both 32-bit and 64-bit architectures although the sources
are arch-specific:

http://dev.eclipse.org/mhonarc/lists/platform-swt-dev/msg04684.html

Indeed, the os.c in swt-3.1.2-gtk-linux-x86_64.zip (from eclipse.org)
contains a different version that uses jlongs instead of jints.

This is essentially the same problem as in bug #324030, of course. It's
claimed to be fixed, but all I see in xpcom.cpp is a casting hack to get
rid of compiler errors, but the precision loss is still there. On a
64-bit platform you _can't_ store a pointer in a jint, it just won't fit
no matter what you do. You have to use jlongs and make sure the java
code calling the native method also uses longs to store pointers. Having
a separate version that uses ints on 32-bit platforms seems like a
dubious performance hack.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=fi_FI.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages libswt-gtk-3.1-java depends on:
ii  libswt-gtk-3.1-jni            3.1-3      Standard Widget Toolkit for GTK JN

libswt-gtk-3.1-java recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: swt-gtk
Source-Version: 3.2.1-3

We believe that the bug you reported is fixed in the latest version of
swt-gtk, which is due to be installed in the Debian FTP archive:

libswt-gnome-gtk-3.2-jni_3.2.1-3_i386.deb
  to pool/main/s/swt-gtk/libswt-gnome-gtk-3.2-jni_3.2.1-3_i386.deb
libswt-gtk-3.2-java_3.2.1-3_i386.deb
  to pool/main/s/swt-gtk/libswt-gtk-3.2-java_3.2.1-3_i386.deb
libswt-gtk-3.2-jni_3.2.1-3_i386.deb
  to pool/main/s/swt-gtk/libswt-gtk-3.2-jni_3.2.1-3_i386.deb
libswt-gtk-3.2_3.2.1-3_i386.deb
  to pool/main/s/swt-gtk/libswt-gtk-3.2_3.2.1-3_i386.deb
libswt-gtk-dev_3.2.1-3_all.deb
  to pool/main/s/swt-gtk/libswt-gtk-dev_3.2.1-3_all.deb
libswt-mozilla-gtk-3.2-jni_3.2.1-3_i386.deb
  to pool/main/s/swt-gtk/libswt-mozilla-gtk-3.2-jni_3.2.1-3_i386.deb
libswt-mozilla-gtk-3.2_3.2.1-3_i386.deb
  to pool/main/s/swt-gtk/libswt-mozilla-gtk-3.2_3.2.1-3_i386.deb
libswt-mozilla-gtk-dev_3.2.1-3_all.deb
  to pool/main/s/swt-gtk/libswt-mozilla-gtk-dev_3.2.1-3_all.deb
swt-gtk_3.2.1-3.diff.gz
  to pool/main/s/swt-gtk/swt-gtk_3.2.1-3.diff.gz
swt-gtk_3.2.1-3.dsc
  to pool/main/s/swt-gtk/swt-gtk_3.2.1-3.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Shaun Jackman <[EMAIL PROTECTED]> (supplier of updated swt-gtk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 28 Nov 2006 14:52:44 -0700
Source: swt-gtk
Binary: libswt-mozilla-gtk-dev libswt-mozilla-gtk-3.2-jni 
libswt-mozilla-gtk-3.2 libswt-gnome-gtk-3.2-jni libswt-gtk-3.2 
libswt-gtk-3.2-jni libswt-gtk-3.2-java libswt-gtk-dev
Architecture: source i386 all
Version: 3.2.1-3
Distribution: unstable
Urgency: low
Maintainer: Shaun Jackman <[EMAIL PROTECTED]>
Changed-By: Shaun Jackman <[EMAIL PROTECTED]>
Description: 
 libswt-gnome-gtk-3.2-jni - Standard Widget Toolkit for GTK Gnome JNI library
 libswt-gtk-3.2 - Standard Widget Toolkit for GTK native library
 libswt-gtk-3.2-java - Standard Widget Toolkit for GTK Java library
 libswt-gtk-3.2-jni - Standard Widget Toolkit for GTK JNI library
 libswt-gtk-dev - Standard Widget Toolkit for GTK development
 libswt-mozilla-gtk-3.2 - Standard Widget Toolkit for GTK Mozilla Java library
 libswt-mozilla-gtk-3.2-jni - Standard Widget Toolkit for GTK Mozilla JNI 
library
 libswt-mozilla-gtk-dev - Standard Widget Toolkit for GTK Mozilla JNI library
Closes: 354358
Changes: 
 swt-gtk (3.2.1-3) unstable; urgency=low
 .
   * Support 64-bit architectures. Closes: #354358.
     Use simple-patchsys and depend on patchutils.
   * Revert the static_error patch.
   * Prevent dh_makeshlibs from calling ldconfig for JNI packages.
   * Make the package binary NMUable.
Files: 
 bff1ea5ac5ed7c8716f112a96d42e5c0 817 libs optional swt-gtk_3.2.1-3.dsc
 eba056fa9588e0d3d21575ce4692a1de 323433 libs optional swt-gtk_3.2.1-3.diff.gz
 5693e7485b91e3c14fd598f354f8a58d 16082 libdevel optional 
libswt-gtk-dev_3.2.1-3_all.deb
 208d3f3743c283cbaa6fc8c223105013 15838 libdevel optional 
libswt-mozilla-gtk-dev_3.2.1-3_all.deb
 6a646f283680e8b65940ce08bf469404 1824640 libs optional 
libswt-gtk-3.2_3.2.1-3_i386.deb
 8df48eae56ab3ddcc7173ac48e5b8ff1 156310 libs optional 
libswt-gtk-3.2-jni_3.2.1-3_i386.deb
 b4c4a0b18630b896d72a625ddbd6e8dd 20134 libs optional 
libswt-gnome-gtk-3.2-jni_3.2.1-3_i386.deb
 78b1985a604cee1c99f41c3e1802d006 1155696 libs optional 
libswt-gtk-3.2-java_3.2.1-3_i386.deb
 a77d006d53450d59607c1f40c72753ce 848568 libs optional 
libswt-mozilla-gtk-3.2_3.2.1-3_i386.deb
 71fbd8e6a2fb0df6ed44a37ed03b0776 25094 libs optional 
libswt-mozilla-gtk-3.2-jni_3.2.1-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFbL82vFdYF1IwUUoRAuSMAJ0cHNx5adg8ezvTWcBAcHPr1Gub1wCgk90G
tkVsKlK7N+nHx1ee1hNXztE=
=nmMY
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to