Opened 4 years ago

Last modified 4 years ago

#61195 assigned defect

gpgme crash when loaded by thunderbird 78

Reported by: wglas85 (Wolfgang Glas) Owned by: lbschenkel (Leonardo Brondani Schenkel)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: gpgme

Description (last modified by ryandesign (Ryan Carsten Schmidt))

As per https://wiki.mozilla.org/Thunderbird:OpenPGP:Smartcards we need gpgme to support external gpg decryption for using yubikeys or other hardware tokens.

After confguring all the stuff, I get

Successfully loaded optional OpenPGP library libgpgme.dylib from additional standard locations GPGMELib.jsm:59:13
gpgme version: 1.14.0-unknown GPGMELib.jsm:231:15
configuring GPGME to use an external OpenPGP engine /opt/local/bin/gpgconf - failure: 117440662 GPGMELib.jsm:247:15

in thunderbird logs and a crash report from within gpgme ,which I will attach.

Attachments (1)

tb78-gpgpme-11-fork-crash-log.txt (87.4 KB) - added by wglas85 (Wolfgang Glas) 4 years ago.
macos crash log of gpgme trying to gpg

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by wglas85 (Wolfgang Glas)

macos crash log of gpgme trying to gpg

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans added
Description: modified (diff)
Owner: set to lbschenkel
Priority: HighNormal
Status: newassigned

comment:2 Changed 4 years ago by lbschenkel (Leonardo Brondani Schenkel)

I'm not sure how to fix this, to be honest. I'm not even sure if this is a problem in gpgme or Thunderbird.

comment:3 Changed 4 years ago by wglas85 (Wolfgang Glas)

I've no clue, what's running wrong. I've had combination of thunderbird/gpgme, which worked and after some thunderbird update the combination ceased to work.

Hence, it should be some memory issue.

The thunderbird code calling libgpgme is here:

https://github.com/mozilla/releases-comm-central/blob/master/mail/extensions/openpgp/content/modules/GPGMELib.jsm

AFAICS, they load the shared lib, call gpgme_check_version() and gpgme_set_engine_info(), where the crash occurrs.

Note: See TracTickets for help on using tickets.