Seahorse issues

Joe Marcus Clarke marcus at
Thu Apr 10 06:12:02 UTC 2008

On Wed, 2008-04-09 at 17:28 -0400, Coleman Kane wrote:
> Joe Marcus Clarke wrote:
> > On Wed, 2008-04-09 at 14:23 -0400, Coleman Kane wrote:
> >   
> >> I recently updated to GNOME 2.22, and ever since I have not been able to 
> >> have seahorse work, breaking application integration with GPG, etc....
> >>
> >> I filed a bug with the GNOME project, but perhaps someone else is 
> >> running into this:
> >>
> >>     
> >
> > They will most likely come back and tell you to get a backtrace with
> > symbols.  It looks like a problem with either missing headers or a
> > missing cast, though.  If I'm right, this would only affect 64-bit
> > platforms.
> >
> > Joe
> >   
> Thanks, I pre-empted that by rigging the seahorse build so that it built 
> with -g -O0, and copied the non-stripped seahorse-agent binary into 
> /usr/local/bin for my submitted backtrace. Amazingly enough, it turns 
> out that even if you specify --enable-debug on the configure line, the 
> installation step still decided to strip the binaries after 
> installation. nice.
> Anyhow, there is hopefully enough info in there for them to figure out 
> what's up (my guess is that the missing cast is the likely culprit, as 
> it caused similar misbehavior in evolution some time back).

The problem is the fact that FreeBSD's mlock() requires setuid
privileges, and thus seahorse cannot allocate secure memory.  The
standard malloc functions are overridden in
libseahorse/seahorse-secure-memory.c.  Because they fail to allocate
secure memory, everything fails, and the agent aborts.  If you comment
out the guts of seahorse_secure_memory_init(), things should work.

That said, it should not be fatal that the gnome-keyring secure memory
functions don't work.  That should just result in a warning, and a
fallback to insecure memory.  Perhaps the bug needs to be moved to


PGP Key :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-gnome mailing list