[Bug 1105758] [NEW] On my PC, gcry_cipher_encrypt() doesn't release all x87 FPU data registers .
Mitsutoshi NAKANO
bkbin005 at rinku.zaq.ne.jp
Sat Jan 26 06:15:30 UTC 2013
Public bug reported:
1)
Description: Xubuntu 12.10 desktop i386
Release: 12.10
PC: Sony PCG-SRX7S/P Memory 512 M byte http://www.sony.jp/products/biz/vaio/PCG-SRX7S_P/spec.html
Chipset: Intel 815EM
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Mobile Intel(R) Pentium(R) III CPU - M 900MHz
stepping : 4
microcode : 0x2
cpu MHz : 500.000
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse up
bogomips : 993.64
clflush size : 32
cache_alignment : 32
address sizes : 36 bits physical, 32 bits virtual
power management:
$ uname -a
Linux loghost 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:41:11 UTC 2013 i686 i686 i686 GNU/Linux
2)
libgcrypt11 1.5.0-3ubuntu1
gnome-keyring 3.6.1-0ubuntu1
3) What you expected to happen
$apt-get -b source gnome-keyring
$cd gnome-keyring-3.6.1/
$make -k check | tee make-k-check2.txt
→all check OK
4) What happened instead
→ but /gnome2-store/import/pkcs12: was FAIL on the PC .
See also https://dl.dropbox.com/u/86335040/make-k-check2.txt .
5) I analyzed the gnome-keyring program.
So I found that gcry_cipher_encrypt() doesn't release all x87 FPU data registers .
Then -nan goes into a variable subsequent processing.
This problem found on the test of /gnome2-store/import/pkcs12 on
gnome-keyring-3.6.1,
function is encrypt_buffer() in gnome-keyring-3.6.1/pkcs11/gnome2-store/gkm-gnome2-file.c .
I wrote a reappearance program .
https://dl.dropbox.com/u/86335040/bug.tar.gz .
Please check it, and please fix this problem
See also https://forums.ubuntulinux.jp/viewtopic.php?id=14643
and http://d.hatena.ne.jp/Itisango/searchdiary?word=%2A%5Bgnome-keyring%5D .
Thanks .
** Affects: libgcrypt11 (Ubuntu)
Importance: Undecided
Status: New
** Tags: fpu gnome-keyring libgcrypt11
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libgcrypt11 in Ubuntu.
https://bugs.launchpad.net/bugs/1105758
Title:
On my PC, gcry_cipher_encrypt() doesn't release all x87 FPU data
registers .
Status in “libgcrypt11” package in Ubuntu:
New
Bug description:
1)
Description: Xubuntu 12.10 desktop i386
Release: 12.10
PC: Sony PCG-SRX7S/P Memory 512 M byte http://www.sony.jp/products/biz/vaio/PCG-SRX7S_P/spec.html
Chipset: Intel 815EM
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Mobile Intel(R) Pentium(R) III CPU - M 900MHz
stepping : 4
microcode : 0x2
cpu MHz : 500.000
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse up
bogomips : 993.64
clflush size : 32
cache_alignment : 32
address sizes : 36 bits physical, 32 bits virtual
power management:
$ uname -a
Linux loghost 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:41:11 UTC 2013 i686 i686 i686 GNU/Linux
2)
libgcrypt11 1.5.0-3ubuntu1
gnome-keyring 3.6.1-0ubuntu1
3) What you expected to happen
$apt-get -b source gnome-keyring
$cd gnome-keyring-3.6.1/
$make -k check | tee make-k-check2.txt
→all check OK
4) What happened instead
→ but /gnome2-store/import/pkcs12: was FAIL on the PC .
See also https://dl.dropbox.com/u/86335040/make-k-check2.txt .
5) I analyzed the gnome-keyring program.
So I found that gcry_cipher_encrypt() doesn't release all x87 FPU data registers .
Then -nan goes into a variable subsequent processing.
This problem found on the test of /gnome2-store/import/pkcs12 on
gnome-keyring-3.6.1,
function is encrypt_buffer() in gnome-keyring-3.6.1/pkcs11/gnome2-store/gkm-gnome2-file.c .
I wrote a reappearance program .
https://dl.dropbox.com/u/86335040/bug.tar.gz .
Please check it, and please fix this problem
See also https://forums.ubuntulinux.jp/viewtopic.php?id=14643
and http://d.hatena.ne.jp/Itisango/searchdiary?word=%2A%5Bgnome-keyring%5D .
Thanks .
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libgcrypt11/+bug/1105758/+subscriptions
More information about the foundations-bugs
mailing list