[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#798273: marked as done (libatk-wrapper-java-jni:amd64: Segmentation fault, null pointer dereference)



Your message dated Mon, 07 Sep 2015 16:21:09 +0000
with message-id <E1ZYzAL-0002Qv-P3@franck.debian.org>
and subject line Bug#798273: fixed in java-atk-wrapper 0.33.0-5
has caused the Debian Bug report #798273,
regarding libatk-wrapper-java-jni:amd64: Segmentation fault, null pointer dereference
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
798273: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798273
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libatk-wrapper-java-jni
Version: 0.33.0-4.1~
Severity: serious
Justification: Crashes programs using this library

Hi,

I have been experiencing crashes on netbeans, with SIGSEGV on startup. I
managed to trace this to libatk-wrapper-jni. I applied the following
patch to make this work:

--- java-atk-wrapper-0.33.0.orig/jni/src/AtkWrapper.c
+++ java-atk-wrapper-0.33.0/jni/src/AtkWrapper.c
@@ -1143,6 +1143,9 @@ static gboolean
 component_added_handler (gpointer p)
 {
   JNIEnv *jniEnv;
+  if (p == NULL) {
+    return FALSE;
+  }
 
   CallbackPara *para = (CallbackPara*)p;
   jobject global_ac = para->global_ac;


I'm not tagging this patch because it is unlikely this is the correct
fix (why did alloc_callback_para return NULL in the first place? If this
is normal then the handler should not be registered at all), but
it allows me to continue using netbeans in the meantime.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libatk-wrapper-java-jni:amd64 depends on:
ii  libatk-bridge2.0-0   2.16.0-1
ii  libatk-wrapper-java  0.33.0-4.1~
ii  libatk1.0-0          2.16.0-2
ii  libatspi2.0-0        2.16.0-1
ii  libc6                2.19-19
ii  libcairo-gobject2    1.14.2-2
ii  libcairo2            1.14.2-2
ii  libdbus-1-3          1.10.0-1
ii  libgdk-pixbuf2.0-0   2.31.5-1
ii  libglib2.0-0         2.44.1-1.1
ii  libgtk-3-0           3.16.6-1
ii  libgtk2.0-0          2.24.28-1
ii  libpango-1.0-0       1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3

libatk-wrapper-java-jni:amd64 recommends no packages.

libatk-wrapper-java-jni:amd64 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: java-atk-wrapper
Source-Version: 0.33.0-5

We believe that the bug you reported is fixed in the latest version of
java-atk-wrapper, which is due to be installed in the Debian FTP archive.

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 798273@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated java-atk-wrapper 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 07 Sep 2015 17:10:13 +0200
Source: java-atk-wrapper
Binary: libatk-wrapper-java libatk-wrapper-java-jni
Architecture: source amd64 all
Version: 0.33.0-5
Distribution: unstable
Urgency: high
Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description:
 libatk-wrapper-java - ATK implementation for Java using JNI
 libatk-wrapper-java-jni - ATK implementation for Java using JNI (JNI bindings)
Closes: 798273
Changes:
 java-atk-wrapper (0.33.0-5) unstable; urgency=high
 .
   * patches/netbeans: Make
     Java_org_GNOME_Accessibility_AtkWrapper_componentAdded return immediately
     if global_ac is NULL (Closes: #798273).
Checksums-Sha1:
 c01e46b7ee65768a5ca7bc437440b2b5cd7e1eb2 2328 java-atk-wrapper_0.33.0-5.dsc
 18e12041c664ed276f700ca12f66a1755a7dd31b 3862 java-atk-wrapper_0.33.0-5.debian.tar.bz2
 ac50dcbba0760585602a129f90b0e63d85a89b5e 32570 libatk-wrapper-java-jni_0.33.0-5_amd64.deb
 277e0dfd7241897be347d602a8e0e8415d87a6b5 38368 libatk-wrapper-java_0.33.0-5_all.deb
Checksums-Sha256:
 cf769e1cd9b71fb198ad4f3a52aada737124196a6bdea147110f0920702908ef 2328 java-atk-wrapper_0.33.0-5.dsc
 9af0d1fde3dadafbd86b6b96afca90a4518435591901094102066c3968597067 3862 java-atk-wrapper_0.33.0-5.debian.tar.bz2
 37781b9c27401efc9aabb0736f55256d75574fbb2db1ff43714487f20d1692b1 32570 libatk-wrapper-java-jni_0.33.0-5_amd64.deb
 dd63aa16f49c91fa40c960ab786bdb5da2c41d4ae5013cdb0d1a2986fa51ad2f 38368 libatk-wrapper-java_0.33.0-5_all.deb
Files:
 8cde620ff8772d9b662c97c3ebe6eaae 2328 java optional java-atk-wrapper_0.33.0-5.dsc
 f6b49ff2c72f0f11a0fd4c91a35d6827 3862 java optional java-atk-wrapper_0.33.0-5.debian.tar.bz2
 4384d6996a9a8f57343f2944774b08f6 32570 java optional libatk-wrapper-java-jni_0.33.0-5_amd64.deb
 fad2a7c1b6a815b98241ff5a1b6fa1a9 38368 java optional libatk-wrapper-java_0.33.0-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJV7a0IAAoJEAdNJfYUJ+jAU4EP/iLfVXy018sem1Yi/cwxk/Ia
oIfcmq72kLLhWZ9RFqxetMqX3mgUR26AzmavbafaQ39OfhtEPZWq280dHVMhRFfb
CKoBzfFuwF4COm+9IIP7j3JbfA05uYg8TlAgbYpxYoshqX1gP5vbeQk8z1r+u7Ke
NL9kEHL1yXh+V2ZR8dTAAzlK42Z48JSnd2OzhFsHtqp5EL6mQFJezudxT5DRr2rT
RyyjcNTFDjESXyZf2+RLwxnd8+AkO+VKkNzfgpAynEJoyXbZnFNkUjtvHF9wxCGO
6PqbLVo+JXDQI93bBW/6gM9itozflVbzTeEJyF1eDjIFdwn1iee54F0bUhoPhVHE
Tip35wknUhfAAdUnvVKnEoCzQpOKjwBsHPvh37767RddqF/vtNdkvzX7mJZ8pTKX
uTr6iZehWvDD2iRAx5ECJuhSrMitJIOnXAvcZwW6SltfoX7PoKZDsroSk3ZFP0yU
9H5dzyVdnNrPcaWlihxzo0L1+wgu35gu45HaWGkRJrwIWnLPCD9A8lmsDuxQSru0
Yv9HGDWN3VZpE7jH76g5NIsHnfZJxxVD1DPB95CCi6X1W+SeL7CMkr4r3IgjeQti
oONSNA1G1ecmlORwuZI/AsbiV0C1CB58iH6bY6fttdTqx3Cdxfhr8j8GVs9IjeMH
yxzVoSgpaOR4fSgV7MHh
=A3ZW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: