[guardian-dev] gpgme on android

Hans-Christoph Steiner hans at guardianproject.info
Tue Jul 31 11:39:53 EDT 2012


When doing the porting work for the gpg core, I found that it uses a lot of detailed pthread functions, many of which are not supported by Android.  Sometimes the functions are there in Android's bionic libc, but are just stubs.  My guess is that this crash is related to that.

.hc

On Jul 24, 2012, at 1:38 PM, Abel Luck wrote:

> Hey there,
> 
> This mail is mostly for Hans, but I'm posting it here anyways.
> 
> I've been investigating the gnupg-for-android for Android crash when you
> attempt to search for keys.
> 
> The crash is taking place in gpgmeKeylist(). From the stack traces it
> appears we're hitting the assert in ath_mutex_lock. There's something
> funky with the context handling/threading.
> 
> For example, we crash when we call
> 
> GnuPGContext ctx = new GnuPGContext();
> ctx.destroy()
> 
> ..or make a new context when one already exists.
> 
> More investigation is in order.
> 
> ~abel
> 
> _______________________________________________
> Guardian-dev mailing list
> 
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> 
> To Unsubscribe
>        Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>        Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
> 
> You are subscribed as: hans at guardianproject.info



More information about the Guardian-dev mailing list