[tor-bugs] #20958 [Core Tor/Tor]: tor segfaults immediately upon launch - routerset_len()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 13 00:49:00 UTC 2016


#20958: tor segfaults immediately upon launch - routerset_len()
------------------------------+------------------------------
     Reporter:  xuhadk        |      Owner:
         Type:  defect        |     Status:  new
     Priority:  High          |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: unspecified
     Severity:  Normal        |   Keywords:  segfault, crash
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 Upon setting up a Raspberry Pi B+, and adding Tor stable debian repo, I
 installed tor along with torsocks, tor-arm and have imported tor's gpg
 keys.

 It installed successfully, however launching it with the default 'pi' user
 gives an immediate 'Segmentation fault'. Launching it with sudo or root
 gives no output, but I assume it is just running in the background and
 thus we're not seeing the SegFault.

 Inspecting /var/log/tor/ shows zero files. I was able to generate a
 coredump and have attached it below.

 Without debugging symbols I get the following from gdb with the coredump:

 Reading symbols from tor...(no debugging symbols found)...done.
 [New LWP 2745]
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/arm-linux-
 gnueabihf/libthread_db.so.1".
 Core was generated by `tor'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0x7f651ae6 in routerset_len ()
 (gdb) bt
 #0  0x7f651ae6 in routerset_len ()
 #1  0x00000000 in ?? ()
 (gdb) Quit

 Let me know if you need any more information and I will do my best to
 provide it.

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


More information about the tor-bugs mailing list