Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217138
Summary: Wrong library initialization causes errors Product: Fedora Core Version: fc6 Platform: x86_64 OS/Version: Linux Status: NEW Severity: urgent Priority: normal Component: perl-Crypt-SSLeay AssignedTo: rnorwood@redhat.com ReportedBy: despairr@gmail.com CC: fedora-perl-devel-list@redhat.com
Description of problem: Usage of Crypt::SSLeay, for example when making https requests via LWP using client certificates - causes errors. At least on AMD x86_64 architecture.
Version-Release number of selected component (if applicable): Crypt-SSLeay-0.51
How reproducible:
Make HTTPS request via LWP using client certificate (use $ENV{HTTPS_CERT_FILE} and $ENV{HTTPS_KEY_FILE}) with Crypt::SSLeay module installed. For example, request to https://w3s.webmoney.ru/asp/XMLOperationsCert.asp.
Actual results:
You will get a segfault on x86_64 architecture.
Expected results:
Successful request.
Additional info:
In perl-Crypt-SSLeay-0.51-9.2.2.1.src.rpm there is a patch file perl-Crypt-SSLeay-openssl-098.patch for Crypt-SSLeay-0.51. This patch file should be modified: you should place SSL_library_init() call INSTEAD of SSLeay_add_all_algorithms(). Not after it.
Links to discussions about the problem:
http://www.nntp.perl.org/group/perl.libwww/6722 http://www.mail-archive.com/libwww@perl.org/msg06114.html http://rt.cpan.org/Public/Bug/Display.html?id=16735
------- Additional Comments From despairr@gmail.com 2006-11-24 04:34 EST ------- Created an attachment (id=142052) --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=142052&action=vie...) Fixed patch that makes things working
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Wrong library initialization causes errors
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217138
------- Additional Comments From rnorwood@redhat.com 2006-11-27 13:14 EST ------- Thanks for the patch, Walery. The fixed package should be available in updates-testing soon.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Wrong library initialization causes errors
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217138
------- Additional Comments From updates@fedora.redhat.com 2006-11-27 17:14 EST ------- perl-Crypt-SSLeay-0.51-12.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Wrong library initialization causes errors
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217138
------- Additional Comments From updates@fedora.redhat.com 2006-12-11 11:40 EST ------- perl-Crypt-SSLeay-0.51-12.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Wrong library initialization causes errors
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217138
tmraz@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED Keywords| |Reopened Resolution|RAWHIDE | CC| |tmraz@redhat.com
------- Additional Comments From tmraz@redhat.com 2007-06-18 15:03 EST ------- The bugfix caused regression - bug 240502.
I think that it is correct to call both OpenSSL_add_all_algorithms() (the SSLeay_add_all_algorithms() is just a #define referencing this) and SSL_library_init(). I don't know why calling both should cause the segfaults and actually I cannot reproduce the segfaults here when I recompile the perl-Crypt-SSLeay with the patch modified to call both functions.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Wrong library initialization causes errors
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217138
------- Additional Comments From updates@fedoraproject.org 2007-08-24 01:29 EST ------- perl-Crypt-SSLeay-0.56-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Wrong library initialization causes errors
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217138
------- Additional Comments From rnorwood@redhat.com 2007-08-24 10:52 EST ------- Can someone test the above version and let me know how it works for you? Especially on x86_64 systems as described above.
x86_64 version: http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/7/x86_64/...
x86 version: http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/7/i386/pe...
(or just enable your updates testing repo and use yum)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Wrong library initialization causes errors
https://bugzilla.redhat.com/show_bug.cgi?id=217138
------- Additional Comments From updates@fedoraproject.org 2007-08-29 13:29 EST ------- perl-Crypt-SSLeay-0.56-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Wrong library initialization causes errors
https://bugzilla.redhat.com/show_bug.cgi?id=217138
updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |ERRATA Fixed In Version| |0.56-1.fc7
perl-devel@lists.fedoraproject.org