Steve Kostecke wrote:
Sven Hartge said:
Sven Hartge wrote:

On one of my machines (Dell Latitude E6500) haveged justs segfaults.
I must correct myself, haveged segfaults on _all_ Debian Sid machines I
have access to, the backtrace is virtually the same every time.

Thanks for tracking this down.

Here is a better backtrace.

--
Grüße,
Sven Hartge


  - Dienst-Entwicklung, Server-Betreuung -
IT-Services FH Gießen-Friedberg (Bereich Gießen)
       http://www.dvz.fh-giessen.de

Telefon: +49 641 309-1291
Fax    : +49 641 309-1288

GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/haveged...done.
(gdb) run
Starting program: /usr/sbin/haveged 

Program received signal SIGSEGV, Segmentation fault.
0x080518ee in collect_ndrand (perf=<value optimized out>) at oneiteration.h:131
131       PT2 = (RESULT[(i - 8) ^ pt2] ^ havege_pwalk[PT2 ^ pt2 ^ 7]);
(gdb) bt full
#0  0x080518ee in collect_ndrand (perf=<value optimized out>) at 
oneiteration.h:131
        jumps = {0, 1248, 2490, 3728, 4982, 6228, 7476, 8724, 9972, 11220, 
12468, 13716, 14964, 
          16212, 17460, 18708, 19956, 21204, 22452, 23700, 24948, 26196, 27444, 
28692, 29940, 
          31188, 32436, 33684, 34932, 36180, 37428, 38676, 39924, 41172, 42420, 
43668, 44916, 
          46164, 47412, 48660}
        Pt0 = 0x846c010
        Pt1 = 0x846c004
        Pt2 = <value optimized out>
        Pt3 = 0x8beb4368
        et0 = {tv_sec = -1073745880, tv_usec = -1209106050}
        et1 = {tv_sec = -1208237120, tv_usec = 1}
        i = -1947508524
        inter = <value optimized out>
        PTtest = <value optimized out>
        pt = 138854400
        havege_hardtick = 934029
#1  0x08055d12 in ndinit (params=0x8057ce0, perf=0x0) at havege.c:368
        i = 1
#2  0x08048ee0 in run (poolsize=4096, output=0xbffff1f0, buffer=0xbffff410, 
perf=0x0)
    at haveged.c:257
        fout = 0xa
        random_fd = -1209264237
        ct = 10
        ft = -1208242188
#3  0x0804949e in main (argc=1, argv=0xbffff794) at haveged.c:243
        hp = 0x0
        hpf = {fill = -1073744152, etime = 134514556}
        cmds = {0x80562c3 "d", 0x80563f7 "data", 0x80563fc "1", 0x80563fe "Data 
cache size [KB]", 
          0x8056320 "i", 0x8056413 "inst", 0x80563fc "1", 0x8056418 
"Instruction cache size [KB]", 
          0x8056434 "f", 0x8056436 "file", 0x80563fc "1", 
          0x8056628 "Sample output file - default: 'sample'", 0x80568e7 "r", 
0x805643b "run", 
          0x80563fc "1", 0x8056650 "0=daemon,1=config info,>1=Write <r>KB 
sample file", 
          0x805643f "v", 0x8056441 "verbose", 0x80563fc "1", 
          0x8056684 "Output level 0=minimal,1=config/fill items", 0x80568d9 
"w", 
          0x8056449 "write", 0x80563fc "1", 0x80566b0 "Set 
write_wakeup_threshold [BITS]", 
          0x805644f "h", 0x8056458 "help", 0x8056451 "0", 0x8056453 "This help"}
        c = <value optimized out>
        j = <value optimized out>
        poolsize = -1947508524

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to