Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
py-bt output from spur.py issue #14
(gdb) t a a py-bt
Thread 5 (Thread 0x7f4f592d4700 (LWP 7760)):
Thread 4 (Thread 0x7f4f57964700 (LWP 30772)):
#6 Frame 0x7f4f50002190, for file /usr/local/lib/python2.7/dist-packages/paramiko/packet.py, line 208, in read_all (self=<Packetizer(_Packetizer__remainder='', _Packetizer__block_size_in=16, _Packetizer__compress_engine_out=None, _Packetizer__sent_packets=4, _Packetizer__mac_engine_in=<module at remote 0x7f4f61b4f408>, _Packetizer__sequence_number_out=7L, _Packetizer__received_packets_overflow=0, _Packetizer__closed=False, _Packetizer__sequence_number_in=9L, _Packetizer__logger=<Logger(name='paramiko.transport', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0x7f4f6245e6d0>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'test': <Logger(name='test', parent=<...>, handlers=[<FileHandler(stream=<file at remote 0x7f4f5b695540>, encoding=None, lock=<_RLock(_Verbose__verbose=False, _RLock__owner=None, _RLock__block=<thread.lock at remote 0x7f4f611e3b30>, _RLock__count=0) at remote 0x7f...(truncated)
x = self.__socket.recv(n)
#10 Frame 0x7f4f50001f30, for file /usr/local/lib/python2.7/dist-packages/paramiko/packet.py, line 335, in read_message (self=<Packetizer(_Packetizer__remainder='', _Packetizer__block_size_in=16, _Packetizer__compress_engine_out=None, _Packetizer__sent_packets=4, _Packetizer__mac_engine_in=<module at remote 0x7f4f61b4f408>, _Packetizer__sequence_number_out=7L, _Packetizer__received_packets_overflow=0, _Packetizer__closed=False, _Packetizer__sequence_number_in=9L, _Packetizer__logger=<Logger(name='paramiko.transport', parent=<RootLogger(name='root', parent=None, handlers=[], level=30, disabled=0, propagate=1, filters=[]) at remote 0x7f4f6245e6d0>, handlers=[], level=0, disabled=0, manager=<Manager(emittedNoHandlerWarning=0, disable=0, root=<...>, loggerDict={'test': <Logger(name='test', parent=<...>, handlers=[<FileHandler(stream=<file at remote 0x7f4f5b695540>, encoding=None, lock=<_RLock(_Verbose__verbose=False, _RLock__owner=None, _RLock__block=<thread.lock at remote 0x7f4f611e3b30>, _RLock__count=0) at remote ...(truncated)
header = self.read_all(self.__block_size_in, check_rekey=True)
#13 Frame 0x7f4f50000b50, for file /usr/local/lib/python2.7/dist-packages/paramiko/transport.py, line 1426, in run (self=<Transport(_Thread__ident=139978748610304, host_key_type='ssh-rsa', _channels=<ChannelMap(_lock=<thread.lock at remote 0x7f4f611e3f50>, _map=<WeakValueDictionary(_remove=<function at remote 0x7f4f58615aa0>, _pending_removals=[], _iterating=set([]), data={1: <KeyedRef at remote 0x7f4f5b697ad0>}) at remote 0x7f4f585e8098>) at remote 0x7f4f5799e210>, lock=<thread.lock at remote 0x7f4f611e3fd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3c70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3c70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3c70>) at remote 0x7f4f586201d0>) at remote 0x7f4f6240df50>, _channel_counter=2, active=True, _preferred_compression=('none',), server_object=None, kex_eng...(truncated)
ptype, m = self.packetizer.read_message()
#16 Frame 0x7f4f4c0024b0, for file /usr/lib/python2.7/threading.py, line 810, in __bootstrap_inner (self=<Transport(_Thread__ident=139978748610304, host_key_type='ssh-rsa', _channels=<ChannelMap(_lock=<thread.lock at remote 0x7f4f611e3f50>, _map=<WeakValueDictionary(_remove=<function at remote 0x7f4f58615aa0>, _pending_removals=[], _iterating=set([]), data={1: <KeyedRef at remote 0x7f4f5b697ad0>}) at remote 0x7f4f585e8098>) at remote 0x7f4f5799e210>, lock=<thread.lock at remote 0x7f4f611e3fd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3c70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3c70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3c70>) at remote 0x7f4f586201d0>) at remote 0x7f4f6240df50>, _channel_counter=2, active=True, _preferred_compression=('none',), server_object=None, kex_engine=None, server...(truncated)
self.run()
#19 Frame 0x7f4f48001020, for file /usr/lib/python2.7/threading.py, line 783, in __bootstrap (self=<Transport(_Thread__ident=139978748610304, host_key_type='ssh-rsa', _channels=<ChannelMap(_lock=<thread.lock at remote 0x7f4f611e3f50>, _map=<WeakValueDictionary(_remove=<function at remote 0x7f4f58615aa0>, _pending_removals=[], _iterating=set([]), data={1: <KeyedRef at remote 0x7f4f5b697ad0>}) at remote 0x7f4f585e8098>) at remote 0x7f4f5799e210>, lock=<thread.lock at remote 0x7f4f611e3fd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3c70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3c70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3c70>) at remote 0x7f4f586201d0>) at remote 0x7f4f6240df50>, _channel_counter=2, active=True, _preferred_compression=('none',), server_object=None, kex_engine=None, server_key_d...(truncated)
self.__bootstrap_inner()
Thread 3 (Thread 0x7f4f581a5700 (LWP 30779)):
#4 Frame 0x7f4f500074a0, for file /usr/lib/python2.7/threading.py, line 339, in wait (self=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d50>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3d50>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3f10>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3d50>) at remote 0x7f4f5799e610>, timeout=None, waiter=<thread.lock at remote 0x7f4f611e3f10>, saved_state=None)
waiter.acquire()
#8 Frame 0x7f4f4c001d20, for file /usr/local/lib/python2.7/dist-packages/paramiko/buffered_pipe.py, line 147, in read (self=<BufferedPipe(_closed=False, _lock=<thread.lock at remote 0x7f4f611e3d50>, _buffer=<array.array at remote 0x7f4f5b6bcea0>, _event=None, _cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d50>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3d50>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3f10>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3d50>) at remote 0x7f4f5799e610>) at remote 0x7f4f5799e5d0>, nbytes=8192, timeout=None, out='', then=<float at remote 0x2782458>)
self._cv.wait(timeout)
#12 Frame 0x7f4f5796ca00, for file /usr/local/lib/python2.7/dist-packages/paramiko/channel.py, line 583, in recv (self=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3d90>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3d90>) at remote 0x7f4f5799e8d0>) at remote 0x7f4f5799e850>, trans...(truncated)
out = self.in_buffer.read(nbytes, self.timeout)
#15 Frame 0x7f4f5796de50, for file /usr/local/lib/python2.7/dist-packages/paramiko/channel.py, line 1212, in _read (self=<ChannelFile(_wbuffer=<cStringIO.StringO at remote 0x7f4f5b6bcd18>, _closed=False, _bufsize=8192, _pos=2, _at_trailing_cr=False, _size=0, _rbuffer='', _flags=17, _realpos=2, channel=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d---Type <return> to continue, or q <return> to quit---
0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acquire of thread.lock object at remot...(truncated)
return self.channel.recv(size)
#18 Frame 0x7f4f50002690, for file /usr/local/lib/python2.7/dist-packages/paramiko/file.py, line 143, in read (self=<ChannelFile(_wbuffer=<cStringIO.StringO at remote 0x7f4f5b6bcd18>, _closed=False, _bufsize=8192, _pos=2, _at_trailing_cr=False, _size=0, _rbuffer='', _flags=17, _realpos=2, channel=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acquire of thread.lock object at remote 0x7...(truncated)
new_data = self._read(self._DEFAULT_BUFSIZE)
#22 Frame 0x7f4f4c001410, for file /usr/local/lib/python2.7/dist-packages/spur/io.py, line 33, in _capture_output (self=<OutputHandler(_file_in=<ChannelFile(_wbuffer=<cStringIO.StringO at remote 0x7f4f5b6bcd18>, _closed=False, _bufsize=8192, _pos=2, _at_trailing_cr=False, _size=0, _rbuffer='', _flags=17, _realpos=2, channel=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acquire of thre...(truncated)
self._output = self._file_in.read()
#27 Frame 0x7f4f585f1e18, for file /usr/lib/python2.7/threading.py, line 763, in run (self=<Thread(_Thread__ident=139978757265152, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3b70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3b70>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3c30>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3b70>) at remote 0x7f4f5799eb50>, _Thread__name='Thread-47', _Thread__daemonic=True, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3df0>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3df0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3df0>) at remote 0x7f4f5799eb10>) at remote 0x7f4f5799ead0>, _Thread__stderr=<file at remote 0x7f4f64aa61e0>, _Thread__target=<...(truncated)
self.__target(*self.__args, **self.__kwargs)
#30 Frame 0x7f4f480027d0, for file /usr/lib/python2.7/threading.py, line 810, in __bootstrap_inner (self=<Thread(_Thread__ident=139978757265152, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3b70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3b70>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3c30>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3b70>) at remote 0x7f4f5799eb50>, _Thread__name='Thread-47', _Thread__daemonic=True, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3df0>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3df0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3df0>) at remote 0x7f4f5799eb10>) at remote 0x7f4f5799ead0>, _Thread__stderr=<file at remote 0x7f4f64aa61e0>, _Th...(truncated)
self.run()
#33 Frame 0x7f4f48002b60, for file /usr/lib/python2.7/threading.py, line 783, in __bootstrap (self=<Thread(_Thread__ident=139978757265152, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3b70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3b70>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3c30>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3b70>) at remote 0x7f4f5799eb50>, _Thread__name='Thread-47', _Thread__daemonic=True, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3df0>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3df0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3df0>) at remote 0x7f4f5799eb10>) at remote 0x7f4f5799ead0>, _Thread__stderr=<file at remote 0x7f4f64aa61e0>, _Thread__...(truncated)
self.__bootstrap_inner()
Thread 2 (Thread 0x7f4f57163700 (LWP 30780)):
#4 Frame 0x7f4f50005370, for file /usr/lib/python2.7/threading.py, line 339, in wait (self=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3c90>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3c90>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3f90>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3c90>) at remote 0x7f4f5799e750>, timeout=None, waiter=<thread.lock at remote 0x7f4f611e3f90>, saved_state=None)
waiter.acquire()
#8 Frame 0x2638900, for file /usr/local/lib/python2.7/dist-packages/paramiko/buffered_pipe.py, line 147, in read (self=<BufferedPipe(_closed=False, _lock=<thread.lock at remote 0x7f4f611e3c90>, _buffer=<array.array at remote 0x7f4f5bbc8c00>, _event=None, _cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3c90>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3c90>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3f90>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3c90>) at remote 0x7f4f5799e750>) at remote 0x7f4f5799e590>, nbytes=8192, timeout=None, out='', then=<float at remote 0x2782410>)
self._cv.wait(timeout)
#12 Frame 0x7f4f5796cbf0, for file /usr/local/lib/python2.7/dist-packages/paramiko/channel.py, line 631, in recv_stderr (self=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3d90>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3d90>) at remote 0x7f4f5799e8d0>) at remote 0x7f4f5799e850>...(truncated)
out = self.in_stderr_buffer.read(nbytes, self.timeout)
#15 Frame 0x7f4f57975750, for file /usr/local/lib/python2.7/dist-packages/paramiko/channel.py, line 1224, in _read (self=<ChannelStderrFile(_wbuffer=<cStringIO.StringO at remote 0x7f4f585f0030>, _closed=False, _bufsize=8192, _pos=0, _at_trailing_cr=False, _size=0, _rbuffer='', _flags=17, _realpos=0, channel=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method---Type <return> to continue, or q <return> to quit---
acquire of thread.lock object at...(truncated)
return self.channel.recv_stderr(size)
#18 Frame 0x7f4f585f1c20, for file /usr/local/lib/python2.7/dist-packages/paramiko/file.py, line 143, in read (self=<ChannelStderrFile(_wbuffer=<cStringIO.StringO at remote 0x7f4f585f0030>, _closed=False, _bufsize=8192, _pos=0, _at_trailing_cr=False, _size=0, _rbuffer='', _flags=17, _realpos=0, channel=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acquire of thread.lock object at remo...(truncated)
new_data = self._read(self._DEFAULT_BUFSIZE)
#22 Frame 0x7f4f50001580, for file /usr/local/lib/python2.7/dist-packages/spur/io.py, line 33, in _capture_output (self=<OutputHandler(_file_in=<ChannelStderrFile(_wbuffer=<cStringIO.StringO at remote 0x7f4f585f0030>, _closed=False, _bufsize=8192, _pos=0, _at_trailing_cr=False, _size=0, _rbuffer='', _flags=17, _realpos=0, channel=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acquire o...(truncated)
self._output = self._file_in.read()
#27 Frame 0x7f4f4c0008e0, for file /usr/lib/python2.7/threading.py, line 763, in run (self=<Thread(_Thread__ident=139978740217600, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3e70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3e70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3e70>) at remote 0x7f4f5799ec90>, _Thread__name='Thread-48', _Thread__daemonic=True, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3c10>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3c10>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3c10>) at remote 0x7f4f5799ec50>) at remote 0x7f4f5799ec10>, _Thread__stderr=<file at remote 0x7f4f64aa61e0>, _Thread__target=<instancemethod at remote 0x7f4f5b6a0af...(truncated)
self.__target(*self.__args, **self.__kwargs)
#30 Frame 0x7f4f4c002240, for file /usr/lib/python2.7/threading.py, line 810, in __bootstrap_inner (self=<Thread(_Thread__ident=139978740217600, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3e70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3e70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3e70>) at remote 0x7f4f5799ec90>, _Thread__name='Thread-48', _Thread__daemonic=True, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3c10>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3c10>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3c10>) at remote 0x7f4f5799ec50>) at remote 0x7f4f5799ec10>, _Thread__stderr=<file at remote 0x7f4f64aa61e0>, _Thread__target=<instancemethod at remote...(truncated)
self.run()
#33 Frame 0x7f4f48001240, for file /usr/lib/python2.7/threading.py, line 783, in __bootstrap (self=<Thread(_Thread__ident=139978740217600, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3e70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3e70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3e70>) at remote 0x7f4f5799ec90>, _Thread__name='Thread-48', _Thread__daemonic=True, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3c10>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3c10>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3c10>) at remote 0x7f4f5799ec50>) at remote 0x7f4f5799ec10>, _Thread__stderr=<file at remote 0x7f4f64aa61e0>, _Thread__target=<instancemethod at remote 0x7f4...(truncated)
self.__bootstrap_inner()
Thread 1 (Thread 0x7f4f64ac5700 (LWP 7757)):
#4 Frame 0x7f4f48002da0, for file /usr/lib/python2.7/threading.py, line 339, in wait (self=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3b70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3b70>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3c30>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3b70>) at remote 0x7f4f5799eb50>, timeout=None, waiter=<thread.lock at remote 0x7f4f611e3c30>, saved_state=None)
waiter.acquire()
#8 Frame 0x7f4f5796fb90, for file /usr/lib/python2.7/threading.py, line 949, in join (self=<Thread(_Thread__ident=139978757265152, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3b70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3b70>, _Condition__waiters=[<thread.lock at remote 0x7f4f611e3c30>], release=<built-in method release of thread.lock object at remote 0x7f4f611e3b70>) at remote 0x7f4f5799eb50>, _Thread__name='Thread-47', _Thread__daemonic=True, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3df0>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3df0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3df0>) at remote 0x7f4f5799eb10>) at remote 0x7f4f5799ead0>, _Thread__stderr=<file at remote 0x7f4f64aa61e0>, _Thread__target=...(truncated)
self.__block.wait()
#12 Frame 0x7f4f5796add0, for file /usr/local/lib/python2.7/dist-packages/spur/io.py, line 27, in wait (self=<OutputHandler(_file_in=<ChannelFile(_wbuffer=<cStringIO.StringO at remote 0x7f4f5b6bcd18>, _closed=False, _bufsize=8192, _pos=2, _at_trailing_cr=False, _size=0, _rbuffer='', _flags=17, _realpos=2, channel=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acquire of thread.lock obj...(truncated)
self._thread.join()
#15 Frame 0x7f4f57969b00, for file /usr/local/lib/python2.7/dist-packages/spur/io.py, line 13, in wait (self=<IoHandler(_handlers=[<OutputHandler(_file_in=<ChannelFile(_wbuffer=<cStringIO.StringO at remote 0x7f4f5b6bcd18>, _closed=False, _bufsize=8192, _pos=2, _at_trailing_cr=False, _size=0, _rbuffer='', _flags=17, _realpos=2, channel=<Channel(origin_addr=None, in_window_size=65536, in_window_threshold=6553, lock=<thread.lock at remote 0x7f4f611e3f70>, _pipe=None, eof_received=0, in_max_packet_size=34816, out_buffer_cv=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3f70>, acquire=<built-in method acquire of thread.lock object at remote 0x7f4f611e3f70>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f4f---Type <return> to continue, or q <return> to quit---
611e3f70>) at remote 0x7f4f5799e7d0>, event=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f4f611e3d90>, acquire=<built-in method acqu...(truncated)
return [handler.wait() for handler in self._handlers]
#18 Frame 0x7f4f57974bc0, for file /usr/local/lib/python2.7/dist-packages/spur/ssh.py, line 296, in _generate_result (self=<SshProcess(_result=None, _shell=<SshShell(_username='logicube', _missing_host_key=<AcceptParamikoPolicy at remote 0x7f4f611dfb10>, _closed=False, _port=22, _private_key_file=None, _hostname='zxi-unknown.local', _password='logicube', _connect_timeout=None, _client=<SSHClient(_system_host_keys=<HostKeys(_entries=[<HostKeyEntry(valid=True, key=<RSAKey(e=35L, d=None, n=26179945252132621254728311942885731986439322927124596014323469999177076743909390585749170925978690963581104740549754193713396793634074244903905366003332324566504240057953230873512865614821458742307475940534842440913631105522892387118122966592114183884097399337584202018451068108942964573508320162567273885802569302673293933420244371016883295514006976951501827766551645845558633636308475857029578719329342350669719046258432504811818481529023883819157606925293593972677109635645033739869089186796077238532933760846266209682128986667053415...(truncated)
output, stderr_output = self._io.wait()
#22 Frame 0x7f4f57978050, for file /usr/local/lib/python2.7/dist-packages/spur/ssh.py, line 291, in wait_for_result (self=<SshProcess(_result=None, _shell=<SshShell(_username='logicube', _missing_host_key=<AcceptParamikoPolicy at remote 0x7f4f611dfb10>, _closed=False, _port=22, _private_key_file=None, _hostname='zxi-unknown.local', _password='logicube', _connect_timeout=None, _client=<SSHClient(_system_host_keys=<HostKeys(_entries=[<HostKeyEntry(valid=True, key=<RSAKey(e=35L, d=None, n=261799452521326212547283119428857319864393229271245960143234699991770767439093905857491709259786909635811047405497541937133967936340742449039053660033323245665042400579532308735128656148214587423074759405348424409136311055228923871181229665921141838840973993375842020184510681089429645735083201625672738858025693026732939334202443710168832955140069769515018277665516458455586336363084758570295787193293423506697190462584325048118184815290238838191576069252935939726771096356450337398690891867960772385329337608462662096821289866670534154...(truncated)
self._result = self._generate_result()
#26 Frame 0x231d200, for file test.py, line 44, in run_command (cmd=['sudo', 'poweroff'], host='zxi-unknown.local', shell=<SshShell(_username='logicube', _missing_host_key=<AcceptParamikoPolicy at remote 0x7f4f611dfb10>, _closed=False, _port=22, _private_key_file=None, _hostname='zxi-unknown.local', _password='logicube', _connect_timeout=None, _client=<SSHClient(_system_host_keys=<HostKeys(_entries=[<HostKeyEntry(valid=True, key=<RSAKey(e=35L, d=None, n=261799452521326212547283119428857319864393229271245960143234699991770767439093905857491709259786909635811047405497541937133967936340742449039053660033323245665042400579532308735128656148214587423074759405348424409136311055228923871181229665921141838840973993375842020184510681089429645735083201625672738858025693026732939334202443710168832955140069769515018277665516458455586336363084758570295787193293423506697190462584325048118184815290238838191576069252935939726771096356450337398690891867960772385329337608462662096821289866670534154970348553037435780702858615703882...(truncated)
Python Exception <type 'exceptions.IOError'> (2, 'No such file or directory', 'test.py'):
Error occurred in Python command: (2, 'No such file or directory', 'test.py')
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment