seahorse-tool crashing on encrypt/sign & segfault on decrypt

Bug #514950 reported by dje
82
This bug affects 15 people
Affects Status Importance Assigned to Milestone
seahorse-plugins
Fix Released
Critical
seahorse-plugins (Debian)
Fix Released
Unknown
seahorse-plugins (Ubuntu)
Fix Released
High
Canonical Desktop Team
Lucid
Fix Released
High
Canonical Desktop Team

Bug Description

Binary package hint: seahorse-plugins

Running seahorse-tool -e results in the error:
** (seahorse-tool:2904): CRITICAL **: prompt_recipients: assertion `GPG_IS_OK (gerr)' failed

Running seahorse-tool -s results in the error:
** (seahorse-tool:3025): CRITICAL **: prompt_signer: assertion `GPG_IS_OK (gerr)' failed

Running seahorse-tool -d results in the error:
** (seahorse-tool:3026): CRITICAL **: seahorse_pgp_operation_init: assertion `GPG_IS_OK (err)' failed
Segmentation fault (core dumped)
(seahorse-tool:3028): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed

Observed on a fully updated lucid system

ProblemType: Bug
Architecture: amd64
Date: Sun Jan 31 00:45:03 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100128)
NonfreeKernelModules: wl
Package: seahorse-plugins 2.28.1-0ubuntu5
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-12.16-generic
SourcePackage: seahorse-plugins
Uname: Linux 2.6.32-12-generic x86_64

Revision history for this message
dje (duncaneastoe) wrote :
Revision history for this message
dje (duncaneastoe) wrote :

Bug still exists after package upgrade:

seahorse-plugins:
  Installed: 2.29.90-0ubuntu1

seahorse:
  Installed: 2.29.90-0ubuntu1

Revision history for this message
dje (duncaneastoe) wrote :

This bug still exists:

seahorse:
  Installed: 2.29.91-0ubuntu1

seahorse-plugins:
  Installed: 2.29.91-0ubuntu1

Any comments?

Revision history for this message
323232 (323232) wrote :

Confirmed, when I try to encrypt a file using the right mouse click and choosing tot option to encrypt I get the dialogue choose receiptients and choose the right key. I gave an OK and the dialogues closes. Noting happens further. the file is not encryptedn and in the xsession errors file the error essage appears;
** (seahorse-tool:2846): CRITICAL **: prompt_recipients: assertion `GPG_IS_OK (gerr)' failed

Roger (r-wiberg)
Changed in seahorse-plugins (Ubuntu):
status: New → Confirmed
Revision history for this message
Roger (r-wiberg) wrote :

Unfortunately, this bug is still present in today's 2.30.0-0ubuntu1 release of seahorse-plugins/seahorse tools. There seems to be no way of getting this to work: it doesn't work from the context menu in nautilus, and it doesn't work from the command line.

Could someone please have a look at this? If there's no patch, we'll get an Ubuntu 10.04 that can neither encrypt, nor decrypt or verify. And the thought of a a Linux system that can't do this is mind-boggling, frankly...

tags: added: regression-potential
Revision history for this message
dje (duncaneastoe) wrote :

Still no updates? This was reported in January and is a major regression of a useful feature

Changed in seahorse-plugins (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in seahorse-plugins (Ubuntu Lucid):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Changed in seahorse-plugins (Debian):
status: Unknown → Confirmed
Revision history for this message
Daniel Jour (danieloertwig) wrote :

I can confirm this bug.
When trying to decrypt any file, seahorse-tool segfaults.

Syslog:

Apr 6 11:04:59 localhost kernel: [ 1476.907230] seahorse-tool[4432]: segfault at 68 ip 00007f8849350b79 sp 00007fff2c59df60 error 4 in libgpgme.so.11.7.0[7f8849332000+31000]

Console-output:

seahorse-tool -dv Desktop/to.flv.pgp

** (seahorse-tool:4432): CRITICAL **: seahorse_pgp_operation_init: assertion `GPG_IS_OK (err)' failed
Segmentation fault
daniel@GosigMus:~$
(seahorse-tool:4434): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed

This should be fixed as it is a very important feature.
Tell me if I can help you any further

Revision history for this message
neferty (roman-semko) wrote :

Same here. After selecting the key, the dialog closes and nothing happens afterwards.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is due to the new libgpgme in lucid, using the karmic version works correctly

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is that the new version requires gpgme_check_version() to be called before gpgme_new(), I will fix the issue

Revision history for this message
Sebastien Bacher (seb128) wrote :

the change is ready to be uploaded now

Changed in seahorse-plugins (Ubuntu Lucid):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package seahorse-plugins - 2.30.0-0ubuntu2

---------------
seahorse-plugins (2.30.0-0ubuntu2) lucid; urgency=low

  * debian/patches/06_gpgme_check_version.patch:
    - use gpgme_engine_check_version() before gpgm_new() since the current
      gpgme version requires to do those calls, the change fixes the nautilus
      entries not working (lp: #514950)
 -- Sebastien Bacher <email address hidden> Thu, 08 Apr 2010 01:27:05 +0200

Changed in seahorse-plugins (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
323232 (323232) wrote :

Thanx!
The update works perfectly!

Changed in seahorse-plugins:
status: Unknown → New
Changed in seahorse-plugins:
status: New → Confirmed
Changed in seahorse-plugins:
status: Confirmed → Fix Released
Changed in seahorse-plugins:
importance: Unknown → Critical
Changed in seahorse-plugins (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.