Hi,

>>>>> "Christian" == Christian Grothoff <[EMAIL PROTECTED]> writes:

> On Friday 28 September 2007 11:26:47 am David Kuehling wrote:
>> I noticed a problem of gnunet-download with SVN 5643 (2007-09-18).
>> Doesn't react to Ctrl+C even after a day or so of running.  Attached
>> GDB and did backtraces on all threads, see gdb.txt (attached).
[..]

> This looks like it maybe an issue with gnunetd -- gnunet-download is
> merely waiting for an operation to complete with gnunetd (and the
> assumption is that gnunetd completes this type of operation (reading
> request from socket) almost instantly.  So either your gnunetd is
> super-busy or deadlocked itself -- this is NOT a deadlock in
> gnunet-download (more like blocking IO).

> If it happens again, a gdb trace of gnunetd might give some insight.

It is still happening :) as I haven't restarted gnunetd, and
gnunet-download still runs (from within 'screen', despite Ctrl+C).
Backtrace for all gnunetd threads attached.  BTW another download
continued to run fine in parallel with the deadlocked gnunet-download.

regards,

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

  14 Thread -1215214672 (LWP 4885)  0xb7d4e787 in select ()
   from /lib/tls/libc.so.6
  13 Thread -1227830352 (LWP 4886)  0xb7dc6b3c in __nanosleep_nocancel ()
   from /lib/tls/libpthread.so.0
  12 Thread -1244648528 (LWP 4888)  0xb7d4e787 in select ()
   from /lib/tls/libc.so.6
  11 Thread -1253037136 (LWP 4889)  0xb7d4e787 in select ()
   from /lib/tls/libc.so.6
  10 Thread -1261470800 (LWP 4890)  0xb7dc6b3c in __nanosleep_nocancel ()
   from /lib/tls/libpthread.so.0
  9 Thread -1272923216 (LWP 4891)  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2
    () from /lib/tls/libpthread.so.0
  8 Thread -1281578064 (LWP 4892)  0xb7dc6b3c in __nanosleep_nocancel ()
   from /lib/tls/libpthread.so.0
  7 Thread -1296843856 (LWP 4893)  0xb7dc6b3c in __nanosleep_nocancel ()
   from /lib/tls/libpthread.so.0
  6 Thread -1314059344 (LWP 4896)  0xb7dc6b3c in __nanosleep_nocancel ()
   from /lib/tls/libpthread.so.0
  5 Thread -1305670736 (LWP 4897)  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2
    () from /lib/tls/libpthread.so.0
  4 Thread -1322447952 (LWP 4898)  0xb7dc6b3c in __nanosleep_nocancel ()
   from /lib/tls/libpthread.so.0
  3 Thread -1330836560 (LWP 4899)  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2
    () from /lib/tls/libpthread.so.0
  2 Thread -1339225168 (LWP 4900)  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2
    () from /lib/tls/libpthread.so.0
  1 Thread -1212705088 (LWP 4884)  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2
    () from /lib/tls/libpthread.so.0
[Switching to thread 14 (Thread -1215214672 (LWP 4885))]#0  0xb7d4e787 in 
select () from /lib/tls/libc.so.6
#0  0xb7d4e787 in select () from /lib/tls/libc.so.6
#1  0xb7c7f61d in selectThread (ctx=0x8053a90) at select.c:508
#2  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 13 (Thread -1227830352 (LWP 4886))]#0  0xb7dc6b3c in 
__nanosleep_nocancel () from /lib/tls/libpthread.so.0
#0  0xb7dc6b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7c84818 in PTHREAD_SLEEP (delay=0) at pthread.c:226
#2  0xb7c7225f in cron_main_method (ctx=0x8057370) at cron.c:580
#3  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 12 (Thread -1244648528 (LWP 4888))]#0  0xb7d4e787 in 
select () from /lib/tls/libc.so.6
#0  0xb7d4e787 in select () from /lib/tls/libc.so.6
#1  0xb7c7f61d in selectThread (ctx=0x8062eb8) at select.c:508
#2  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 11 (Thread -1253037136 (LWP 4889))]#0  0xb7d4e787 in 
select () from /lib/tls/libc.so.6
#0  0xb7d4e787 in select () from /lib/tls/libc.so.6
#1  0xb7c7f61d in selectThread (ctx=0x8062f98) at select.c:508
#2  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 10 (Thread -1261470800 (LWP 4890))]#0  0xb7dc6b3c in 
__nanosleep_nocancel () from /lib/tls/libpthread.so.0
#0  0xb7dc6b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7c84818 in PTHREAD_SLEEP (delay=0) at pthread.c:226
#2  0xb4d0057b in processThread (unused=0x0) at bootstrap.c:193
#3  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 9 (Thread -1272923216 (LWP 4891))]#0  0xb7dc3c01 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#0  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7c84c75 in SEMAPHORE_DOWN_FL (s=0x80675c8, mayblock=1, longwait=1, 
    file=0xb44e98be "prefetch.c", line=72) at semaphore.c:154
