Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-06-18 Thread Paride Legovini
On Sun, 17 Jun 2018 Carsten Schoenert  wrote:
> Version: 2:2.0.7-2
> 
> On Sun, Jun 17, 2018 at 04:34:11PM +0200, Paride Legovini wrote:
> > On Mon, 16 Apr 2018 Paride Legovini  wrote:
> > > Thunderbird 60 (experimental) crashes when sending GPG encrypted mail
> > > usging enigmail.
> > 
> > I'm now using thunderbird 60.0~b6-1 and enimail 2.2.8-1 and I can't
> > reproduce the problem anymore. I really can't tell what exactly did fix
> > it, but it really seems gone.
> 
> You mean version 2:2.0.7-2 I guess.

I meant thunderbird 60.0~b6-1, *gnupg* 2.2.8-1, and enigmail 2:2.0.7-2,
sorry for the confusion. GnuPG is the only package among these three for
which a new upstream version was packaged since I last observed the
crash, so I don't exclude it was involved. Perhaps the problem was with
the interaction between enigmail and gnupg? We will probably never know.

Anyway, good that the problem is gone!

Paride



Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-06-17 Thread Paride Legovini
On Mon, 16 Apr 2018 Paride Legovini  wrote:
> Thunderbird 60 (experimental) crashes when sending GPG encrypted mail
> usging enigmail.

Dear Carsten and Daniel,

I'm now using thunderbird 60.0~b6-1 and enimail 2.2.8-1 and I can't
reproduce the problem anymore. I really can't tell what exactly did fix
it, but it really seems gone.

Paride



Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-05-02 Thread Carsten Schoenert
control: reassign -1 enigmail
control: found -1 1:60.0~b5-1

Hello Daniel,

now after I know how I need to package, or better to correct the 
lightning package I tried to digging into this issue here as well.
First I can reproduce the behavior from Paride with the enigmail
extension installed as a local extension. But unfortunately the
behavior is the same if I link enigmail to /u/l/t/extensions.

cd /usr/lib/thunderbird/extensions
root@i5:/usr/lib/thunderbird/extensions# ln -s /usr/share/xul-ext/enigmail 
"{847b3a00-7ab1-11d4-8f02-006008948af5}"
root@i5:/usr/lib/thunderbird/extensions# ls -la 
insgesamt 12
drwxr-xr-x 2 root root 4096 Mai  2 21:00 .
drwxr-xr-x 5 root root 4096 Apr 29 18:52 ..
lrwxrwxrwx 1 root root   27 Mai  2 21:00 {847b3a00-7ab1-11d4-8f02-006008948af5} 
-> /usr/share/xul-ext/enigmail
lrwxrwxrwx 1 root root   24 Apr 28 19:15 {e2fda1a4-762b-4020-b5ad-a41df1933103} 
-> ../../../share/lightning
lrwxrwxrwx 1 root root   73 Apr 28 19:15 langpack...@firefox.mozilla.org.xpi -> 
../../../share/thunderbird/extensions/langpack...@firefox.mozilla.org.xpi

If start now Thunderbird and try to write an encrypted mail to myself
Thunderbird is crashing like described by Paride previously in this
report.

I'm a bit helpless here as I've no idea what's going on and wrong here
as enigmail itself has no compiled *so like files. But as the enigmail
package from Debian is provoking a segfault of Thunderbird also if
enigmail is installed within the local profile I can image we need to
adjust some compiling option for Thunderbird. Or maybe Patrick has a
idea what needs to be changed here.

I reassigned the issue to enigmail due the strong relevance to the
enigmail package, that means not I think enigmail is the culprit. If
you disagree feel free to reassign back to thunderbird. I believe you
know much better about the internals of enigmail and have some idea how
to catch the problem.

Regards
Carsten

On Thu, Apr 19, 2018 at 09:14:31PM +0200, Paride Legovini wrote:
> On 19/04/2018 18.26, Carsten Schoenert wrote:
> > Hi,
> > 
> > On Thu, Apr 19, 2018 at 03:29:03PM +0200, Paride Legovini wrote:
> >  
> >> It seems there is no ‘thunderbird-dbgsym’ package available.
> >> Am I missing something?
> > 
> > ahm, yes. You will need for sure to add some extra sources to your apt
> > configuration get the dbgsym packages.
> > 
> > https://wiki.debian.org/HowToGetABacktrace
> 
> Admittedly, I had never installed debug symbols packages before. Bad
> news anyway: the debug symbols are read, but I still get only those
> . I'm sending you the output as an attachment, just in case I
> missed something useful.
> 
> Let me know if there is anything else I can try.
> Thanks for looking into this.
> 
> Paride

