Your message dated Sun, 05 Apr 2020 01:33:47 +0000 with message-id <[email protected]> and subject line Bug#955635: fixed in purple-discord 0.9.2020.04.05.git.db7dc79-1 has caused the Debian Bug report #955635, regarding purple-discord: Crashes in ssl_nss_read 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 [email protected] immediately.) -- 955635: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955635 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: purple-discord Version: 0.9.2020.03.10.git.4e71974-1 Severity: important Hello, I have been using purple-discord permanently in the past couple weeks, and I have been hit by a crash several times: #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f94a4dd655b in __GI_abort () at abort.c:79 #2 0x000055d5cf6bbe6c in sighandler (sig=<optimized out>) at ././pidgin/gtkmain.c:179 #3 sighandler (sig=<optimized out>) at ././pidgin/gtkmain.c:162 #4 0x00007f94a4dec7e0 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6 #5 0x00007f949fb2a4a5 in ssl_nss_read (gsc=0x55d5d0d3ae30, data=0x55d5d0d3ab40, len=1) at ././libpurple/plugins/ssl/ssl-nss.c:532 #6 0x00007f949faf8a33 in discord_socket_got_data (userdata=0x55d5d0d3aad0, conn=0x55d5d0d3ae30, cond=<optimized out>) at libdiscord.c:4501 #7 0x000055d5cf6a31e2 in pidgin_io_invoke (source=<optimized out>, condition=<optimized out>, data=0x55d5d148e6f0) at ././pidgin/gtkeventloop.c:73 #8 0x00007f94a52704de in g_main_dispatch (context=0x55d5d066a750) at ../../../glib/gmain.c:3309 #9 g_main_context_dispatch (context=context@entry=0x55d5d066a750) at ../../../glib/gmain.c:3974 #10 0x00007f94a5270890 in g_main_context_iterate (context=0x55d5d066a750, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047 #11 0x00007f94a5270b63 in g_main_loop_run (loop=0x55d5d0d3b0a0) at ../../../glib/gmain.c:4241 #12 0x00007f94a574c12a in IA__gtk_main () at ../../../../gtk/gtkmain.c:1270 #13 0x000055d5cf668970 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:939 (gdb) frame 5 #5 0x00007f949fb2a4a5 in ssl_nss_read (gsc=0x55d5d0d3ae30, data=0x55d5d0d3ab40, len=1) at ././libpurple/plugins/ssl/ssl-nss.c:532 532 ././libpurple/plugins/ssl/ssl-nss.c: Aucun fichier ou dossier de ce type. (gdb) p gsc->private_data $4 = (void *) 0x0 I have never had such issue in the past years with pidgin, so it very most probably is due to the discord plugin (and the backtrace suggests so too) It seems that somehow discord_socket_got_data passes an improper connection, I used the attached browntape patch in pidgin to at least avoid the issue by returning an error instead of crashing my whole pidgin. Samuel -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.5.0 (SMP w/8 CPU cores) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages purple-discord depends on: ii libc6 2.30-2 ii libglib2.0-0 2.64.1-1 ii libjson-glib-1.0-0 1.4.4-2 hi libpurple0 2.13.0-2.2+fix And additionally: ii pidgin 2.13.0-2.2+fix amd64 graphical multi-protocol in> ii pidgin-data 2.13.0-2.2+fix all multi-protocol instant mess> ii pidgin-dbgsym 2.13.0-2.2+fix amd64 debug symbols for pidgin purple-discord recommends no packages. Versions of packages purple-discord suggests: pn python3-harmony <none> -- no debconf information--- libpurple/plugins/ssl/ssl-nss.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/libpurple/plugins/ssl/ssl-nss.c +++ b/libpurple/plugins/ssl/ssl-nss.c @@ -529,10 +529,18 @@ ssl_nss_read(PurpleSslConnection *gsc, v PRInt32 ret; PurpleSslNssData *nss_data = PURPLE_SSL_NSS_DATA(gsc); + if (!nss_data) + { + ret = -1; + errno = EFAULT; + } + else + { ret = PR_Read(nss_data->in, data, len); if (ret == -1) set_errno(PR_GetError()); + } return ret; }
--- End Message ---
--- Begin Message ---Source: purple-discord Source-Version: 0.9.2020.04.05.git.db7dc79-1 Done: Paul Wise <[email protected]> We believe that the bug you reported is fixed in the latest version of purple-discord, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Paul Wise <[email protected]> (supplier of updated purple-discord 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: SHA512 Format: 1.8 Date: Sun, 05 Apr 2020 08:09:21 +0800 Source: purple-discord Architecture: source Version: 0.9.2020.04.05.git.db7dc79-1 Distribution: unstable Urgency: high Maintainer: Paul Wise <[email protected]> Changed-By: Paul Wise <[email protected]> Closes: 955635 Changes: purple-discord (0.9.2020.04.05.git.db7dc79-1) unstable; urgency=high . * New upstream snapshot - Adds workaround for crashes in ssl_nss_read (Closes: #955635) Checksums-Sha1: c79fa7ea2f710aeb55fea1b15a14ab020601fa7f 1999 purple-discord_0.9.2020.04.05.git.db7dc79-1.dsc 8df9bc8455770c6a255b0a91a978f8a52e825ed0 71838 purple-discord_0.9.2020.04.05.git.db7dc79.orig.tar.gz 5c9b636ddd8ce361f6a7e516dba6544175e88bbe 2828 purple-discord_0.9.2020.04.05.git.db7dc79-1.debian.tar.xz b86c879f8df8e4d6a481ea1254e5495dd4a18d9a 11615 purple-discord_0.9.2020.04.05.git.db7dc79-1_source.buildinfo Checksums-Sha256: 9de4166dc424e7a59970ab779b7909f0766ae776001f62f257b8a999cc7ac256 1999 purple-discord_0.9.2020.04.05.git.db7dc79-1.dsc c9e96088aa4e8f3283ecae85decf35eb595e80c6d30fbb9a0f5a28f3687e21a5 71838 purple-discord_0.9.2020.04.05.git.db7dc79.orig.tar.gz 879ca095b46ebe9d701d5878794d8cfa96cb0b7124a6b0d47c939919aa1ad61d 2828 purple-discord_0.9.2020.04.05.git.db7dc79-1.debian.tar.xz 561a6382f4e03f54b0615e2e20ed1dccdac690b25e7d3d02f86a4739b2c01849 11615 purple-discord_0.9.2020.04.05.git.db7dc79-1_source.buildinfo Files: a20cb8de70fc01cf59b0a030e1a447a0 1999 net optional purple-discord_0.9.2020.04.05.git.db7dc79-1.dsc 985d0385e70386c21c5b7afe1e2e9656 71838 net optional purple-discord_0.9.2020.04.05.git.db7dc79.orig.tar.gz 3e800aeb5c03cba5c49a1068602be372 2828 net optional purple-discord_0.9.2020.04.05.git.db7dc79-1.debian.tar.xz 3d421caced707c29e9d10d92489dbc18 11615 net optional purple-discord_0.9.2020.04.05.git.db7dc79-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAl6JMkkACgkQMRa6Xp/6 aaPnJBAAlGWSt8nfZzt35Iws7FvxM1aRRAfzuN2TYpHonMnK6lyP1TPcJgOhKwIF adt2cQab7Xk/gDk2ydmk/wAKMXoKSyIA/QyzJunWm+IsEqZfM/E3xzP04EqoDfyj ewummIJGXVaErGdl+9etleGqhgjsJkuxvgM1+arifGHbuwjfY7WmL2/IW435BWWb m9OA6XWf4YuZNGg3RMubZRTemFq0pUzsggFRVb51Guc4o3xoOT0zEC/iSr9zk+3W MZw2T2y8XYel6Vz5sBoJWqxm1lRYGEzZlS7Nl2Y+B8oed61kBITpmjj3WCPBuyR9 G5jF9ynW20fhl9ZqjGHJarp++sRLMgNbOSdzoaH15VJ9sNONwZzvJ2Vxsou3EEJh u6wWuBKDIJ+OUBFLxxNtOMHyxwRHXFvvzaSTxqumQUq/nDPj36DYjroTsKGPX8tS pcyvIi7r/cjhUpcHokJGsn1iWBzddGR/CNbHuU4i1bTW0TqwQHsZD/qlLWX+KpHA qSZisR30t7jI87lDcP7dpKgnpoi+qHTTIT0Os4X1XGuswi7g65LnxQRnHBwzYgOT VqUc7Oug+Vyr2WaAWV1GfQPp+hcUVwE1SxD0syrKNHOq4k+cVRl5+HBU7w8v2neR My7pWcNdv+UAWdc1QngMlWPiku9bno6VYPVYG94Y7epyd2Es/wk= =K8UM -----END PGP SIGNATURE-----
--- End Message ---

