Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291195 - dev-php5/pecl-gnupg segfaults with newer versions of gpgme
Summary: dev-php5/pecl-gnupg segfaults with newer versions of gpgme
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: PHP Bugs
URL: http://pecl.php.net/bugs/bug.php?id=1...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 17:35 UTC by Ed Cates
Modified: 2010-03-29 22:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to pecl-gnupg-1.3.1 to fix reported bug (pecl-gnupg-1.3.1-r1.diff,412 bytes, patch)
2009-10-30 17:38 UTC, Ed Cates
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Cates 2009-10-30 17:35:38 UTC
After updating a server, it was discovered that a PHP script responsible for generating GnuPG-signed e-mail messages was segfaulting.  After some searching on the internet, a solution to the problem was found at the listed URL.

Reproducible: Always

Steps to Reproduce:
1. upgrade to >app-crypt/gpgme-1.1.8
2. run PHP script calling "gnupg_init()" function from pecl-gnupg

Actual Results:  
Segmentation fault

Expected Results:  
Successful execution of "gnupg_init()" function and remainder of script.

The listed URL has a patch that I have confirmed works with Gentoo amd/10.0, gpgme-1.2.0, php-5.2.11, & pecl-gnupg-1.3.1.
Comment 1 Ed Cates 2009-10-30 17:38:00 UTC
Created attachment 208752 [details, diff]
Patch to pecl-gnupg-1.3.1 to fix reported bug
Comment 2 Travis Hansen 2009-12-03 18:44:54 UTC
I'm getting this same issue.  I applied patch and it seems to work correctly.
Please get this pushed into the tree :)
Comment 3 Jamie Learmonth 2010-03-28 01:38:12 UTC
This is being addressed in #302446
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2010-03-29 22:19:31 UTC
In CVS, thanks to anybody involved.