[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnunet] GNUnet / FreeBSD
From: |
ian |
Subject: |
[Help-gnunet] GNUnet / FreeBSD |
Date: |
Sun, 10 Aug 2003 22:52:29 -0700 |
User-agent: |
Mutt/1.4.1i |
I've installed GNUnet v0.5.4a as well as a recent CVS copy on my FreeBSD
box and they seem to either die or stop responding after anywhere from
15 minutes to an hour of uptime. Is there something obvious that I'm
missing? I tried to follow all the steps in the FAQ for troubleshooting.
The information is below.
Ian
-------------------------------------------------------------
CONFIG INFORMATION
ns7# /usr/local/bin/gnunetd -v
GNUnet v0.5.4a
ns7# ./configure --without-gtk --with-gdbm=/usr/local --without-crypto
--without-gcrypt
ns7# ./report.sh
On some systems, you may need to change /bin/sh to point to bash
Please submit the following information with your bug report:
--------------------------------------------------------------
OS : FreeBSD
OS RELEASE : 5.1-RELEASE
HARDWARE : i386
OpenSSL Version: 2003
gcc version : 3.2.2
Gnu gmake : 3.80
autoconf : 2.57
automake : 1.7.6
libextractor : Not Found
GNUnet : v0.5.4a
--------------------------------------------------------------
THREAD INFORMATION
ns7# gdb /usr/local/bin/gnunetd
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions. Type "show copying" to see the conditions. There is
absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
(gdb) run -d
Starting program: /usr/local/bin/gnunetd -d
Program received signal SIGSEGV, Segmentation fault.
0x2818994c in strncmp () from /usr/lib/libc.so.5
(gdb) ba
#0 0x2818994c in strncmp () from /usr/lib/libc.so.5
Error accessing memory address 0xbfadaa20: Bad address.
(gdb)
(gdb) info threads
8 Process 62815, Thread 8 0x280e0aac in _thread_kern_sched () from
/usr/lib/libc_r.so.5
7 Process 62815, Thread 7 0x280e0aac in _thread_kern_sched () from
/usr/lib/libc_r.so.5
6 Process 62815, Thread 6 0x280e0aac in _thread_kern_sched () from
/usr/lib/libc_r.so.5
5 Process 62815, Thread 5 0x280e0aac in _thread_kern_sched () from
/usr/lib/libc_r.so.5
4 Process 62815, Thread 4 0x280e0aac in _thread_kern_sched () from
/usr/lib/libc_r.so.5
3 Process 62815, Thread 3 0x280e0aac in _thread_kern_sched () from
/usr/lib/libc_r.so.5
2 Process 62815, Thread 2 0x280e0aac in _thread_kern_sched () from
/usr/lib/libc_r.so.5
* 1 Process 62815, Thread 1 0x2818994c in strncmp () from
/usr/lib/libc.so.5
(gdb)
(gdb) thread 8
[Switching to thread 8 (Process 62815, Thread 8)]#0 0x280e0aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) ba
#0 0x280e0aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1 0x280da945 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#2 <signal handler called>
#3 0x282bb5b7 in loadBloomfilter (filename=0xd <Error reading address
0xd: Bad address>, size=671692032, k=1117022)
at bloomfilter.c:431
#4 0x282bebba in initBloomfilters () at bloomfilter.c:109
#5 0x282c6a57 in initialize_afs_protocol (capi=0x80574e0) at afs.c:67
#6 0x0804e182 in loadApplicationModules () at core.c:267
#7 0x0804e449 in main (argc=2, argv=0xbfbffb80) at gnunetd.c:100
#8 0x0804a1e5 in _start ()
(gdb)
(gdb) thread 7
[Switching to thread 7 (Process 62815, Thread 7)]#0 0x280e0aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) ba
#0 0x280e0aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1 0x280e1218 in _thread_kern_sched_state () from /usr/lib/libc_r.so.5
#2 0x280e3ebb in _accept () from /usr/lib/libc_r.so.5
#3 0x280e3fb5 in accept () from /usr/lib/libc_r.so.5
#4 0x08052005 in tcpListenMain () at tcpserver.c:294
#5 0x280d83fe in _thread_start () from /usr/lib/libc_r.so.5
(gdb)
(gdb) thread 6
[Switching to thread 6 (Process 62815, Thread 6)]#0 0x280e0aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) ba
#0 0x280e0aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1 0x280e1283 in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.5
#2 0x280e4da9 in _pthread_cond_timedwait () from /usr/lib/libc_r.so.5
#3 0x280d91b9 in _thread_gc () from /usr/lib/libc_r.so.5
#4 0x280d83fe in _thread_start () from /usr/lib/libc_r.so.5
(gdb)
(gdb) thread 5
[Switching to thread 5 (Process 62815, Thread 5)]#0 0x280e0aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) ba
#0 0x280e0aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1 0x280e1283 in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.5
#2 0x280e4ae7 in _pthread_cond_wait () from /usr/lib/libc_r.so.5
#3 0x280e4bee in pthread_cond_wait () from /usr/lib/libc_r.so.5
#4 0x28083ea8 in semaphore_down_ (s=0x805f830, filename=0x8054b13
"core.c", linenumber=113) at semaphore.c:230
#5 0x0804dcc3 in threadMain (id=-1077937360) at core.c:113
#6 0x280d83fe in _thread_start () from /usr/lib/libc_r.so.5
(gdb)
(gdb) thread 4
[Switching to thread 4 (Process 62815, Thread 4)]#0 0x280e0aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) ba
#0 0x280e0aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1 0x280e1218 in _thread_kern_sched_state () from /usr/lib/libc_r.so.5
#2 0x280dd1a3 in _select () from /usr/lib/libc_r.so.5
#3 0x280dd3a3 in select () from /usr/lib/libc_r.so.5
#4 0x282b3bc3 in tcpListenMain () at tcp.c:704
#5 0x280d83fe in _thread_start () from /usr/lib/libc_r.so.5
(gdb)
(gdb) thread 3
[Switching to thread 3 (Process 62815, Thread 3)]#0 0x280e0aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) ba
#0 0x280e0aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1 0x280e1218 in _thread_kern_sched_state () from /usr/lib/libc_r.so.5
#2 0x280ddacb in _recvfrom () from /usr/lib/libc_r.so.5
#3 0x280ddb9a in recvfrom () from /usr/lib/libc_r.so.5
#4 0x282af295 in listenAndDistribute () at udp.c:234
#5 0x280d83fe in _thread_start () from /usr/lib/libc_r.so.5
(gdb)
(gdb) thread 2
[Switching to thread 2 (Process 62815, Thread 2)]#0 0x280e0aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) ba
#0 0x280e0aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1 0x280e1218 in _thread_kern_sched_state () from /usr/lib/libc_r.so.5
#2 0x280decc7 in _nanosleep () from /usr/lib/libc_r.so.5
#3 0x280dedce in nanosleep () from /usr/lib/libc_r.so.5
#4 0x2807fbc6 in cron () at cron.c:559
#5 0x280d83fe in _thread_start () from /usr/lib/libc_r.so.5
(gdb)
(gdb) thread 1
[Switching to thread 1 (Process 62815, Thread 1)]#0 0x2818994c in
strncmp () from /usr/lib/libc.so.5
(gdb) ba
#0 0x2818994c in strncmp () from /usr/lib/libc.so.5
Error accessing memory address 0xbfadaa20: Bad address.
(gdb)
LOG INFORMATION (no real pattern here that I can see)
Example 1 -
Aug 7 20:54:30 ERROR: not a pkcs-1 block type 2 (size=256, *tmp=41)!
Aug 7 20:54:30 WARNING: SKEY rejected from host
1A10C4058997A9748D3490F2262C6BB7E2534E4F
Aug 7 20:54:32 ERROR: not a pkcs-1 block type 2 (size=256, *tmp=103)!
Aug 7 20:54:32 WARNING: SKEY rejected from host
131CDB4292D56606695AD419DD6FBE61DC551EAC
Aug 7 20:54:33 INFO: write to tcp peer failed (Socket is not connected)
Aug 7 20:54:33 ERROR: not a pkcs-1 block type 2 (size=256, *tmp=54)!
Aug 7 20:54:33 WARNING: SKEY rejected from host
0C7100646A3F7E82AA9FD9657DB978F63165E7AA
Aug 7 20:54:33 INFO: write to tcp peer failed (Socket is not connected)
Aug 7 20:54:33 INFO: write to tcp peer failed (Socket is not connected)
Aug 7 20:54:34 INFO: write to tcp peer failed (Socket is not connected)
Aug 7 20:54:34 INFO: write to tcp peer failed (Socket is not connected)
Aug 7 20:54:34 INFO: write to tcp peer failed (Socket is not connected)
Aug 7 20:54:34 INFO: received PING, can not send PONG, no transport
known for peer 7EBECD38B0D11DA7070782A97D69C6FD135631BE
Aug 7 20:54:34 INFO: write to tcp peer failed (Socket is not connected)
Example 2 -
Aug 7 20:40:27 EVERYTHING: selecting at random from active nodes
9F0E4C00210189CBB98B732CA3B2B172D01AA415 using rand(32)*3 > rand(1353)
Aug 7 20:40:27 EVERYTHING: selecting at random from active nodes
F785DB966E7255421725230CE66B75D755282BF3 using rand(759)*3 > rand(1353)
Aug 7 20:40:27 EVERYTHING: node selected for forwarding from random
set: F785DB966E7255421725230CE66B75D755282BF3
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
68AAF096A684D4BD18BF3EFA3F3C0AE253948BC8
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
A00998C3DBFE28FBBAAF726946FEFC0FCBDE82FF
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
199D5E83A7060D1BE53BF70747A33D2101194844
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
21AD0369583BE242309D5EC27E4257678ADF5C70
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
1A10C4058997A9748D3490F2262C6BB7E2534E4F
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
4A0B917BB74182ABE30A591E791C8A0FAEAD27C8
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
42F91CAB229B3119F80A0D447A12FE867B60895F
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
131CDB4292D56606695AD419DD6FBE61DC551EAC
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
733F43296B15536EDEEA6792362C4440DFF1D269
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
CB6DB904F1C519D30317470193B701D014703004
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
0C7100646A3F7E82AA9FD9657DB978F63165E7AA
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
64D38AFA5A3DD58B84424DE7DF832484D89F8CFD
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
94EFB3FC1DD361F66B248C9D86128291628848D7
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
BCCE6F811E7A22045246A0680CC8BD1B6E8965E5
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
D47ED4986980222E534C399389DDD7712D1EE2CB
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
1EB4289D10FF700FA0FD51CAD346E6F1C6610397
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
9F0E4C00210189CBB98B732CA3B2B172D01AA415
Aug 7 20:40:27 EVERYTHING: queueing query in buffer of selected node
F785DB966E7255421725230CE66B75D755282BF3
Example 3 -
Aug 7 18:29:25 EVERYTHING: queueing query in buffer of selected node
BCCE6F811E7A22045246A0680CC8BD1B6E8965E5
Aug 7 18:29:25 EVERYTHING: queueing query in buffer of selected node
1EB4289D10FF700FA0FD51CAD346E6F1C6610397
Aug 7 18:29:25 EVERYTHING: getting file size of
/data/GNUnet/data/afs//content//bucket.1024.0.gdb
Aug 7 18:29:25 EVERYTHING: getting file size of
/data/GNUnet/data/afs//content//bucket.1024.1.gdb
Aug 7 18:29:25 EVERYTHING: getting file size of
/data/GNUnet/data/afs//content//bucket.1024.2.gdb
Aug 7 18:29:25 EVERYTHING: getting file size of
/data/GNUnet/data/afs//content//bucket.1024.3.gdb
Aug 7 18:29:25 EVERYTHING: getting file size of
/data/GNUnet/data/afs//content//bucket.1024.0.gdb
Aug 7 18:29:25 EVERYTHING: getting file size of
/data/GNUnet/data/afs//content//bucket.1024.1.gdb
Aug 7 18:29:25 EVERYTHING: getting file size of
/data/GNUnet/data/afs//content//bucket.1024.2.gdb
Aug 7 18:29:25 EVERYTHING: getting file size of
/data/GNUnet/data/afs//content//bucket.1024.3.gdb
STATISTICS INFORMATION
Pre-Crash -
ns7# gnunet-stats
Uptime (seconds) :
926
% of allowed network load :
57
% of allowed cpu load :
0
# bytes of noise received :
239580
# bytes received from clients :
4
# times outgoing msg sent (bandwidth ok) :
14242
# times outgoing msg dropped (bandwidth stressed) :
156773
# times incoming msg accepted (cpu ok) :
11863
# times incoming msg dropped (cpu overloaded) :
0
# sessionkeys received :
515
# valid sessionkeys received :
513
# sessionkeys sent :
52
# connections shutdown :
68
# currently connected nodes :
20
# bytes noise sent :
150504
# encrypted bytes sent :
20603064
# bytes decrypted :
15890864
# ping messages sent :
342
# ping messages received :
418
# pong messages sent :
93
# pong messages received :
108
# bytes received via udp :
10172488
# bytes sent via udp :
12296320
# bytes received via tcp :
9092108
# bytes sent via tcp :
8852312
# HELO messages received from http server :
0
# HELO messages received overall :
2530
# valid HELO messages received :
2360
# HELO messages forwarded from other peers :
1000
# HELO messages originated :
22
# Bloomfilter (content_bloomfilter) hits :
0
# Bloomfilter (content_bloomfilter) misses :
122026
# Bloomfilter (content_bloomfilter) adds :
0
# Bloomfilter (content_bloomfilter) dels :
0
# Bloomfilter (keyword_bloomfilter) hits :
2245
# Bloomfilter (keyword_bloomfilter) misses :
16876
# Bloomfilter (keyword_bloomfilter) adds :
716
# Bloomfilter (keyword_bloomfilter) dels :
0
# indexed files :
0
# size of indexed files :
0
# lookup (3HASH, search results) :
0
# lookup (CHK, inserted or migrated content) :
2247
# lookup (ONDEMAND, indexed content) :
0
# blocks AFS storage left (estimate) :
1043437
# kb downloaded by clients :
0
# kb ok content in :
3655
# kb dupe content in :
3286
# kb orphan or pushed content in :
59
# routing table full :
5607
# routing table entry replaced :
15043
# routing table entry already in place :
141829
# p2p queries sent :
34495
# p2p queries received :
122158
# p2p CHK content received (kb) :
4763
# p2p search results received (kb) :
0
# client queries received :
0
# client CHK content inserted (kb) :
0
# client 3HASH search results inserted (kb) :
0
# client file index requests received :
0
# file index requests received :
0
# super query index requests received :
0
# client CHK content deleted (kb) :
0
# client 3HASH search results deleted (kb) :
0
# client file unindex requests received :
0
# file unindex requests received :
0
# super query unindex requests received :
0
# kb content pushed out as padding :
2
# client trace requests received :
0
# client trace replies sent :
0
# p2p trace requests received :
0
# p2p trace replies sent :
0
Post-Crash -
ns7# gnunet-stats
Error receiving reply for statistics from gnunetd
NETWORK AND FILE STATUS INFORMATION
ns7# gnunet-transport-check
Testing transport(s) udp tcp
ERROR: message received was invalid
Transport OK, 0ms for 1 messages of size 11 bytes.
ns7#
Pre-Crash -
ns7# lsof | grep gnunet
gnunetd 63109 root cwd VDIR 4,14 512 2 /
gnunetd 63109 root rtd VDIR 4,14 512 2 /
gnunetd 63109 root txt VREG 4,14 351632 881329
/usr/local/bin/gnunetd
gnunetd 63109 root txt VREG 4,14 109240 805613
/usr/libexec/ld-elf.so.1
gnunetd 63109 root txt VREG 4,14 696176 881321
/usr/local/lib/libgnunetutil.so.0
gnunetd 63109 root txt VREG 4,14 62314 881231
/usr/local/lib/libltdl.so.4
gnunetd 63109 root txt VREG 4,14 81994 731301
/usr/local/lib/libgettextlib-0.11.5.so
gnunetd 63109 root txt VREG 4,14 125840 779247
/usr/lib/libm.so.2
gnunetd 63109 root txt VREG 4,14 112328 779253
/usr/lib/libc_r.so.5
gnunetd 63109 root txt VREG 4,14 886848 779252
/usr/lib/libc.so.5
gnunetd 63109 root txt VREG 4,14 37803 731307
/usr/local/lib/libintl.so.4
gnunetd 63109 root txt VREG 4,14 927233 731017
/usr/local/lib/libiconv.so.3
gnunetd 63109 root txt VREG 4,14 45229 881324
/usr/local/lib/libgnunettransport_udp.so.0
gnunetd 63109 root txt VREG 4,14 57505 881323
/usr/local/lib/libgnunettransport_tcp.so.0
gnunetd 63109 root txt VREG 4,14 41019 881326
/usr/local/lib/libgnunetafs_policy.so.0
gnunetd 63109 root txt VREG 4,14 45512 881325
/usr/local/lib/libgnunetafs_util.so.0
gnunetd 63109 root txt VREG 4,14 111142 881327
/usr/local/lib/libgnunetafs_database.so.0
gnunetd 63109 root txt VREG 4,14 175598 881328
/usr/local/lib/libgnunetafs_protocol.so.0
gnunetd 63109 root txt VREG 4,14 95948 880144
/usr/local/lib/libgnunetafs_database_gdbm.so.0
gnunetd 63109 root txt VREG 4,14 24163 880171
/usr/local/lib/libgdbm.so.3
gnunetd 63109 root txt VREG 4,14 22408 880114
/usr/local/lib/libgnunetcommon.so.0
gnunetd 63109 root txt VREG 4,14 33127 880155
/usr/local/lib/libgnunetchat_protocol.so.0
gnunetd 63109 root txt VREG 4,14 38725 880159
/usr/local/lib/libgnunettbench_protocol.so.0
gnunetd 63109 root txt VREG 4,14 41744 880163
/usr/local/lib/libgnunettracekit_protocol.so.0
gnunetd 63109 root 0u VCHR 2,2 0t0 8
/dev/null
gnunetd 63109 root 1u VCHR 2,2 0t0 8
/dev/null
gnunetd 63109 root 2u VCHR 2,2 0t0 8
/dev/null
gnunetd 63109 root 3u PIPE 0xc64592c0 16384
->0xc6459f20
gnunetd 63109 root 4u PIPE 0xc6459f20 16384
->0xc64592c0
gnunetd 63109 root 5u VREG 4,18 442461 659528
/data/GNUnet/logs
gnunetd 63109 root 6u VCHR 2,2 0t0 8
/dev/null
gnunetd 63109 root 7u VREG 4,18 0 659464
/data/GNUnet/data/afs/content_bloomfilter
gnunetd 63109 root 8u IPv4 0xc6afc708 0t0 TCP *:2087
(LISTEN)
gnunetd 63109 root 9u PIPE 0xc64599a0 16384
->0xc6459b00
gnunetd 63109 root 10u PIPE 0xc6459b00 16384
->0xc64599a0
gnunetd 63109 root 11u IPv4 0xc6af0e10 0t0 TCP *:2086
(LISTEN)
gnunetd 63109 root 12u IPv4 0xc64ed474 0t0 UDP *:2086
gnunetd 63109 root 13u VREG 4,18 4193488 659465
/data/GNUnet/data/afs/keyword_bloomfilter
gnunetd 63109 root 14uW VREG 4,18 822491 659470
/data/GNUnet/data/afs/content/bucket.1024.0.gdb
gnunetd 63109 root 15uW VREG 4,18 904411 659472
/data/GNUnet/data/afs/content/bucket.1024.1.gdb
gnunetd 63109 root 16uW VREG 4,18 891318 659474
/data/GNUnet/data/afs/content/bucket.1024.2.gdb
gnunetd 63109 root 17uW VREG 4,18 884736 659476
/data/GNUnet/data/afs/content/bucket.1024.3.gdb
[ Connections to other GNUnet users omitted here ]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-gnunet] GNUnet / FreeBSD,
ian <=