gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-developers] infos about gnunetd hanging


From: Milan
Subject: [GNUnet-developers] infos about gnunetd hanging
Date: Sat, 13 May 2006 16:27:01 +0200
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051017)

I think I got some good infos about a hang in gnunetd.

All was working well, but nunet-gtk crashed, and then my CPU was 100% used, hard disk working much, and gnunet-gtk wouldn't start again (like it was not getting answer from gnunetd, too busy to do this). So I did a killall gnunetd as root, but I did not stop before about 15 minutes. I used this time to see where is was hanging, adn it seems it was in a unique function during at least 10 min. Note that when gnuentd died, gnunet-gtk started (it was blocked, waiting for something from gnunetd).

Hope this will help avoiding this horrible behavior... ;-)


Results of gdb attach [gnunetd pid]
different ba are called with intervals of 10 minutes in total

0xb7f38b81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
(gdb) ba
#0  0xb7f38b81 in pthread_cond_wait@@GLIBC_2.3.2 ()
  from /lib/tls/libpthread.so.0
#1  0xb7fa63a8 in semaphore_down_ (s=0x8408e90,
   filename=0xb7f8d879 "handler.c", linenumber=591) at semaphore.c:280
#2  0xb7f89982 in disableCoreProcessing () at handler.c:591
#3  0x08048d70 in gnunet_main () at gnunetd.c:115
#4  0x08048e00 in main (argc=-4, argv=0xfffffffc) at gnunetd.c:149
(gdb) continue
Continuing.

Program received signal SIGINT, Interrupt.
[Switching to Thread -1210698048 (LWP 1650)]
0xb7f38b81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
(gdb) ba
#0  0xb7f38b81 in pthread_cond_wait@@GLIBC_2.3.2 ()
  from /lib/tls/libpthread.so.0
#1  0xb7fa63a8 in semaphore_down_ (s=0x8408e90,
   filename=0xb7f8d879 "handler.c", linenumber=591) at semaphore.c:280
#2  0xb7f89982 in disableCoreProcessing () at handler.c:591
#3  0x08048d70 in gnunet_main () at gnunetd.c:115
#4  0x08048e00 in main (argc=-4, argv=0xfffffffc) at gnunetd.c:149
(gdb) continue
Continuing.

Program received signal SIGINT, Interrupt.
0xb7f38b81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
(gdb) ba
#0  0xb7f38b81 in pthread_cond_wait@@GLIBC_2.3.2 ()
  from /lib/tls/libpthread.so.0
#1  0xb7fa63a8 in semaphore_down_ (s=0x8408e90,
   filename=0xb7f8d879 "handler.c", linenumber=591) at semaphore.c:280
#2  0xb7f89982 in disableCoreProcessing () at handler.c:591
#3  0x08048d70 in gnunet_main () at gnunetd.c:115
#4  0x08048e00 in main (argc=-4, argv=0xfffffffc) at gnunetd.c:149
(gdb) continue
Continuing.

Program received signal SIGINT, Interrupt.
0xb7f38b81 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
(gdb) ba
#0  0xb7f38b81 in pthread_cond_wait@@GLIBC_2.3.2 ()
  from /lib/tls/libpthread.so.0
#1  0xb7fa63a8 in semaphore_down_ (s=0x8408e90,
   filename=0xb7f8d879 "handler.c", linenumber=591) at semaphore.c:280
#2  0xb7f89982 in disableCoreProcessing () at handler.c:591
#3  0x08048d70 in gnunet_main () at gnunetd.c:115
#4  0x08048e00 in main (argc=-4, argv=0xfffffffc) at gnunetd.c:149
(gdb) continue
Continuing.
[Thread -1253639248 (LWP 1663) exited]
[Thread -1245250640 (LWP 1664) exited]
[Thread -1269007440 (LWP 1662) exited]
[Thread -1210971216 (LWP 1651) exited]
[Thread -1262027856 (LWP 1659) exited]
[Thread -1236419664 (LWP 1655) exited]
[Thread -1211221072 (LWP 1652) exited]
[Thread -1219609680 (LWP 1653) exited]
[Thread -1227998288 (LWP 1654) exited]

Program exited normally.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]