[issue24026] Python hangs forever in wait() of threading.py

2021-04-25 Thread Irit Katriel


Irit Katriel  added the comment:

Python 2.7 is no longer maintained. If this is still a problem in python 3.8+, 
and you manage to produce a repro script, please open a new issue for it.

--
nosy: +iritkatriel
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24026] Python hangs forever in wait() of threading.py

2015-04-24 Thread appidman

appidman added the comment:

I created a issue for paramiko: https://github.com/paramiko/paramiko/issues/515

I'm trying to create a script which reproduces the bug, but it might be a bit 
tough, because as I said it's not happening all the time.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24026
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24026] Python hangs forever in wait() of threading.py

2015-04-22 Thread appidman

New submission from appidman:

I use paramiko to create SSH sessions to Linux machines, which works great 95% 
of the time. But sometimes, the Python process which creates the SSH session 
hangs forever in wait() of threading.py (see attachment 'gdb.txt' for full 
output).

{code}
(gdb) py-list
 239waiter.acquire()
 240self.__waiters.append(waiter)
 241saved_state = self._release_save()
 242try:# restore state no matter what (e.g., 
KeyboardInterrupt) 
 243if timeout is None:
244waiter.acquire()
 245if __debug__:
 246self._note(%s.wait(): got it, self)
 247else:
 248# Balancing act:  We can't afford a pure busy loop, so 
we
 249# have to sleep; but if we sleep the whole timeout time,


(gdb) py-bt
#5 Frame 0xb459a5c, for file /usr/lib/python2.7/threading.py, line 244, in wait 
(self=_Condition(_Verbose__verbose=False, _Condition__lock=thread.lock at 
remote 0xaf7e3a0, acquire=built-in method acquire of thread.lock object at 
remote 0xaf7e3a0, _Condition__waiters=[thread.lock at remote 0xaf7e100], 
release=built-in method release of thread.lock object at remote 0xaf7e3a0) at 
remote 0xb73708c, timeout=None, waiter=thread.lock at remote 0xaf7e100, 
saved_state=None)
waiter.acquire()
#9 Frame 0xb66118c, for file 
/usr/lib/python2.7/dist-packages/paramiko/buffered_pipe.py, line 137, in read 
(self=BufferedPipe(_closed=False, _lock=thread.lock at remote 0xaf7e3a0, 
_buffer=array.array at remote 0xb737ea0, _event=None, 
_cv=_Condition(_Verbose__verbose=False, _Condition__lock=thread.lock at 
remote 0xaf7e3a0, acquire=built-in method acquire of thread.lock object at 
remote 0xaf7e3a0, _Condition__waiters=[thread.lock at remote 0xaf7e100], 
release=built-in method release of thread.lock object at remote 0xaf7e3a0) at 
remote 0xb73708c) at remote 0xb737a4c, nbytes=8192, timeout=None, out='', 
then=float at remote 0xb57efe4)
self._cv.wait(timeout)
{code}

--
components: Library (Lib)
files: gdb.txt
messages: 241806
nosy: appidman
priority: normal
severity: normal
status: open
title: Python hangs forever in wait() of threading.py
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file39167/gdb.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24026
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24026] Python hangs forever in wait() of threading.py

2015-04-22 Thread R. David Murray

R. David Murray added the comment:

This could easily be a programming error.  We'd need a cut down reproducer to 
know if it is a python bug and be able to fix it if so.  Have you reported this 
to paramiko?

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24026
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com