Bug#828555: sqlcipher: FTBFS with openssl 1.1.0
Package: sqlcipher Version: 3.2.0-1.1+b2 Followup-For: Bug #828555 Sqlcipher 3.4.0 was released but still subject to openssl 1.1 incompatibility. Besides the fact that some 3.2 debian patches don't apply to 3.4, I managed to rebuild the latter with the attached patch. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.10 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages sqlcipher depends on: ii libc6 2.24-5 ii libreadline7 7.0-1 ii libsqlcipher0 3.2.0-1.1+b2 ii libtinfo5 6.0+20160917-1 sqlcipher recommends no packages. Versions of packages sqlcipher suggests: pn sqlite3-doc -- no debconf information --- a/src/crypto_openssl.c +++ b/src/crypto_openssl.c @@ -155,14 +155,24 @@ } static int sqlcipher_openssl_hmac(void *ctx, unsigned char *hmac_key, int key_sz, unsigned char *in, int in_sz, unsigned char *in2, int in2_sz, unsigned char *out) { - HMAC_CTX hctx; unsigned int outlen; +#if OPENSSL_VERSION_NUMBER >= 0x1011L + HMAC_CTX *hctx; + hctx = HMAC_CTX_new(); + HMAC_Init_ex(hctx, hmac_key, key_sz, EVP_sha1(), NULL); + HMAC_Update(hctx, in, in_sz); + HMAC_Update(hctx, in2, in2_sz); + HMAC_Final(hctx, out, &outlen); + HMAC_CTX_free(hctx); +#else + HMAC_CTX hctx; HMAC_CTX_init(&hctx); HMAC_Init_ex(&hctx, hmac_key, key_sz, EVP_sha1(), NULL); HMAC_Update(&hctx, in, in_sz); HMAC_Update(&hctx, in2, in2_sz); HMAC_Final(&hctx, out, &outlen); HMAC_CTX_cleanup(&hctx); +#endif return SQLITE_OK; } @@ -172,9 +182,23 @@ } static int sqlcipher_openssl_cipher(void *ctx, int mode, unsigned char *key, int key_sz, unsigned char *iv, unsigned char *in, int in_sz, unsigned char *out) { - EVP_CIPHER_CTX ectx; int tmp_csz, csz; +#if OPENSSL_VERSION_NUMBER >= 0x1011L + EVP_CIPHER_CTX *ectx; + ectx = EVP_CIPHER_CTX_new(); + EVP_CipherInit(ectx, ((openssl_ctx *)ctx)->evp_cipher, NULL, NULL, mode); + EVP_CIPHER_CTX_set_padding(ectx, 0); // no padding + EVP_CipherInit(ectx, NULL, key, iv, mode); + EVP_CipherUpdate(ectx, out, &tmp_csz, in, in_sz); + csz = tmp_csz; + out += tmp_csz; + EVP_CipherFinal(ectx, out, &tmp_csz); + csz += tmp_csz; + EVP_CIPHER_CTX_free(ectx); + +#else + EVP_CIPHER_CTX ectx; EVP_CipherInit(&ectx, ((openssl_ctx *)ctx)->evp_cipher, NULL, NULL, mode); EVP_CIPHER_CTX_set_padding(&ectx, 0); // no padding EVP_CipherInit(&ectx, NULL, key, iv, mode); @@ -184,7 +208,9 @@ EVP_CipherFinal(&ectx, out, &tmp_csz); csz += tmp_csz; EVP_CIPHER_CTX_cleanup(&ectx); +#endif assert(in_sz == csz); + return SQLITE_OK; }
Bug#821122: [libgtk-3-dev] Missing dependencies accordingly to pkg-config
Package: libgtk-3-dev Version: 3.20.2-1 Followup-For: Bug #821122 Attached pkg-config w/ --debug. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.6 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libgtk-3-dev depends on: ii dconf-gsettings-backend [gsettings-backend] 0.26.0-1 ii gir1.2-gtk-3.0 3.20.2-1 ii libatk-bridge2.0-dev 2.18.1-3 ii libatk1.0-dev2.20.0-1 ii libcairo2-dev1.14.6-1+b1 ii libegl1-mesa-dev 11.1.2-1 ii libepoxy-dev 1.3.1-1 ii libgdk-pixbuf2.0-dev 2.32.3-2 ii libglib2.0-dev 2.48.0-1 ii libgtk-3-0 3.20.2-1 ii libgtk-3-common 3.20.2-1 ii libharfbuzz-dev 1.0.1-1+b1 ii libpango1.0-dev 1.38.1-1 ii libwayland-dev 1.10.0-1 ii libx11-dev 2:1.6.3-1 ii libxcomposite-dev1:0.4.4-1 ii libxcursor-dev 1:1.1.14-1+b1 ii libxdamage-dev 1:1.1.4-2+b1 ii libxext-dev 2:1.3.3-1 ii libxfixes-dev1:5.0.1-2+b2 ii libxi-dev2:1.7.6-1 ii libxinerama-dev 2:1.1.3-1+b1 ii libxkbcommon-dev 0.5.0-1 ii libxrandr-dev2:1.5.0-1 ii pkg-config 0.29-3 ii wayland-protocols1.3-1 libgtk-3-dev recommends no packages. Versions of packages libgtk-3-dev suggests: ii libgtk-3-doc 3.18.9-1 -- no debconf information Error printing enabled by default due to use of output options besides --exists, --atleast/exact/max-version or --list-all. Value of --silence-errors: 0 Error printing enabled Adding virtual 'pkg-config' package to list of known packages Cannot open directory #1 '/usr/local/lib/x86_64-linux-gnu/pkgconfig' in package search path: No such file or directory Scanning directory #2 '/usr/local/lib/pkgconfig' Ignoring file '..' in search directory; not a .pc file Ignoring file '.' in search directory; not a .pc file File 'libnatspec.pc' appears to be a .pc file Will find package 'libnatspec' in file '/usr/local/lib/pkgconfig/libnatspec.pc' Cannot open directory #3 '/usr/local/share/pkgconfig' in package search path: No such file or directory Scanning directory #4 '/usr/lib/x86_64-linux-gnu/pkgconfig' Ignoring file '.' in search directory; not a .pc file Ignoring file '..' in search directory; not a .pc file File 'QtCLucene.pc' appears to be a .pc file Will find package 'QtCLucene' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/QtCLucene.pc' File 'cairo-ps.pc' appears to be a .pc file Will find package 'cairo-ps' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/cairo-ps.pc' File 'libiec61883.pc' appears to be a .pc file Will find package 'libiec61883' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/libiec61883.pc' File 'lua5.2.pc' appears to be a .pc file Will find package 'lua5.2' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/lua5.2.pc' File 'gdk-x11-2.0.pc' appears to be a .pc file Will find package 'gdk-x11-2.0' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-2.0.pc' File 'libva-egl.pc' appears to be a .pc file Will find package 'libva-egl' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/libva-egl.pc' File 'cairo-png.pc' appears to be a .pc file Will find package 'cairo-png' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/cairo-png.pc' File 'vorbisfile.pc' appears to be a .pc file Will find package 'vorbisfile' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/vorbisfile.pc' File 'libva-wayland.pc' appears to be a .pc file Will find package 'libva-wayland' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/libva-wayland.pc' File 'ncursesw.pc' appears to be a .pc file Will find package 'ncursesw' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/ncursesw.pc' File 'QtSvg.pc' appears to be a .pc file Will find package 'QtSvg' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/QtSvg.pc' File 'xcb-keysyms.pc' appears to be a .pc file Will find package 'xcb-keysyms' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/xcb-keysyms.pc' File 'xaw7.pc' appears to be a .pc file Will find package 'xaw7' in file '/usr/lib/x86_64-linux-gnu/pkgconfig/xaw7.pc' File 'kadm-client.pc' appears to be a .pc file Will find package 'kadm-client' in file '/usr/lib/x86_64-linux-gnu/pkg
Bug#821122: [libgtk-3-dev] Missing dependencies accordingly to pkg-config
Package: libgtk-3-dev Version: 3.18.9-1 Severity: grave $ pkg-config gtk+-3.0 --cflags Package libpng16 was not found in the pkg-config search path. Perhaps you should add the directory containing `libpng16.pc' to the PKG_CONFIG_PATH environment variable Package 'libpng16', required by 'gdk-pixbuf-2.0', not found -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.6 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libgtk-3-dev depends on: ii dconf-gsettings-backend [gsettings-backend] 0.26.0-1 ii gir1.2-gtk-3.0 3.18.9-1 ii libatk-bridge2.0-dev 2.18.1-3 ii libatk1.0-dev2.20.0-1 ii libcairo2-dev1.14.6-1+b1 ii libegl1-mesa-dev 11.1.2-1 ii libepoxy-dev 1.3.1-1 ii libgdk-pixbuf2.0-dev 2.32.3-2 ii libglib2.0-dev 2.48.0-1 ii libgtk-3-0 3.18.9-1 ii libgtk-3-common 3.18.9-1 ii libpango1.0-dev 1.38.1-1 ii libwayland-dev 1.10.0-1 ii libx11-dev 2:1.6.3-1 ii libxcomposite-dev1:0.4.4-1 ii libxcursor-dev 1:1.1.14-1+b1 ii libxdamage-dev 1:1.1.4-2+b1 ii libxext-dev 2:1.3.3-1 ii libxfixes-dev1:5.0.1-2+b2 ii libxi-dev2:1.7.6-1 ii libxinerama-dev 2:1.1.3-1+b1 ii libxkbcommon-dev 0.5.0-1 ii libxrandr-dev2:1.5.0-1 ii pkg-config 0.29-3 libgtk-3-dev recommends no packages. Versions of packages libgtk-3-dev suggests: ii libgtk-3-doc 3.18.9-1 -- no debconf information
Bug#820381: rar crashes.
Package: rar Version: 2:5.3.b2-1 Followup-For: Bug #820381 Sure, I'll attach a dump. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.6 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) rar depends on no packages. rar recommends no packages. Versions of packages rar suggests: ii unrar 1:5.3.2-1 -- no debconf information execve("/usr/bin/rar", ["rar", "x", "compressed.rar"], [/* 57 vars */]) = 0 uname({sysname="Linux", nodename="polesbook", ...}) = 0 brk(0) = 0x243c000 brk(0x243d1c0) = 0x243d1c0 arch_prctl(ARCH_SET_FS, 0x243c8a0) = 0 set_tid_address(0x243cb70) = 8954 set_robust_list(0x243cb80, 24) = 0 futex(0x7fffcfb8348c, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0x7fffcfb8348c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 243c8a0) = -1 EAGAIN (Resource temporarily unavailable) rt_sigaction(SIGRTMIN, {0x471cd0, [], SA_RESTORER|SA_SIGINFO, 0x472300}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x471c00, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x472300}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 brk(0x245e1c0) = 0x245e1c0 brk(0x245f000) = 0x245f000 open("/usr/lib/locale/locale-archive", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=1889728, ...}) = 0 mmap(NULL, 1889728, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f503e917000 close(3)= 0 rt_sigaction(SIGINT, {0x4140c0, [INT], SA_RESTORER|SA_RESTART, 0x472300}, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0x4140c0, [TERM], SA_RESTORER|SA_RESTART, 0x472300}, {SIG_DFL, [], 0}, 8) = 0 open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=26258, ...}) = 0 mmap(NULL, 26258, PROT_READ, MAP_SHARED, 3, 0) = 0x7f503e91 close(3)= 0 futex(0x78f740, FUTEX_WAKE_PRIVATE, 2147483647) = 0 open("/home/alex", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 fcntl(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) getdents(3, /* 373 entries */, 32768) = 12744 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/home/alex", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 373 entries */, 32768) = 12744 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/home/alex", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 373 entries */, 32768) = 12744 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/etc", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 353 entries */, 32768) = 11472 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/etc", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 353 entries */, 32768) = 11472 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/etc", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 353 entries */, 32768) = 11472 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/etc/rar", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/etc/rar", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/etc/rar", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 802 entries */, 32768) = 32760 getdents(3, /* 182 entries */, 32768) = 7640 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/usr/lib", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 802 entries */, 32768) = 32760 getdents(3, /* 182 entries */, 32768) = 7640 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/usr/lib", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 802 entries */, 32768) = 32760 getdents(3, /* 182 entries */, 32768) = 7640 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/usr/local/lib", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 23 entries */, 32768)= 760 getdents(3, /* 0 entries */, 32768) = 0 close(3)= 0 open("/usr/local/lib", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 23 entries */, 32768)= 760 getdents(3, /* 0 entries */, 32768) = 0 close
Bug#820381: rar crashes.
Package: rar Version: 2:5.3.b2-1 Followup-For: Bug #820381 Btw,I have this in syslog: [152168.040770] rar[8954] vsyscall attempted with vsyscall=none ip:ff600400 cs:33 sp:7fffcfb4a928 ax:ff600400 si:0 di:7fffcfb4a948 -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.6 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) rar depends on no packages. rar recommends no packages. Versions of packages rar suggests: ii unrar 1:5.3.2-1 -- no debconf information
Bug#820381: rar crashes.
Package: rar Version: 2:5.3.b2-1 Severity: serious Rar crashes in all evocations. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.6 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) rar depends on no packages. rar recommends no packages. Versions of packages rar suggests: ii unrar 1:5.3.2-1 -- no debconf information
Bug#802811: libqt5x11extras5: causes konsole to segfault in libX11 on startup
Package: libqt5x11extras5 Version: 5.5.1-2 Followup-For: Bug #802811 I can confirm that too. no kde app opens after having this upgraded. Besides, the testing version is gone so I'll have to manually search for an older version. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.3 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libqt5x11extras5 depends on: ii libc6 2.19-22 ii libqt5core5a 5.4.2+dfsg-9 ii libqt5gui55.4.2+dfsg-9 libqt5x11extras5 recommends no packages. libqt5x11extras5 suggests no packages. -- no debconf information
Bug#798924: /usr/lib/x86_64-linux-gnu/jni/libatk-wrapper.so.6.0.0: SIGSEGV on Netbeans startup
Package: libatk-wrapper-java-jni Version: 0.33.3-1.1 Followup-For: Bug #798924 I'm refreshing the patch with a potential fix for an aditional crash (a double free() invocation) which crashed java too. I'm not sure it really fixed it, but it's harmless if it didn't, anyway. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.1 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libatk-wrapper-java-jni depends on: ii libatk-bridge2.0-0 2.18.0-1 ii libatk-wrapper-java 0.33.3-1.1 ii libatk1.0-0 2.18.0-1 ii libatspi2.0-02.18.0-1 ii libc62.19-22 ii libcairo-gobject21.14.2-2 ii libcairo21.14.2-2 ii libdbus-1-3 1.10.0-3 ii libgdk-pixbuf2.0-0 2.32.0-1 ii libglib2.0-0 2.46.0-2 ii libgtk-3-0 3.16.6-1 ii libgtk2.0-0 2.24.28-1 ii libpango-1.0-0 1.38.0-3 ii libpangocairo-1.0-0 1.38.0-3 libatk-wrapper-java-jni recommends no packages. libatk-wrapper-java-jni suggests no packages. -- no debconf information Index: java-atk-wrapper-0.33.3/jni/src/AtkWrapper.c === --- java-atk-wrapper-0.33.3.orig/jni/src/AtkWrapper.c +++ java-atk-wrapper-0.33.3/jni/src/AtkWrapper.c @@ -258,6 +258,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk jobject jAccContext) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(focus_notify_handler, para); } @@ -335,6 +340,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); para->is_toplevel = (jIsToplevel == JNI_TRUE) ? TRUE : FALSE; gdk_threads_add_idle(window_open_handler, para); @@ -412,6 +422,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk jboolean jIsToplevel) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); para->is_toplevel = (jIsToplevel == JNI_TRUE) ? TRUE : FALSE; gdk_threads_add_idle(window_close_handler, para); @@ -462,6 +477,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk jobject jAccContext) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_minimize_handler, para); } @@ -511,6 +531,11 @@ JNIEXPORT void JNICALL Java_org_GNOME_Ac jobject jAccContext) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac ); gdk_threads_add_idle(window_maximize_handler, para); } @@ -561,6 +586,11 @@ JNIEXPORT void JNICALL Java_org_GNOME_Ac { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_restore_handler, para); } @@ -609,6 +639,11 @@ JNIEXPORT void JNICALL Java_org_GNOME_Ac jobject jAccContext) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_activate_handler, para); } @@ -659,6 +694,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_deactivate_
Bug#798924: /usr/lib/x86_64-linux-gnu/jni/libatk-wrapper.so.6.0.0: SIGSEGV on Netbeans startup
Package: libatk-wrapper-java Followup-For: Bug #798924 I'm attaching an additional patch that complements the old netbeans one. With this, I can now open netbeans. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.1 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libatk-wrapper-java depends on: ii x11-utils 7.7+3 Versions of packages libatk-wrapper-java recommends: ii libatk-wrapper-java-jni 0.33.3-1.1 libatk-wrapper-java suggests no packages. -- no debconf information Index: java-atk-wrapper-0.33.3/jni/src/AtkWrapper.c === --- java-atk-wrapper-0.33.3.orig/jni/src/AtkWrapper.c +++ java-atk-wrapper-0.33.3/jni/src/AtkWrapper.c @@ -258,6 +258,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk jobject jAccContext) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(focus_notify_handler, para); } @@ -335,6 +340,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); para->is_toplevel = (jIsToplevel == JNI_TRUE) ? TRUE : FALSE; gdk_threads_add_idle(window_open_handler, para); @@ -412,6 +422,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk jboolean jIsToplevel) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); para->is_toplevel = (jIsToplevel == JNI_TRUE) ? TRUE : FALSE; gdk_threads_add_idle(window_close_handler, para); @@ -462,6 +477,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk jobject jAccContext) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_minimize_handler, para); } @@ -511,6 +531,11 @@ JNIEXPORT void JNICALL Java_org_GNOME_Ac jobject jAccContext) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac ); gdk_threads_add_idle(window_maximize_handler, para); } @@ -561,6 +586,11 @@ JNIEXPORT void JNICALL Java_org_GNOME_Ac { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_restore_handler, para); } @@ -609,6 +639,11 @@ JNIEXPORT void JNICALL Java_org_GNOME_Ac jobject jAccContext) { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_activate_handler, para); } @@ -659,6 +694,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_deactivate_handler, para); } @@ -710,6 +750,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk { jobject global_ac = (*jniEnv)->NewGlobalRef(jniEnv, jAccContext); + if (!global_ac) { + if (jaw_debug) + g_warning("%s: global_ac == NULL", __func__); + return; + } CallbackPara *para = alloc_callback_para(global_ac); gdk_threads_add_idle(window_state_change_handler, para); } @@ -1044,6 +1089,11 @@ JNICALL Java_org_GNOME_Accessibility_Atk jobjectArray args) {
Bug#798924: /usr/lib/x86_64-linux-gnu/jni/libatk-wrapper.so.6.0.0: SIGSEGV on Netbeans startup
Package: libatk-wrapper-java Version: 0.33.3-1 Followup-For: Bug #798924 I've patched the package build system to generate a debug package. This can further help getting usable stack traces from java core dump. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.1 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libatk-wrapper-java depends on: ii x11-utils 7.7+3 Versions of packages libatk-wrapper-java recommends: ii libatk-wrapper-java-jni 0.33.3-1 libatk-wrapper-java suggests no packages. -- debconf-show failed diff -pru 2.orig/java-atk-wrapper-0.33.3/debian/changelog 2/java-atk-wrapper-0.33.3/debian/changelog --- 2.orig/java-atk-wrapper-0.33.3/debian/changelog 2015-09-12 07:39:38.0 -0300 +++ 2/java-atk-wrapper-0.33.3/debian/changelog 2015-10-07 14:36:14.030860951 -0300 @@ -1,3 +1,10 @@ +java-atk-wrapper (0.33.3-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add debug packages. + + -- Alexandre Pereira Nunes Wed, 07 Oct 2015 14:35:51 -0300 + java-atk-wrapper (0.33.3-1) unstable; urgency=medium * New upstream release. diff -pru 2.orig/java-atk-wrapper-0.33.3/debian/control 2/java-atk-wrapper-0.33.3/debian/control --- 2.orig/java-atk-wrapper-0.33.3/debian/control 2015-09-08 23:20:38.0 -0300 +++ 2/java-atk-wrapper-0.33.3/debian/control 2015-10-07 14:33:50.529307388 -0300 @@ -30,3 +30,15 @@ Description: ATK implementation for Java ATK-Bridge. . This package contains the JNI bindings. + +Package: libatk-wrapper-java-jni-dbg +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, libatk-wrapper-java (>= ${source:Version}) +Description: ATK implementation for Java using JNI (JNI bindings) + Java ATK Wrapper is an implementation of ATK which uses JNI. It + converts Java Swing events into ATK events, and sends these events to + ATK-Bridge. + . + This package contains the debug symbos for the JNI bindings. diff -pru 2.orig/java-atk-wrapper-0.33.3/debian/rules 2/java-atk-wrapper-0.33.3/debian/rules --- 2.orig/java-atk-wrapper-0.33.3/debian/rules 2015-09-08 23:26:26.0 -0300 +++ 2/java-atk-wrapper-0.33.3/debian/rules 2015-10-07 14:35:35.614670875 -0300 @@ -12,3 +12,8 @@ clean-local: override_dh_auto_configure: JAVACFLAGS="$(JAVACFLAGS)" dh_auto_configure -- --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)/jni/ + +override_dh_strip: + dh_strip -plibatk-wrapper-java-jni --dbg-package=libatk-wrapper-java-jni-dbg + +.PHONY: override_dh_strip override_dh_auto_configure
Bug#798924: /usr/lib/x86_64-linux-gnu/jni/libatk-wrapper.so.6.0.0: SIGSEGV on Netbeans startup
Package: libatk-wrapper-java Version: 0.33.3-1 Followup-For: Bug #798924 Is this a revival of #798273? -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.1 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages libatk-wrapper-java depends on: ii x11-utils 7.7+3 Versions of packages libatk-wrapper-java recommends: ii libatk-wrapper-java-jni 0.33.3-1 libatk-wrapper-java suggests no packages. -- no debconf information
Bug#718722: Crashes periodically during download
No longer reproductible. Thanks, Alexandre On Thu, Oct 17, 2013 at 4:52 PM, Cristian Greco wrote: > On Sun, 04 Aug 2013 16:07:33 -0300 > Alexandre Pereira Nunes wrote: > >> Package: qbittorrent >> Version: 2.9.8-1 >> Severity: serious >> >> >> I've valgrinded it. It seems to be related to writing to already free()d >> memory, an interaction between libboost and libssl's md4. It could be >> related to either any of qbittorrent itself (bad use of boost; most likely), >> boost >> (likely) or libssl (unlikely). > > Hi, > > could you please check if this is still reproducible with qbittorrent > 3.1.0-1? > > Thanks, > -- > Cristian Greco > GPG key ID: 0xCF4D32E4 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#718722: Crashes periodically during download
Package: qbittorrent Version: 2.9.8-1 Severity: serious I've valgrinded it. It seems to be related to writing to already free()d memory, an interaction between libboost and libssl's md4. It could be related to either any of qbittorrent itself (bad use of boost; most likely), boost (likely) or libssl (unlikely). Valgrind log follows: ==24517== Memcheck, a memory error detector ==24517== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==24517== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==24517== Command: qbittorrent ==24517== Parent PID: 4034 ==24517== ==24517== Thread 5: ==24517== Syscall param sendmsg(mmsg[0].msg_hdr) points to uninitialised byte(s) ==24517==at 0x81EEF4B: sendmmsg (sendmmsg.c:36) ==24517==by 0x1CF6B2DE: __libc_res_nsend (res_send.c:1140) ==24517==by 0x1CF68B8B: __libc_res_nquery (res_query.c:226) ==24517==by 0x1CF69147: __libc_res_nquerydomain (res_query.c:582) ==24517==by 0x1CF6974E: __libc_res_nsearch (res_query.c:378) ==24517==by 0x1CD5DA55: _nss_dns_gethostbyname4_r (dns-host.c:314) ==24517==by 0x81C8E41: gaih_inet (getaddrinfo.c:849) ==24517==by 0x81CC223: getaddrinfo (getaddrinfo.c:2473) ==24517==by 0x5A46A1F: boost::asio::detail::resolve_op >, boost::_bi::list3, boost::arg<1>, boost::arg<2> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x59C55F1: boost::asio::detail::task_io_service::run(boost::system::error_code&) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x59C58E5: boost::asio::detail::posix_thread::func::run() (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x59C1A7D: boost_asio_detail_posix_thread_function (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517== Address 0x1b7536f0 is on thread 5's stack ==24517== ==24517== Thread 9: ==24517== Syscall param sendmsg(mmsg[0].msg_hdr) points to uninitialised byte(s) ==24517==at 0x81EEF4B: sendmmsg (sendmmsg.c:36) ==24517==by 0x1CF6B2DE: __libc_res_nsend (res_send.c:1140) ==24517==by 0x1CF68B8B: __libc_res_nquery (res_query.c:226) ==24517==by 0x1CF69147: __libc_res_nquerydomain (res_query.c:582) ==24517==by 0x1CF6974E: __libc_res_nsearch (res_query.c:378) ==24517==by 0x1CD5DA55: _nss_dns_gethostbyname4_r (dns-host.c:314) ==24517==by 0x81C8E41: gaih_inet (getaddrinfo.c:849) ==24517==by 0x81CC223: getaddrinfo (getaddrinfo.c:2473) ==24517==by 0x5AB0AFF: boost::asio::detail::resolve_op >, boost::_bi::list3 >, boost::arg<1>, boost::arg<2> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x59C55F1: boost::asio::detail::task_io_service::run(boost::system::error_code&) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x59C58E5: boost::asio::detail::posix_thread::func::run() (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x59C1A7D: boost_asio_detail_posix_thread_function (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517== Address 0x1eab96e0 is on thread 9's stack ==24517== ==24517== Thread 4: ==24517== Invalid read of size 1 ==24517==at 0x554F59E: RC4 (rc4-x86_64.s:154) ==24517== Address 0x18f2db80 is 0 bytes inside a block of size 32 free'd ==24517==at 0x4C2A64C: operator delete(void*) (vg_replace_malloc.c:480) ==24517==by 0x5A10B6F: boost::detail::function::functor_manager, boost::_bi::list3, boost::arg<1>, boost::_bi::value > > >::manage(boost::detail::function::function_buffer const&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x5A15E29: void libtorrent::chained_buffer::append_buffer, boost::_bi::list3, boost::arg<1>, boost::_bi::value > > >(char*, int, int, boost::_bi::bind_t, boost::_bi::list3, boost::arg<1>, boost::_bi::value > > const&) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x5A0C1F2: libtorrent::peer_connection::allocate_send_buffer(int) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x5994884: libtorrent::bt_peer_connection::allocate_send_buffer(int) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x5994A3B: libtorrent::bt_peer_connection::write_handshake() (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x5997997: libtorrent::bt_peer_connection::on_receive(boost::system::error_code const&, unsigned long) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x5A0E5FD: libtorrent::peer_connection::on_receive_data_nolock(boost::system::error_code const&, unsigned long) (in /usr/lib/libtorrent-rasterbar.so.6.0.0) ==24517==by 0x5A0FB8B: libtorrent::peer_connection::on_receive_data(boost::syste
Bug#479763: Not fixed yet?
Sorry, but I got lost on the chain of dependencies for this bug and so I must ask: isn't there a fix for those already? What's blocking svk as of now? There are reports on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479698 stating that there's a patch which allows svk to get through.
Bug#401836: gaim-data: This happens often.
Package: gaim-data Version: 1:2.0.0+beta5-3 Followup-For: Bug #401836 This happens often. I already downloaded gaim-data with a higher version dependency (thus unstalling gaim itself) about three times already. I suggest not releasing a newer gaim-data unless the gaim package is published as well. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-k7 Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) gaim-data depends on no packages. Versions of packages gaim-data recommends: ii gaim 1:2.0.0+beta5-3 multi-protocol instant messaging c -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#354031: kmilo is deprecated
Package: kmilo Version: 4:3.5.1-2 Severity: grave Justification: renders package unusable Milo is obsolete. It is not configurable, and since it mainly reacts to keycodes, it is deprecated in favour of control panel customizations. But having milo installed (and enabled; My brand new kde installation enabled it by default, which is unspected) interferes with control panel settings. I do believe it is already marked as obsolete on kde tree. Please Double check. -- 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.6.15-1-k7 Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) Versions of packages kmilo depends on: ii kdelibs4c2a 4:3.5.1-2 core libraries for all KDE applica ii libc6 2.3.6-1GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-9 GCC support library ii libice6 6.9.0.dfsg.1-4 Inter-Client Exchange library ii libpng12-01.2.8rel-5 PNG library - runtime ii libqt3-mt 3:3.3.5-3 Qt GUI Library (Threaded runtime v ii libsm66.9.0.dfsg.1-4 X Window System Session Management ii libstdc++64.0.2-9The GNU Standard C++ Library v3 ii libx11-6 6.9.0.dfsg.1-4 X Window System protocol client li ii libxext6 6.9.0.dfsg.1-4 X Window System miscellaneous exte ii libxtst6 6.9.0.dfsg.1-4 X Window System event recording an ii zlib1g1:1.2.3-9 compression library - runtime kmilo recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]