> $ RUST_BACKTRACE=1 gdb /usr/lib/thunderbird/thunderbird
> GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /usr/lib/thunderbird/thunderbird...Reading symbols from 
> /usr/lib/debug/.build-id/b6/c0cb8e98c17eed7d909b82d3ed4b5d2390cb48.debug...done.
> done.
> (gdb) run
> Starting program: /usr/lib/thunderbird/thunderbird
> /usr/lib/thunderbird/defaults/pref/vendor.js:2: prefs parse error: unknown 
> keyword
> thread '' panicked at '`before_sheet` stylesheet not found', 
> src/libcore/option.rs:891:5
> stack backtrace:
>0: 
>1: 
>2: 
>3: 
>4: 
>5: 
>6: 
>7: 
>8: 
>9: 
>   10: 
>   11: 
>   12: 
>   13: 
>   14: 
>   15: 
>   16: 
>   17: 
>   18: 
>   19: 
>   20: 
>   21: 
>   22: 
>   23: 
>   24: 
>   25: 
>   26: 
>   27: 
>   28: 
>   29: 
>   30: 
>   31: 
>   32: 
>   33: 
>   34: 
>   35: 
>   36: 
>   37: 
>   38: 
>   39: 
>   40: 
>   41: 
>   42: 
>   43: 
>   44: 
>   45: 
>   46: 
>   47: 
>   48: 
>   49: 
>   50: 
>   51: 
>   52: 
>   53: 
>   54: 
>   55: 
>   56: 
>   57: 
>   58: 
>   59: 
>   60: 
>   61: 
>   62: 
>   63: 
>   64: 
>   65: 
>   66: 
>   67: 
>   68: 
>   69: 
>   70: 
>   71: 
>   72: 
>   73: 
>   74: 
>   75: 
>   76: 
>   77: 
>   78: 
>   79: 
>   80: 
>   81: 
>   82: 
>   83: 
>   84: 
>   85: 
>   86: 
>   87: 
>   88: 
>   89: 
>   90: 
>   91: 
>   92: 
>   93: 
>   94: 
>   95: 
>   96: 
>   97: 
>   98: 
>   99: 
> Redirecting call to abort() to mozalloc_abort
> 
> ExceptionHandler::GenerateDump cloned child 10969
> 

Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-04-19 Thread Paride Legovini
On 19/04/2018 18.26, Carsten Schoenert wrote:
> Hi,
> 
> On Thu, Apr 19, 2018 at 03:29:03PM +0200, Paride Legovini wrote:
>  
>> It seems there is no ‘thunderbird-dbgsym’ package available.
>> Am I missing something?
> 
> ahm, yes. You will need for sure to add some extra sources to your apt
> configuration get the dbgsym packages.
> 
> https://wiki.debian.org/HowToGetABacktrace

Admittedly, I had never installed debug symbols packages before. Bad
news anyway: the debug symbols are read, but I still get only those
. I'm sending you the output as an attachment, just in case I
missed something useful.

Let me know if there is anything else I can try.
Thanks for looking into this.

Paride
$ RUST_BACKTRACE=1 gdb /usr/lib/thunderbird/thunderbird
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/thunderbird/thunderbird...Reading symbols from 
/usr/lib/debug/.build-id/b6/c0cb8e98c17eed7d909b82d3ed4b5d2390cb48.debug...done.
done.
(gdb) run
Starting program: /usr/lib/thunderbird/thunderbird
/usr/lib/thunderbird/defaults/pref/vendor.js:2: prefs parse error: unknown 
keyword
thread '' panicked at '`before_sheet` stylesheet not found', 
src/libcore/option.rs:891:5
stack backtrace:
   0: 
   1: 
   2: 
   3: 
   4: 
   5: 
   6: 
   7: 
   8: 
   9: 
  10: 
  11: 
  12: 
  13: 
  14: 
  15: 
  16: 
  17: 
  18: 
  19: 
  20: 
  21: 
  22: 
  23: 
  24: 
  25: 
  26: 
  27: 
  28: 
  29: 
  30: 
  31: 
  32: 
  33: 
  34: 
  35: 
  36: 
  37: 
  38: 
  39: 
  40: 
  41: 
  42: 
  43: 
  44: 
  45: 
  46: 
  47: 
  48: 
  49: 
  50: 
  51: 
  52: 
  53: 
  54: 
  55: 
  56: 
  57: 
  58: 
  59: 
  60: 
  61: 
  62: 
  63: 
  64: 
  65: 
  66: 
  67: 
  68: 
  69: 
  70: 
  71: 
  72: 
  73: 
  74: 
  75: 
  76: 
  77: 
  78: 
  79: 
  80: 
  81: 
  82: 
  83: 
  84: 
  85: 
  86: 
  87: 
  88: 
  89: 
  90: 
  91: 
  92: 
  93: 
  94: 
  95: 
  96: 
  97: 
  98: 
  99: 
