Bug 469477 - Libgcrypt is failing on F-10
Libgcrypt is failing on F-10
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: libgcrypt (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 465002
  Show dependency treegraph
 
Reported: 2008-11-01 05:30 EDT by Alexey Torkhov
Modified: 2008-11-03 14:32 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-11-03 14:32:58 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
4 simple test programs (778 bytes, application/x-gzip)
2008-11-01 05:30 EDT, Alexey Torkhov
no flags Details
4 simple test programs (776 bytes, application/octet-stream)
2008-11-03 04:14 EST, Alexey Torkhov
no flags Details
fail.cpp (505 bytes, text/plain)
2008-11-03 04:18 EST, Alexey Torkhov
no flags Details
fail2.cpp (471 bytes, text/plain)
2008-11-03 04:19 EST, Alexey Torkhov
no flags Details
fail3.cpp (592 bytes, text/plain)
2008-11-03 04:20 EST, Alexey Torkhov
no flags Details
good.cpp (487 bytes, text/plain)
2008-11-03 04:20 EST, Alexey Torkhov
no flags Details
Makefile (179 bytes, text/plain)
2008-11-03 04:20 EST, Alexey Torkhov
no flags Details

  None (edit)
Description Alexey Torkhov 2008-11-01 05:30:05 EDT
Created attachment 322165 [details]
4 simple test programs

Description of problem:
Libgcrypt is failing in some programs with message
----
DBG: md_enable: algorithm 1 not available
Ohhhh jeeee: gcry_md_open failed for algo 1: Invalid digest algorithmAborted
----

I've composed 4 sample programs. 3 of them are failing.

Version-Release number of selected component (if applicable):
libgcrypt-1.4.3-2.fc10.x86_64
gcc-4.3.2-6.x86_64
glibc-2.8.90-14.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Untar attached file.
2. Run make.
  
Actual results:
3 of 4 tests failing

Expected results:
All is fine (like on F-9).

Additional info:
Tests were ran in mock rawhide chroot.
Comment 1 Tomas Mraz 2008-11-03 03:39:10 EST
The attachment is broken (not a tarball). Can you please try again to attach the samples?
Comment 2 Alexey Torkhov 2008-11-03 04:14:56 EST
Created attachment 322280 [details]
4 simple test programs
Comment 3 Alexey Torkhov 2008-11-03 04:17:41 EST
Comment on attachment 322280 [details]
4 simple test programs

Seems bugzilla corrupts the file when downloading it.
Comment 4 Alexey Torkhov 2008-11-03 04:18:50 EST
Created attachment 322281 [details]
fail.cpp
Comment 5 Alexey Torkhov 2008-11-03 04:19:32 EST
Created attachment 322283 [details]
fail2.cpp
Comment 6 Alexey Torkhov 2008-11-03 04:20:17 EST
Created attachment 322284 [details]
fail3.cpp
Comment 7 Alexey Torkhov 2008-11-03 04:20:26 EST
Created attachment 322285 [details]
good.cpp
Comment 8 Alexey Torkhov 2008-11-03 04:20:38 EST
Created attachment 322286 [details]
Makefile
Comment 9 Alexey Torkhov 2008-11-03 04:22:20 EST
Uploaded individual files.
Comment 10 Tomas Mraz 2008-11-03 08:36:21 EST
You must call at least call gcry_check_version(NULL); before calling any crypto functions from libgcrypt. Otherwise the library is not properly initialized.
Comment 11 Alexey Torkhov 2008-11-03 14:32:58 EST
Oh, thanks a lot!
This seem to fix the problems.

Note You need to log in before you can comment on or make changes to this bug.