Bug 650734

Summary: seahorse-tool crashing on encrypt/sign & segfault on decrypt
Product: [Fedora] Fedora Reporter: Denis De Messemacker <ddm>
Component: seahorse-pluginsAssignee: Matthias Clasen <mclasen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 14CC: bugzilla, mclasen, poncho, tbzatek, theo148, vskcode
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: seahorse-plugins-2.30.1-5.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-25 21:00:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
imported working debian patch
none
updated SPEC file to apply patch none

Description Denis De Messemacker 2010-11-07 23:17:08 UTC
Created attachment 458526 [details]
imported working debian patch

Description of problem:

When trying to encrypt, decrypt or sign a document with seahorse-tool, it stops and shows the following errors:

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

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

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

Version-Release number of selected component (if applicable):

seahorse-plugins-2.30.1-4.fc14.i686

How reproducible:

Always

Steps to Reproduce:
1. $> touch myfile
2. $> seahorse-tool -e myfile
3. $> Select any key to encrypt myfile
  
Actual results:

It crashes with the following error:
** (seahorse-tool:13862): CRITICAL **: prompt_recipients: assertion `GPG_IS_OK (gerr)' failed

Expected results:
After selecting the key, the "myfile" should have been encrypted.

Additional info:

This bug has already been reported multiple times in the bugzilla of Gnome, and even by Ubuntu launchpad:
 - https://bugzilla.gnome.org/show_bug.cgi?id=607423
 - https://bugs.launchpad.net/ubuntu/lucid/+source/seahorse-plugins/+bug/514950

Sebastien Bacher did submit a patch that has been accepted on both sides.

I just tested this patch on the current srpm of seahorse-plugins, and it successfully corrects the reported error.

What's the next step ?

-ddm

Comment 1 Denis De Messemacker 2010-11-07 23:24:54 UTC
Created attachment 458529 [details]
updated SPEC file to apply patch

updated SPEC file to apply the provided patch on seahorse-plugins.
original SPEC file from seahorse-plugins-2.30.1-4.fc14.i686

Regards,
-ddm

Comment 2 Mace Moneta 2010-11-13 08:24:21 UTC
I can confirm the above patch corrects the problem.

Comment 3 bugzilla 2011-01-16 21:44:33 UTC
i can confirm the patches fix it on 64-bit fedora 14 too.

how can software as important as seahorse have never been tested - its been broken since the release dvd.

Comment 4 Tomáš Bžatek 2011-01-17 10:54:00 UTC
(In reply to comment #3)
> how can software as important as seahorse have never been tested - its been
> broken since the release dvd.
Fedora has no official testing AFAIK, only volunteers. It's a community project. Buy an enterprise distribution if you want all software well tested.

Comment 5 Fedora Update System 2011-01-17 11:13:32 UTC
seahorse-plugins-2.30.1-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/seahorse-plugins-2.30.1-5.fc14

Comment 6 Fedora Update System 2011-01-17 20:50:18 UTC
seahorse-plugins-2.30.1-5.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update seahorse-plugins'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/seahorse-plugins-2.30.1-5.fc14

Comment 7 Fedora Update System 2011-01-25 21:00:38 UTC
seahorse-plugins-2.30.1-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Poncho 2011-01-26 14:48:23 UTC
*** Bug 643692 has been marked as a duplicate of this bug. ***