gpa crashed with SIGSEGV in g_type_check_instance_cast()

Bug #808589 reported by spsppl
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gpa (Debian)
Fix Released
Unknown
gpa (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Description: Ubuntu oneiric (development branch)
Release: 11.10

gpa:
  Installed: 0.9.0-1
  Candidate: 0.9.0-1
  Version table:
 *** 0.9.0-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
        100 /var/lib/dpkg/status

Gpa started immediately with a bug "General Aussuan Error" and I when I try to import keys it gives the same error.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gpa 0.9.0-1
ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
Uname: Linux 3.0-3-generic x86_64
Architecture: amd64
Date: Sun Jul 10 21:57:27 2011
ExecutablePath: /usr/bin/gpa
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
ProcCmdline: gpa
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7f1e9d3385f0 <g_type_check_instance_cast+16>: mov (%rdi),%rax
 PC (0x7f1e9d3385f0) ok
 source "(%rdi)" (0xaaaaaaaaaaaaaaaa) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gpa
StacktraceTop:
 g_type_check_instance_cast () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? ()
 g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: gpa crashed with SIGSEGV in g_type_check_instance_cast()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
spsppl (spsppl) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_type_check_instance_cast (type_instance=0xaaaaaaaaaaaaaaaa, iface_type=23307744) at /build/buildd/glib2.0-2.29.10/./gobject/gtype.c:3980
 gpa_keylist_start_reload (keylist=0xaaaaaaaaaaaaaaaa) at keylist.c:822
 g_closure_invoke (closure=0x18c1b90, return_value=0x0, n_param_values=1, param_values=0x18ebae0, invocation_hint=<value optimized out>) at /build/buildd/glib2.0-2.29.10/./gobject/gclosure.c:773
 signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x185c850, emission_return=0x0, instance_and_params=0x18ebae0) at /build/buildd/glib2.0-2.29.10/./gobject/gsignal.c:3256
 g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffdd97f998) at /build/buildd/glib2.0-2.29.10/./gobject/gsignal.c:2987

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gpa (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
spsppl (spsppl)
visibility: private → public
Changed in gpa (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gpa (Ubuntu):
status: New → Confirmed
Revision history for this message
Kenneth Wrede (kennethwrede) wrote :

Same for me. Runnig Xubuntu 12.10 Quantal.

According to this discussion thay are facing the same problem in debian sid and FreeBSD 9. You might understand more of it then I do. And they are providing a workaround that worked for me.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634930

***** WORKAROUND ******

I have found that the problem is the expired X.509 certificates.

Here is my easy workaround to solve this bug.

1. Remove the file where the X.509 certificates are stored.

rm usr/share/gnupg2/com-certs.pem

2. Remove your gnupg configuration folder.

rm home/benutzer/.gnupg/

That's all. Should work for every version. Enjoy.
*************************

I hope it helps.

Andreas Moog (ampelbein)
Changed in gpa (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
jken146 (jonathankennedy146) wrote :

Confirmed in 14.04 amd64 with gpg version 0.9.4-1 and libassuan0 version 2.1.1-ubuntu1

Changed in gpa (Debian):
status: New → 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.