Summary: | dev-libs/libgcrypt-1.5.0 - Fails tests: basic, aeswrap, benchmark | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.g10code.com/gnupg/issue1452 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
build log build log |
Description
Toralf Förster
2012-11-05 19:28:58 UTC
Your build log looks corrupt, could you try attaching it again? Created attachment 328474 [details]
build log
tfoerste@n22 /mnt/ramdisk $ md5sum /tmp/dev-libs\:libgcrypt-1.5.0-r3\:20121105-192033.log.gz
5e0072dadfc96998c461fbe69e703daf /tmp/dev-libs:libgcrypt-1.5.0-r3:20121105-192033.log.gz
Created attachment 328476 [details] build log Confirmed, attaching attachment 328474 [details] in text/plain to keep it easy. wget https://bugs.gentoo.org/attachment.cgi?id=328474 mv attachment.cgi\?id\=328474 test.log.gz md5sum test.log.gz # 5e0072dadfc96998c461fbe69e703daf zcat test.log.gz I tested this on both amd64 and x86 and can't seem to replicate it. I'm at a bit of a loss. FWIW I found this in my syslog : 2012-11-05T20:22:54.753+01:00 n22 kernel: traps: basic[30830] general protection ip:b76af60a sp:bfa12084 error:0 in libgcrypt.so.11.7.0[b7685000+82000] 2012-11-05T20:24:07.343+01:00 n22 kernel: traps: aeswrap[31005] general protection ip:b769660a sp:bfa6b2a4 error:0 in libgcrypt.so.11.7.0[b766c000+82000] 2012-11-05T20:24:41.996+01:00 n22 kernel: traps: benchmark[31106] general protection ip:b767d60a sp:bf9a79d4 error:0 in libgcrypt.so.11.7.0[b7653000+82000] Hhm, an strace ./aeswrap gives : ... mmap2(NULL, 1739548, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb74a6000 mprotect(0xb7648000, 4096, PROT_NONE) = 0 mmap2(0xb7649000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a2) = 0xb7649000 mmap2(0xb764c000, 11036, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb764c000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74a5000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74a4000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb74a46c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7649000, 8192, PROT_READ) = 0 mprotect(0xb7652000, 4096, PROT_READ) = 0 mprotect(0xb76de000, 4096, PROT_READ) = 0 mprotect(0x804a000, 4096, PROT_READ) = 0 mprotect(0xb7704000, 4096, PROT_READ) = 0 munmap(0xb7654000, 31995) = 0 brk(0) = 0x8ac7000 brk(0x8ae8000) = 0x8ae8000 access("/etc/gcrypt/fips_enabled", F_OK) = -1 ENOENT (No such file or directory) open("/proc/sys/crypto/fips_enabled", O_RDONLY) = -1 ENOENT (No such file or directory) --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} --- +++ killed by SIGSEGV (core dumped) +++ Segmentation fault From upstream : >On Sat, 10 Nov 2012 10:43, toralf.foerster@gmx.de said: >> at an stable gentoo (with gcc-4.6.3 however) >In C99 mode - weel there is an incompatibility. Fix is in the repo. >> https://bugs.gentoo.org/show_bug.cgi?id=441918 >Please enter it into our tracker: bugs.gnupg.org. >Shalom-Salam, > Werner https://bugs.gentoo.org/show_bug.cgi?id=442568#c6 contains the fix |