Bug 521127

Summary: openssl speed camellia-192-cbc segfaults
Product: [Fedora] Fedora Reporter: Pekka Pietikäinen <pp>
Component: opensslAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-08 15:36:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pekka Pietikäinen 2009-09-03 18:44:14 UTC
Description of problem:

The other variants seem fine, but

(gdb) set args speed camellia-192-cbc
(gdb) run
Starting program: /usr/bin/openssl speed camellia-192-cbc
[Thread debugging using libthread_db enabled]
Doing camellia-192 cbc for 3s on 16 size blocks: 
Program received signal SIGSEGV, Segmentation fault.
_x86_64_Camellia_encrypt () at cmll-x86_64.s:232
232		movl	64(%r14),%ebx
Current language:  auto
The current source language is "auto; currently asm".
(gdb) bt
#0  _x86_64_Camellia_encrypt () at cmll-x86_64.s:232
#1  0x00000036cfe814b4 in Camellia_cbc_encrypt () at cmll-x86_64.s:1686

which looks a bit worrying, considering the nature of openssl

Version-Release number of selected component (if applicable):

openssl-1.0.0-0.6.beta3.fc12.x86_64

Comment 1 Tomas Mraz 2009-09-04 11:49:10 UTC
It seems related to the compiler options used but I don't think it is caused by patches we apply in our RPM package.

I've reported the problem upstream, we'll see what happens. Meanwhile I'll disable using the assembler code for Camellia on x86_64.

Comment 2 Tomas Mraz 2009-10-08 15:36:11 UTC
Fixed in openssl-1.0.0-0.8.beta3.fc12.x86_64.