[tor-bugs] #12785 [arm]: arm crashes on Debian Wheezy

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 5 10:35:06 UTC 2014


#12785: arm crashes on Debian Wheezy
-------------------------+------------------------
 Reporter:  cypherpunks  |          Owner:  atagar
     Type:  defect       |         Status:  new
 Priority:  normal       |      Milestone:
Component:  arm          |        Version:
 Keywords:  debian       |  Actual Points:
Parent ID:               |         Points:
-------------------------+------------------------
 {{{
 apt-cache show tor-arm
 Package: tor-arm
 Version: 1.4.5.0-1
 Installed-Size: 1007
 Maintainer: Ulises Vitulli <dererk at debian.org>
 Architecture: all
 Depends: python (>= 2.6.6-7~), python-torctl
 Suggests: tor
 Description-en: terminal status monitor for tor
  The anonymizing relay monitor (arm) is a terminal status monitor for Tor
  relays, intended for command-line aficionados, ssh connections, and
 anyone
  stuck with a tty terminal. This works much like top does for system
 usage,
  providing real time statistics for:
  .
   - bandwidth, cpu, and memory usage
   - relay's current configuration
   - logged events
   - connection details (ip, hostname, fingerprint, and consensus data)
   - etc.
 Homepage: http://www.atagar.com/arm/
 Description-md5: ec44664df4c223075aac5e459d59c2b0
 Tag: implemented-in::python, role::program, use::monitor
 Section: comm
 Priority: extra
 Filename: pool/main/t/tor-arm/tor-arm_1.4.5.0-1_all.deb
 Size: 306998
 MD5sum: 8276cafb2e871eec300b5704956ea199
 SHA1: d07939252d8410f0802f3df52edd34ce57c7c026
 SHA256: 3715c89554f0d9aab75a3b92e6a47dee15a5136a48e2d887ef393ab7516988ce


 }}}
 arm version:

 {{{
 arm --version
 arm version 1.4.5.0 (released April 28, 2012)

 }}}
 arm crashes like so at startup:

 {{{
 # arm
 Traceback (most recent call last):
   File "/usr/share/arm/starter.py", line 578, in <module>
     cli.controller.startTorMonitor(time.time() - initTime)
   File "/usr/share/arm/cli/controller.py", line 700, in startTorMonitor
     curses.wrapper(drawTorMonitor, startTime)
   File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
     return func(stdscr, *args, **kwds)
   File "/usr/share/arm/cli/controller.py", line 720, in drawTorMonitor
     initController(stdscr, startTime)
   File "/usr/share/arm/cli/controller.py", line 86, in initController
     firstPagePanels.append(cli.logPanel.LogPanel(stdscr, expandedEvents,
 config))
   File "/usr/share/arm/cli/logPanel.py", line 652, in __init__
     self.reprepopulateEvents()
   File "/usr/share/arm/cli/logPanel.py", line 696, in reprepopulateEvents
     torEventBacklog = getLogFileEntries(setRunlevels, readLimit, addLimit,
 self._config)
   File "/usr/share/arm/cli/logPanel.py", line 313, in getLogFileEntries
     eventTimeComp = list(time.strptime(timestamp, "%Y %b %d %H:%M:%S"))
   File "/usr/lib/python2.7/_strptime.py", line 467, in _strptime_time
     return _strptime(data_string, format)[0]
   File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
     (data_string, format))
 ValueError: time data '2012
 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
 x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00Apr
 23 20:20:01' does not match format '%Y %b %d %H:%M:%S'
 Exception in thread Thread-3 (most likely raised during interpreter
 shutdown):Exception in thread Thread-1 (most likely raised during
 interpreter shutdown):
 Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner

 Traceback (most recent call last):
   File "/usr/share/arm/util/connections.py", line 476, in run  File
 "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner

   File "/usr/lib/python2.7/threading.py", line 142, in release  File
 "/usr/share/arm/util/sysTools.py", line 546, in run

 <type 'exceptions.TypeError'>: 'NoneType' object is not callable  File
 "/usr/lib/python2.7/threading.py", line 142, in release
 <type 'exceptions.TypeError'>: 'NoneType' object is not callable

 }}}
 Any ideas?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12785>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list