Redirecting call to abort() to mozalloc_abort

ExceptionHandler::GenerateDump cloned child 10969
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
During startup program exited with code 11.
(gdb)



Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-04-19 Thread Carsten Schoenert
Hi,

On Thu, Apr 19, 2018 at 03:29:03PM +0200, Paride Legovini wrote:
 
> It seems there is no ‘thunderbird-dbgsym’ package available.
> Am I missing something?

ahm, yes. You will need for sure to add some extra sources to your apt
configuration get the dbgsym packages.

https://wiki.debian.org/HowToGetABacktrace

Regards
Carsten



Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-04-19 Thread Paride Legovini
On Mon, 16 Apr 2018 Carsten Schoenert  wrote:

> Yes, the debugging will be slightly different now. For this the starting
> wrapper needs to be adjusted again and for now the calls need to be done
> manually to get backtraces.
> 
> $ sudo apt install thunderbird-dbgsym

It seems there is no ‘thunderbird-dbgsym’ package available.
Am I missing something?

Paride



Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-04-16 Thread Paride Legovini
Hello Carsten,

On 16/04/2018 12.13, Carsten Schoenert wrote:
> Hello Paride,
> 
> On Mon, Apr 16, 2018 at 11:00:46AM +0200, Paride Legovini wrote:
>> Thunderbird 60 (experimental) crashes when sending GPG encrypted mail
>> usging enigmail. This was not happening with Thunderbird 58, again from
>> experimental. I can always reproduce the issue and it doesn't happen
>> with signed only messages.
> 
> due you use the enigmail package from experimental or installed locally?
> I assume you use a local installed enigmail addon. Thunderbird uses
> since version 59 a different addon interface, only webextension is now
> supported.

I'm using a locally installed enigmail package (the .xpi from
enigmail.org). I would like to switch to the Debian packaged addon, but
at the moment I can't (see my other bug report #895403).

I'm using enigmail-2.0.2, it should work as a webextension.

> Unfortunately I need to confirm this behavior on my local setup no
> matter if I use the enigmail package from experimental or a local
> installed package. 

At least now I know it is not a quirk of my setup. Thanks.

Paride



Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-04-16 Thread Carsten Schoenert
Hello Paride,

On Mon, Apr 16, 2018 at 11:00:46AM +0200, Paride Legovini wrote:
> Thunderbird 60 (experimental) crashes when sending GPG encrypted mail
> usging enigmail. This was not happening with Thunderbird 58, again from
> experimental. I can always reproduce the issue and it doesn't happen
> with signed only messages.

due you use the enigmail package from experimental or installed locally?
I assume you use a local installed enigmail addon. Thunderbird uses
since version 59 a different addon interface, only webextension is now
supported.

Unfortunately I need to confirm this behavior on my local setup no
matter if I use the enigmail package from experimental or a local
installed package. 

> The backtrace is not very useful. The ‘vendor.js’ parse error appears as
> Thunderbird starts, and I don't think it's relevant for this issue. The
> rest appears as I (try to) send the encrypted message.
> 
> 
> $ RUST_BACKTRACE=1 thunderbird
> /usr/lib/thunderbird/defaults/pref/vendor.js:2: prefs parse error: unknown 
> keyword
> thread '' panicked at '`before_sheet` stylesheet not found', 
> src/libcore/option.rs:891:5
> stack backtrace:
>0: 
>1: 
>2: 
>3: 
> [...]
>   99: 
> Redirecting call to abort() to mozalloc_abort
> 
> ExceptionHandler::GenerateDump cloned child 5841
> ExceptionHandler::SendContinueSignalToChild sent continue signal to child
> ExceptionHandler::WaitForContinueSignal waiting for continue signal...
> 

