--- Begin Message ---
Package: haveged
Version: 0.9-1
Severity: normal
Hi.
On one of my machines (Dell Latitude E6500) haveged justs segfaults.
I recompiled with DEB_BUILD_OPTIONS=nostrip, the resulting backtrace is
attached.
Grüße,
Sven.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages haveged depends on:
ii libc6 2.10.2-3 Embedded GNU C Library: Shared lib
haveged recommends no packages.
haveged suggests no packages.
-- no debconf information
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
in oneiteration.h
(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 = 0x5bca345b
et0 = {tv_sec = -1073745864, tv_usec = -1209101954}
et1 = {tv_sec = -1208233024, tv_usec = 1}
i = 1539986131
inter = <value optimized out>
PTtest = <value optimized out>
pt = 138854400
havege_hardtick = 1879
#1 0x08055d12 in ndinit (params=0x8057ce0, perf=0x0) at havege.c:368
i = 1
#2 0x08048ee0 in run (poolsize=4096, output=0xbffff200, buffer=0xbffff420,
perf=0x0)
at haveged.c:257
fout = 0xa
random_fd = -1209260141
ct = 10
ft = -1208238092
#3 0x0804949e in main (argc=1, argv=0xbffff7a4) at haveged.c:243
hp = 0x0
hpf = {fill = -1073744136, 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 = 1539986131
(gdb)
#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 = 0x5bca345b
et0 = {tv_sec = -1073745864, tv_usec = -1209101954}
et1 = {tv_sec = -1208233024, tv_usec = 1}
i = 1539986131
inter = <value optimized out>
PTtest = <value optimized out>
pt = 138854400
havege_hardtick = 1879
#1 0x08055d12 in ndinit (params=0x8057ce0, perf=0x0) at havege.c:368
i = 1
#2 0x08048ee0 in run (poolsize=4096, output=0xbffff200, buffer=0xbffff420,
perf=0x0)
at haveged.c:257
fout = 0xa
random_fd = -1209260141
ct = 10
ft = -1208238092
#3 0x0804949e in main (argc=1, argv=0xbffff7a4) at haveged.c:243
hp = 0x0
hpf = {fill = -1073744136, 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 = 1539986131
(gdb) quit
--- End Message ---