Bug#923980: claws-mail-gdata-plugin: gdata plugin crashes after update to 3.17.3-1

2019-04-16 Thread Ricardo Mones
control: reopen -1
control: notfixed -1 claws-mail/3.17.3-2
control: tags -1 help

Hi Christian,

On Wed, Apr 10, 2019 at 06:31:49PM +0200, Christian Beier wrote:
> 
> Hi Ricardo,
> 
> I just upgraded to 3.17.3-2, but unfortunately still get the segfault:
[…]
> I checked with 3.17.3-2's source package and there is a de.gmo file in
> there which still contains the %s. Might this be the reason?

Yes, the added patch fixes the source file, but does not fix the
binaries already there, which come from upstream.

I hadn't time to do much tests, just tried to remove the gmo files from
master and rebuild, but the result is still the same.

The only idea left is to repackage upstream tarball, but since that's an
idea I don't like much I'm Cc-ing the release list for advice on how to
deal with this (thanks in advance! :)

best regards,
-- 
  Ricardo Mones 
  ~
  Absence of evidence is not evidence of absence.  Carl Sagan



signature.asc
Description: PGP signature


Bug#923980: claws-mail-gdata-plugin: gdata plugin crashes after update to 3.17.3-1

2019-04-10 Thread Christian Beier

Hi Ricardo,

I just upgraded to 3.17.3-2, but unfortunately still get the segfault:

---
Thread 1 "claws-mail" received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Datei oder Verzeichnis nicht 
gefunden.
(gdb) bt
#0  0x76018436 in __strlen_sse2 () at 
../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x75fd1bef in _IO_vfprintf_internal (s=s@entry=0x7fffb9e0, 
format=format@entry=0x7155050f "GData-Plugin: Erneuern der Autorisierung 
erfolgreich: %s\n", ap=ap@entry=0x7fffbba8)
at vfprintf.c:1638
#2  0x760885a9 in ___vsnprintf_chk
(s=0x7fffbbcb "GData-Plugin: Erneuern der Autorisierung erfolgreich: 
\024\221", maxlen=, flags=1, slen=, 
format=0x7155050f "GData-Plugin: Erneuern der Autorisierung erfolgreich: 
%s\n", args=0x7fffbba8) at vsnprintf_chk.c:63
#3  0x005fe2c4 in log_message ()
#4  0x7fffee549025 in  () at 
/usr/lib/x86_64-linux-gnu/claws-mail/plugins/gdata.so
#5  0x76d49719 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x76d49759 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x76b5bdd8 in g_main_context_dispatch () at 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x76b5c1c8 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x76b5c4c2 in g_main_loop_run () at 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x77c788e7 in gtk_main () at 
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00449cc8 in main ()
(gdb) q
A debugging session is active.

Inferior 1 [process 11179] will be killed.
---

I checked with 3.17.3-2's source package and there is a de.gmo file in there 
which still contains the %s. Might this be the reason?


Cheers,
-- 
Christian Beier, CTO.

W   https://shoutrlabs.com
E   c...@shoutrlabs.com
L   https://www.linkedin.com/in/christianbeier
P   +49 (0)30-555794563
T   https://twitter.com/shoutrlabs

what is, is; what is not is possible.

shoutr labs UG (haftungsbeschränkt), 
Wolfener Straße 32-34, Haus K, CleanTech Innovation Center, 12681 Berlin
HRB 154532 B, AG Charlottenburg
Managing directors: Christian Beier, Sebastian Winkler



pgpU7IBQjf1CC.pgp
Description: Digitale Signatur von OpenPGP


Bug#923980: claws-mail-gdata-plugin: gdata plugin crashes after update to 3.17.3-1

2019-03-16 Thread Ricardo Mones
control: severity -1 important
control: tags -1 confirmed fixed-upstream

Hi Christian,

On Thu, 07 Mar 2019 22:10:53 +0100
Christian Beier  wrote:

> Package: claws-mail-gdata-plugin
> Version: 3.17.3-1
> Severity: normal
> 
> Dear Maintainer,
> 
> I recently upgraded from stretch to buster, now claws-mail with gdata
> plugin enabled segfaults.
> 
> Runs fine without gdata plugin enabled.
> 
> Also runs fine with `LANG=C claws-mail`
> 
> It seems the locale makes a difference, please see attached backtrace for
> the default de_DE.UTF-8

Thanks for reporting! I've fixed this upstream¹, but hopefully will provide
an updated package soon.

best regards,

¹
https://git.claws-mail.org/?p=claws.git;a=commitdiff;h=0ffa910327b3476aafec74013d69af98dd9fb5e2
-- 
 Ricardo Mones
 http://people.debian.org/~mones
 «Conscious is when you are aware of something and conscience is when 
 you wish you weren't.»


pgpSjRWPmOD9J.pgp
Description: Firma digital OpenPGP


Bug#923980: claws-mail-gdata-plugin: gdata plugin crashes after update to 3.17.3-1

2019-03-07 Thread Christian Beier
Package: claws-mail-gdata-plugin
Version: 3.17.3-1
Severity: normal

Dear Maintainer,

I recently upgraded from stretch to buster, now claws-mail with gdata plugin
enabled segfaults.

Runs fine without gdata plugin enabled.

Also runs fine with `LANG=C claws-mail`

It seems the locale makes a difference, please see attached backtrace for the
default de_DE.UTF-8:

```

Thread 1 "claws-mail" received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Datei oder Verzeichnis nicht
gefunden.
(gdb) bt
#0  0x76019436 in __strlen_sse2 () at
../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x75fd2bef in _IO_vfprintf_internal (s=s@entry=0x7fffb9f0,
format=format@entry=0x7133450f "GData-Plugin: Erneuern der Autorisierung
erfolgreich: %s\n", ap=ap@entry=0x7fffbbb8)
at vfprintf.c:1638
#2  0x76089549 in ___vsnprintf_chk
(s=0x7fffbbdb "GData-Plugin: Erneuern der Autorisierung erfolgreich: ",
maxlen=, flags=1, slen=, format=0x7133450f
"GData-Plugin: Erneuern der Autorisierung erfolgreich: %s\n",
args=0x7fffbbb8) at vsnprintf_chk.c:63
#3  0x005fde64 in log_message ()
#4  0x701b6025 in  () at /usr/lib/x86_64-linux-gnu/claws-
mail/plugins/gdata.so
#5  0x76d4a719 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x76d4a759 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x76b5cdd8 in g_main_context_dispatch () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#8  0x76b5d1c8 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x76b5d4c2 in g_main_loop_run () at /usr/lib/x86_64-linux-
gnu/libglib-2.0.so.0
#10 0x77c798e7 in gtk_main () at /usr/lib/x86_64-linux-
gnu/libgtk-x11-2.0.so.0
#11 0x00449ccf in main ()

```




-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-0.bpo.2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages claws-mail-gdata-plugin depends on:
ii  claws-mail   3.17.3-1
ii  libatk1.0-0  2.30.0-2
ii  libc62.28-7
ii  libcairo21.16.0-3
ii  libcurl3-gnutls  7.64.0-1
ii  libdb5.3 5.3.28+dfsg1-0.3
ii  libetpan20   1.9.3-1
ii  libexpat12.2.6-1
ii  libfontconfig1   2.13.1-2
ii  libfreetype6 2.9.1-3
ii  libgdata22   0.17.9-3
ii  libgdk-pixbuf2.0-0   2.38.0+dfsg-7
ii  libglib2.0-0 2.58.3-1
ii  libgnutls30  3.6.6-2
ii  libgtk2.0-0  2.24.32-3
ii  libjson-glib-1.0-0   1.4.4-2
ii  liblockfile1 1.14-1.1
ii  libpango-1.0-0   1.42.4-6
ii  libpangocairo-1.0-0  1.42.4-6
ii  libpangoft2-1.0-01.42.4-6
ii  libsasl2-2   2.1.27+dfsg-1
ii  libsoup2.4-1 2.64.2-2
ii  libxml2  2.9.4+dfsg1-7+b3

claws-mail-gdata-plugin recommends no packages.

claws-mail-gdata-plugin suggests no packages.

-- no debconf information