Yes, the debugging will be slightly different now. For this the starting
wrapper needs to be adjusted again and for now the calls need to be done
manually to get backtraces.

$ sudo apt install thunderbird-dbgsym
$ RUST_BACKTRACE=1 gdb /usr/lib/thinderbird/thunderbird
...
(gdb) run
...
(gdb) thread applly all bt

I've done this yesterday quickly but didn't have seen a catch to get a
clued what's going wrong here. So I've no idea if thunderbird or
enigmail itself is causing this segfault. On the other hand thunderbird
isn't allowed to crash anyway.

If possible append a backtrace as file please.

Regards
Carsten



Bug#895808: thunderbird(+enigmail): crashes when sending GPG-encrypted email

2018-04-16 Thread Paride Legovini
Package: thunderbird
Version: 1:60.0~b3-1
Severity: normal

Dear Maintainer,

Thunderbird 60 (experimental) crashes when sending GPG encrypted mail
usging enigmail. This was not happening with Thunderbird 58, again from
experimental. I can always reproduce the issue and it doesn't happen
with signed only messages.

The backtrace is not very useful. The ‘vendor.js’ parse error appears as
Thunderbird starts, and I don't think it's relevant for this issue. The
rest appears as I (try to) send the encrypted message.


$ RUST_BACKTRACE=1 thunderbird
/usr/lib/thunderbird/defaults/pref/vendor.js:2: prefs parse error: unknown 
keyword
thread '' panicked at '`before_sheet` stylesheet not found', 
src/libcore/option.rs:891:5
stack backtrace:
   0: 
   1: 
   2: 
   3: 
[...]
  99: 
Redirecting call to abort() to mozalloc_abort

ExceptionHandler::GenerateDump cloned child 5841
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...


Thank you,

Paride

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

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

Versions of packages thunderbird depends on:
ii  debianutils   4.8.4
ii  fontconfig2.13.0-4
ii  libatk1.0-0   2.28.1-1
ii  libc6 2.27-3
ii  libcairo-gobject2 1.15.10-2
ii  libcairo2 1.15.10-2
ii  libdbus-1-3   1.12.6-2
ii  libdbus-glib-1-2  0.110-2
ii  libevent-2.1-62.1.8-stable-4
ii  libffi6   3.2.1-8
ii  libfontconfig12.13.0-4
ii  libfreetype6  2.8.1-2
ii  libfribidi0   0.19.7-2
ii  libgcc1   1:8-20180414-1
ii  libgdk-pixbuf2.0-02.36.11-2
ii  libglib2.0-0  2.56.1-2
ii  libgtk-3-03.22.29-3
ii  libgtk2.0-0   2.24.32-1
ii  libhunspell-1.6-0 1.6.2-1
ii  libjsoncpp1   1.7.4-3
ii  libnspr4  2:4.19-1
ii  libnss3   2:3.36.1-1
ii  libpango-1.0-01.42.1-1
ii  libpangocairo-1.0-0   1.42.1-1
ii  libpangoft2-1.0-0 1.42.1-1
ii  libsqlite3-0  3.23.1-1
ii  libstartup-notification0  0.12-5
ii  libstdc++68-20180414-1
ii  libvpx5   1.7.0-3
ii  libx11-6  2:1.6.5-1
ii  libx11-xcb1   2:1.6.5-1
ii  libxcb-shm0   1.13-1
ii  libxcb1   1.13-1
ii  libxcomposite11:0.4.4-2
ii  libxcursor1   1:1.1.15-1
ii  libxdamage1   1:1.1.4-3
ii  libxext6  2:1.3.3-1+b2
ii  libxfixes31:5.0.3-1
ii  libxi62:1.7.9-1
ii  libxrender1   1:0.9.10-1
ii  libxt61:1.1.5-1
ii  psmisc23.1-1
ii  x11-utils 7.7+4
ii  zlib1g1:1.2.8.dfsg-5

Versions of packages thunderbird recommends:
ii  hunspell-en-us [hunspell-dictionary]  1:2017.08.24
ii  hunspell-it [hunspell-dictionary] 1:6.0.3-2
pn  lightning 

Versions of packages thunderbird suggests:
ii  apparmor  2.12-4
ii  fonts-lyx 2.3.0-2
ii  libgssapi-krb5-2  1.16-2

-- no debconf information