[tor-bugs] #8266 [Stem]: ValueError: NULL pointer access in stem.util.system.get_process_name()

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 18 11:52:01 UTC 2013


#8266: ValueError: NULL pointer access in stem.util.system.get_process_name()
------------------------+---------------------------------------------------
    Reporter:  gsathya  |       Owner:  atagar  
        Type:  defect   |      Status:  reopened
    Priority:  normal   |   Milestone:          
   Component:  Stem     |     Version:          
  Resolution:           |    Keywords:          
      Parent:           |      Points:          
Actualpoints:           |  
------------------------+---------------------------------------------------
Changes (by gsathya):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 fun, new stacktrace
 {{{
 ERROR: test_set_process_name
 ----------------------------------------------------------------------
 Traceback:
   File "/Users/sathya/Documents/stem/test/integ/util/system.py", line 412,
 in test_set_process_name
     stem.util.system.set_process_name(initial_name)
   File "/Users/sathya/Documents/stem/stem/util/system.py", line 774, in
 set_process_name
     _set_proc_title(process_name)
   File "/Users/sathya/Documents/stem/stem/util/system.py", line 831, in
 _set_proc_title
     libc.setproctitle(ctypes.byref(name_buffer))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
 line 366, in __getattr__
     func = self.__getitem__(name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
 line 371, in __getitem__
     func = self._FuncPtr((name_or_ordinal, self))
 AttributeError: dlsym(0x7fff6a41d1e0, setproctitle): symbol not found
 }}}

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


More information about the tor-bugs mailing list