sftp hang during a long sftp push
Robert Collins
robertc at robertcollins.net
Tue Jan 17 20:08:08 GMT 2006
Hi, I was doing an 80 hour sftp push yesterday, and it locked up.
Using gdb I was able to get the following info:
2 Thread 1082132832 (LWP 5492) 0x00002aaaab121446 in select ()
from /lib/libc.so.6
1 Thread 46912504432336 (LWP 12068) 0x00002aaaaabcc72f in sem_wait ()
from /lib/libpthread.so.0
thread 2:
#0 0x00002aaaab121446 in select () from /lib/libc.so.6
#1 0x00002aaaabaeb94c in sock_recv (s=0x2aaaaf1d32f0, args=Variable
"args" is not available.
) at /build/buildd/python2.4-2.4.2/Modules/socketmodule.c:656
#2 0x00000000004772a1 in PyEval_EvalFrame (f=0x4ebee30)
at ../Python/ceval.c:3558
#3 0x00000000004762a6 in PyEval_EvalFrame (f=0x376fb40)
at ../Python/ceval.c:3640
#4 0x00000000004762a6 in PyEval_EvalFrame (f=0xb07110)
at ../Python/ceval.c:3640
#5 0x00000000004762a6 in PyEval_EvalFrame (f=0x376f830)
at ../Python/ceval.c:3640
#6 0x0000000000477bef in PyEval_EvalCodeEx (co=0x2aaaab460b20,
globals=Variable "globals" is not available.
) at ../Python/ceval.c:2736
#7 0x00000000004bf32a in function_call (func=0x2aaaab46b578,
arg=0x2aaaae246610, kw=Variable "kw" is not available.
) at ../Objects/funcobject.c:548
#8 0x0000000000414530 in PyObject_Call (func=Variable "func" is not
available.
) at ../Objects/abstract.c:1756
#9 0x000000000041a9e7 in instancemethod_call (func=Variable "func" is
not available.
) at ../Objects/classobject.c:2447
#10 0x0000000000414530 in PyObject_Call (func=Variable "func" is not
available.
) at ../Objects/abstract.c:1756
#11 0x0000000000470074 in PyEval_CallObjectWithKeywords
(func=0x2aaaad48bdc0, arg=0x2aaaaaac5050, kw=0x0)
at ../Python/ceval.c:3425
#12 0x00000000004a2dbd in t_bootstrap (boot_raw=0x778370)
at ../Modules/threadmodule.c:434
#13 0x00002aaaaabc80fa in start_thread () from /lib/libpthread.so.0
#14 0x00002aaaab128383 in clone () from /lib/libc.so.6
thread 1:
#2 0x00002aaaaabcc72f in sem_wait () from /lib/libpthread.so.0
#3 0x000000000049fa6d in PyThread_acquire_lock (lock=0x3f27a00,
waitflag=1) at thread_pthread.h:313
#4 0x00000000004a2718 in lock_PyThread_acquire_lock
(self=0x2aaaaab15cf0, args=0x2aaaaaac5050)
at ../Modules/threadmodule.c:63
#5 0x00000000004772a1 in PyEval_EvalFrame (f=0x2d6f2b0)
at ../Python/ceval.c:3558
#6 0x0000000000477bef in PyEval_EvalCodeEx (co=0x2aaaab45bc70,
globals=Variable "globals" is not available.
) at ../Python/ceval.c:2736
#7 0x000000000047618b in PyEval_EvalFrame (f=0x9d63a0)
at ../Python/ceval.c:3651
#8 0x00000000004762a6 in PyEval_EvalFrame (f=0x2d6c170)
at ../Python/ceval.c:3640
#9 0x00000000004762a6 in PyEval_EvalFrame (f=0x5158430)
at ../Python/ceval.c:3640
#10 0x00000000004762a6 in PyEval_EvalFrame (f=0x2a836e0)
at ../Python/ceval.c:3640
#11 0x0000000000477bef in PyEval_EvalCodeEx (co=0x2aaaad5eb8f0,
globals=Variable "globals" is not available.
) at ../Python/ceval.c:2736
#12 0x000000000047618b in PyEval_EvalFrame (f=0x5157ca0)
at ../Python/ceval.c:3651
#13 0x0000000000477bef in PyEval_EvalCodeEx (co=0x2aaaad5eb810,
globals=Variable "globals" is not available.
) at ../Python/ceval.c:2736
#14 0x000000000047618b in PyEval_EvalFrame (f=0x35ee7f0)
at ../Python/ceval.c:3651
#15 0x00000000004762a6 in PyEval_EvalFrame (f=0x389f310)
at ../Python/ceval.c:3640
#16 0x0000000000477bef in PyEval_EvalCodeEx (co=0x2aaaad5e32d0,
globals=Variable "globals" is not available.
in python that is:
=== thread 2
/home/pqm/source/bzr.dev/paramiko/packet.py (178): read_all
/home/pqm/source/bzr.dev/paramiko/packet.py (dwarf2_read_address:
Corrupted DWARF expression.
=== thread 1
/usr/lib/python2.4/threading.py (204): wait
/home/pqm/source/bzr.dev/paramiko/channel.py (524): recv
/home/pqm/source/bzr.dev/paramiko/sftp.py (dwarf2_read_address:
Corrupted DWARF expression.
===
HTHs to figure out whats up. I cant reproduce this trivially- but try a
loong running sftp connection.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060118/105a26f1/attachment.pgp
More information about the bazaar
mailing list