#25612 closed defect (invalid)

Segfault when starting Tor Raspian Stretch Light 2018-03-13 Kernel 4.9

Reported by: ConjugateThis Owned by:
Priority: High Milestone:
Component: Core Tor/Tor Version: Tor:
Severity: Normal Keywords: segmentation fault debian stretch raspian raspberry pi
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


I just updated my raspberry pi to the latest Stretch Light, and tried installing and running Tor, and a segfault is generated. The app won't start in shell, or as a service.

Tor Version

GNU gdb (Raspbian 7.12-6)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from tor...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/sbin/tor
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x004896be in ?? ()
(gdb) bt
#0  0x004896be in ?? ()
#1  0xbefffeac in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Child Tickets

Change History (4)

comment:1 Changed 21 months ago by arma

Severity: BlockerNormal

Did you build Tor yourself?

Or did you use some package? If a package, are you super certain that you have a package that is designed for your system and architecture?

Raspian is famous for not actually working with Debian debs, because of arch compatibility problems.

comment:2 Changed 21 months ago by ConjugateThis

I simply installed it with apt-get install tor. The package that was installed was

Last edited 21 months ago by ConjugateThis (previous) (diff)

comment:3 Changed 21 months ago by arma

Ok. Installed it from where though? I still think the most likely explanation is that you have the wrong package for your arch (e.g. because you're using the wrong deb repository for your arch).

More broadly, since this is a bug with some package, you're probably going to need to report it there. If you can build Tor from source and show a bug, it fits well in this bugtracker, but for the "somebody else did unknown things to Tor and then you're trying to run their thing" case, it's not something we can help with directly.

comment:4 Changed 21 months ago by ConjugateThis

Resolution: invalid
Status: newclosed

I had mistakenly added the full debian repo to my pi, and that was installed instead of the raspbian build. All is well now.

Note: See TracTickets for help on using tickets.