#2  0xb44e8937 in acquire (key=0xb420b388, value=0xaed18188, closure=0x0, 
    uid=201352) at prefetch.c:72
#3  0xb44dedb3 in iterateHelper (type=<value optimized out>, 
    is_asc=<value optimized out>, is_prio=<value optimized out>, 
    iter_select=3, iter=0xb44e88f8 <acquire>, closure=0x0) at mysql.c:967
#4  0xb44dee85 in iterateMigrationOrder (iter=0xb44e88f8 <acquire>, 
    closure=0x0) at mysql.c:1047
#5  0xb44e8816 in rcbAcquire (unused=0x0) at prefetch.c:95
#6  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#7  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 8 (Thread -1281578064 (LWP 4892))]#0  0xb7dc6b3c in 
__nanosleep_nocancel () from /lib/tls/libpthread.so.0
#0  0xb7dc6b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7c84818 in PTHREAD_SLEEP (delay=0) at pthread.c:226
#2  0xb7c7225f in cron_main_method (ctx=0x80a4da8) at cron.c:580
#3  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 7 (Thread -1296843856 (LWP 4893))]#0  0xb7dc6b3c in 
__nanosleep_nocancel () from /lib/tls/libpthread.so.0
#0  0xb7dc6b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7c84818 in PTHREAD_SLEEP (delay=0) at pthread.c:226
#2  0xb7c7225f in cron_main_method (ctx=0x80a5e20) at cron.c:580
#3  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 6 (Thread -1314059344 (LWP 4896))]#0  0xb7dc6b3c in 
__nanosleep_nocancel () from /lib/tls/libpthread.so.0
#0  0xb7dc6b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7c84818 in PTHREAD_SLEEP (delay=0) at pthread.c:226
#2  0xb44ece54 in push_callback (key=0xb1ad03a8, value=0xaef4c488, 
    closure=0x0, uid=291314) at dht_push.c:92
#3  0xb44dedb3 in iterateHelper (type=<value optimized out>, 
    is_asc=<value optimized out>, is_prio=<value optimized out>, 
    iter_select=1, iter=0xb44ecde9 <push_callback>, closure=0x0) at mysql.c:967
#4  0xb44ecda9 in push_thread (cls=0x0) at dht_push.c:113
#5  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#6  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 5 (Thread -1305670736 (LWP 4897))]#0  0xb7dc3c01 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#0  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7c84c75 in SEMAPHORE_DOWN_FL (s=0x806cb50, mayblock=1, longwait=1, 
    file=0xb44f256c "fs.c", line=1007) at semaphore.c:154
#2  0xb44ef41a in localGetter (noargs=0x0) at fs.c:1007
#3  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 4 (Thread -1322447952 (LWP 4898))]#0  0xb7dc6b3c in 
__nanosleep_nocancel () from /lib/tls/libpthread.so.0
#0  0xb7dc6b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7c84818 in PTHREAD_SLEEP (delay=9) at pthread.c:226
#2  0xb7c7225f in cron_main_method (ctx=0x804f5f8) at cron.c:580
#3  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 3 (Thread -1330836560 (LWP 4899))]#0  0xb7dc3c01 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#0  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7c84c75 in SEMAPHORE_DOWN_FL (s=0x805bc40, mayblock=1, longwait=1, 
    file=0xb7ef70af "handler.c", line=612) at semaphore.c:154
#2  0xb7ef4cdb in threadMain (cls=0xbfc1d010) at handler.c:612
#3  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 2 (Thread -1339225168 (LWP 4900))]#0  0xb7dc3c01 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#0  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7c84c75 in SEMAPHORE_DOWN_FL (s=0x805bc40, mayblock=1, longwait=1, 
    file=0xb7ef70af "handler.c", line=612) at semaphore.c:154
#2  0xb7ef4cdb in threadMain (cls=0xbfc1d010) at handler.c:612
#3  0xb7dc10bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7d55ace in clone () from /lib/tls/libc.so.6
[Switching to thread 1 (Thread -1212705088 (LWP 4884))]#0  0xb7dc3c01 in 
pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#0  0xb7dc3c01 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7c84c75 in SEMAPHORE_DOWN_FL (s=0x804b030, mayblock=1, longwait=1, 
    file=0xb7c86f71 "shutdown.c", line=65) at semaphore.c:154
#2  0xb7c851a2 in GNUNET_SHUTDOWN_WAITFOR () at shutdown.c:65
#3  0x08049361 in gnunet_main () at gnunetd.c:86
#4  0x0804959c in main (argc=Cannot access memory at address 0x0
) at gnunetd.c:288
The program is running.  Quit anyway (and detach it)? (y or n) Detaching from 
program: /usr/local/bin/gnunetd, process 4884
_______________________________________________
Help-gnunet mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnunet

Reply via email to