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

Re: Problem running tor-0.2.0.32 on Ubuntu 8.04



Hello Roger
Roger Dingledine wrote:
(Btw, please only post to or-talk or or-dev, never both)

Yes I shall take care of this from now on.
On Sat, Jan 17, 2009 at 06:48:25PM -0500, Sambuddho Chakravarty wrote:
Hello All
I tried compiling tor-0.2.0.32 on Ubuntu 8.04 (off the shelf version - running kernel 2.6.24-23-generic , glibc - 2.7 , gcc 4.2.4) . Compilation went fine but when trying to run , I get the following error

*** glibc detected *** /bin/tor: malloc(): memory corruption: 0x08101de8 ***
[snip]
Any reason why I am getting this ? How can this be fixed ?

Other details of your setup or configuration? What torrc lines are you
using? Did the ./configure output look funny at all?

I am using the default torrc with the following lines

SocksPort 9050
SocksListenAddress 127.0.0.1

Does it happen immediately on startup? If so, you could run it in
valgrind and then valgrind will give you a more useful hint about what's
going wrong. glibc isn't really very useful for this sort of thing.

Yes this happens at startup. I didn't notice anything strange during the configuration

Through valgrind though it is able to start a circuit. (But not otherwise)

valgrind /bin/tor -f /etc/tor/torrc
==24176== Memcheck, a memory error detector.
==24176== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==24176== Using LibVEX rev 1804, a library for dynamic binary translation.
==24176== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==24176== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework.
==24176== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==24176== For more details, rerun with: -v
==24176==
Jan 18 02:54:27.299 [notice] Tor v0.2.0.32 (r17346). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686) Jan 18 02:54:29.028 [notice] Initialized libevent version 1.3e using method epoll. Good.
Jan 18 02:54:29.165 [notice] Opening Socks listener on 127.0.0.1:9050
==24176== Invalid write of size 4
==24176==    at 0x404CBFF: event_set (in /usr/lib/libevent-1.3e.so.1.0.3)
==24176==    by 0x80A5935: connection_add (main.c:135)
==24176==    by 0x806FC9B: retry_listeners (connection.c:872)
==24176==    by 0x80704E1: retry_all_listeners (connection.c:1367)
==24176==    by 0x8069C4D: set_options (config.c:1016)
==24176==    by 0x806A7DE: options_init_from_torrc (config.c:3704)
==24176==    by 0x80A4B7A: tor_init (main.c:1802)
==24176==    by 0x80A8A37: tor_main (main.c:1985)

Thanks
Sambuddho

--Roger