[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[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:     
Component:  Tor     |        Version:     
 Keywords:          |         Parent:     
   Points:          |   Actualpoints:     
--------------------+-------------------------------------------------------
 Hi,

 After I apt-get update && apt-get upgrade my Raspberry Pi, Tor doesn't
 work any more. What happen is :
 root@raspberrypi:/opt/cjdns# /etc/init.d/tor start
 *** stack smashing detected ***: /usr/sbin/tor terminated
 /etc/init.d/tor : ligne 111 : 29830 Abandon                 $DAEMON
 $VERIFY_ARGS > /dev/null
 Checking if tor configuration is valid ... failed!
 *** stack smashing detected ***: /usr/sbin/tor terminated
 /etc/init.d/tor : ligne 111 : 29836 Abandon                 $DAEMON
 --verify-config 1>&2

 On the advice of sysrqb, I put DisableDebuggerAttachment 0 in my torrc
 file.
 Then :
 root@raspberrypi:/var/log/tor# gdb tor
 GNU gdb (GDB) 7.4.1-debian
 Copyright (C) 2012 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".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /usr/sbin/tor...(no debugging symbols found)...done.
 (gdb) r -f /etc/tor/torrc
 Starting program: /usr/sbin/tor -f /etc/tor/torrc
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/arm-linux-
 gnueabihf/libthread_db.so.1".

 Program received signal SIGILL, Illegal instruction.
 0x401a74c0 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
 (gdb) bt
 #0  0x401a74c0 in ?? () from /usr/lib/arm-linux-
 gnueabihf/libcrypto.so.1.0.0
 Cannot access memory at address 0x0
 #1  0x401a3ee4 in OPENSSL_cpuid_setup () from /usr/lib/arm-linux-
 gnueabihf/libcrypto.so.1.0.0
 #2  0x4000f250 in ?? () from /lib/ld-linux-armhf.so.3
 #3  0xbefff98e in ?? ()
 Cannot access memory at address 0x2f006624

 My Openssl version is OpenSSL 1.0.1c 10 May 2012 and I have
 libcrypto.so.1.0.0 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
 (0x402f2000) and libssl.so.1.0.0 => /usr/lib/arm-linux-
 gnueabihf/libssl.so.1.0.0 (0x402a3000)
 apt-cache showpkg libssl-dev gives :
 Versions:
 1.0.1c-3+rpi1

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7215>
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