gnunet-developers
[Top][All Lists]
Advanced

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

Re: [GNUnet-developers] infos about gnunetd hanging


From: Christian Grothoff
Subject: Re: [GNUnet-developers] infos about gnunetd hanging
Date: Sat, 13 May 2006 18:19:19 -0700
User-agent: KMail/1.9.1

Sorry, but those traces are useless.  Thread 1 is just waiting for 
some "other" thread.  As described in the FAQ, you should have obtained 
traces for all of the other gnunetd threads, then we could have figured out 
what is going on.  pthread_cond_wait just blocks waiting for some other 
thread to progress -- we need to know what the other threads were doing at 
this time to say why pthread_cond_wait did not eventually return.

Oh, and if you are able to reproduce the situation, please report the crash to 
Mantis ;-)

Christian

On Saturday 13 May 2006 07:27, Milan wrote:
> 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.
>
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnunet-developers




reply via email to

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