Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5387 closed defect (user disappeared)

net-misc/tor- cored

Reported by: toralf Owned by:
Priority: Medium Milestone: Tor: 0.2.2.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Keywords: tor-client
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Today I found a core file at my Gentoo Linux system, here's the back trace (unfortunately the core is is rather old, I' unsure, whether it helps you or not) :

warning: exec file is newer than core file.
[New LWP 4548]
Core was generated by `/usr/bin/tor -f /etc/tor/torrc --runasdaemon 1 --PidFile /var/run/tor/'.
Program terminated with signal 6, Aborted.
#0 0xb771c424 in kernel_vsyscall ()
(gdb) bt
#0 0xb771c424 in
kernel_vsyscall ()
#1 0xb736d872 in ?? ()
#2 0xb749aff4 in ?? ()
#3 0xb736efe0 in ?? ()
#4 0x00000006 in ?? ()
#5 0xbfbd0930 in ?? ()
#6 0x0805c747 in exit_policy_remove_redundancies (dest=0x9ee42c4) at policies.c:778
#7 policies_parse_exit_policy (cfg=0x9cebdc8, dest=0x9f44e2c, rejectprivate=32,

local_address=0x2d39302d <Address 0x2d39302d out of bounds>, add_default_policy=840972338) at policies.c:856

#8 0x0805cf0d in load_policy_from_option (config=<optimized out>, policy=0x2d39302d, assume_action=<optimized out>)

at /usr/include/bits/string3.h:52

#9 0x080596c9 in onion_pending_add (circ=0xb6f6a008, onionskin=0x9f06260 "microdesc") at onion.c:54
#10 0x080eb072 in dirserv_get_routerdesc_fingerprints (fps_out=0xc296a564,

key=0x4c38be5 <Address 0x4c38be5 out of bounds>, msg=0x841fce6f, for_unencrypted_conn=166975608,
is_extrainfo=166664504) at dirserv.c:3100

#11 0x080eccce in compare_vote_rs (a=0x9f3d878, b=0x6) at dirvote.c:408
#12 0x080c61a5 in increment_virtual_addr () at connection_edge.c:1302
#13 addressmap_get_virtual_address (type=164432864) at connection_edge.c:1349
#14 addressmap_register_virtual_address (type=164432864, new_address=0x9eff048 "") at connection_edge.c:1410
#15 0x080c8336 in consider_plaintext_ports (conn=0x80c6414, port=55416) at connection_edge.c:1537
#16 0xb7675d7d in ?? ()
#17 0x09ef1938 in ?? ()
#18 0xb766e2bc in ?? ()
#19 0x09ef1a20 in ?? ()
#20 0x0805013f in run_scheduled_events (now=-1217814540) at main.c:1048
#21 second_elapsed_callback (timer=0x7, arg=0xbfbd1014) at main.c:1348
#22 0x08050465 in conn_write_callback (fd=7, events=4116, _conn=0x8132feb) at main.c:548
---Type <return> to continue, or q <return> to quit---
#23 0x0804ec1b in connection_remove (conn=0x7) at main.c:215
#24 0xb7359cd7 in ?? ()
#25 0x00000007 in ?? ()
#26 0xbfbd1014 in ?? ()
#27 0x0804eb41 in fprintf (fmt=0x812634c "%s:%d %s: Assertion %s failed; aborting.\n", stream=<optimized out>)

at /usr/include/bits/stdio2.h:98

#28 connection_remove (conn=Cannot access memory at address 0x8
) at main.c:213

Child Tickets

Change History (8)

comment:1 Changed 7 years ago by Sebastian

Component: - Select a componentTor Client

comment:2 Changed 7 years ago by nickm

Hm. This might be hard to track down -- it looks like the symbols don't match the binary. (One giveaway: there are lots of functions on the stack that don't actually call each other: dirserve_get_routerdesc_fingerprints() doesn't call onionpending_add(), for example.

comment:3 Changed 7 years ago by arma

What version of Tor did you start with? That is, could the core file be from when you were running, say, Tor

comment:4 Changed 7 years ago by rransom

Status: newneeds_information

Do you still have a copy of the executable file which that core dump came from?

comment:5 Changed 7 years ago by nickm

Milestone: Tor: 0.2.2.x-final

comment:6 Changed 7 years ago by nickm

Resolution: user disappeared
Status: needs_informationclosed

Would need more info to track this down; please reopen if you can reproduce with an accurate stack trace.

comment:7 Changed 7 years ago by nickm

Keywords: tor-client added

comment:8 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.