[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #7215 [Tor]: *** stack smashing detected ***: /usr/sbin/tor terminated on a Raspberry Pi
#7215: *** stack smashing detected ***: /usr/sbin/tor terminated on a Raspberry Pi
------------------------------+---------------------------------------------
Reporter: vigdis | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: unspecified
Component: Tor | Version:
Keywords: tor-relay debian | Parent:
Points: | Actualpoints:
------------------------------+---------------------------------------------
Changes (by nickm):
* keywords: => tor-relay debian
* milestone: => Tor: unspecified
Comment:
Well, that's pretty weird. My first guess would be some mismatch between
the Tor and OpenSSL packages, but I don't know at all what that might be,
or why it wouldn't have been noted. OPENSSL_cpuid_setup() is a really
basic function for OPENSSL; it shouldn't be able to fail like that.
If it's possible to try building Tor from source, that might make it
possible to rule out the idea that it could be a packaging problem. That
is, if Tor built from source works, then there's some issue going on with
package compatibility. If Tor built from source doesn't work, then we've
got a problem in Tor or in the openssl library.
Here's another little test program to tell if your openssl is *completely*
broken. If this one crashes, it's definitely OpenSSL's fault. If it
doesn't, then the problem might lie somewhere else:
{{{
#include <openssl/engine.h>
#include <openssl/evp.h>
#include <openssl/err.h>
int main(int c, char **v)
{
ERR_load_crypto_strings();
OpenSSL_add_all_algorithms();
ENGINE_load_builtin_engines();
ENGINE_register_all_complete();
puts("Stuff seems okay.");
return 0;
}
}}}
(It should build okay with "gcc -Wall -lcrypto test.c -o test")
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7215#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs