Opened 13 years ago

Last modified 7 years ago

#334 closed defect (Fixed)

segmentation fault in controller code

Reported by: fookoowa Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: fookoowa Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

version -- 0.1.2.1-alpha

gdb backtrace --

Core was generated by `/usr/sbin/tor'.
Program terminated with signal 11, Segmentation fault.
#0 handle_control_getinfo (conn=0x83c1580, len=<value optimized out>,

body=0x837bdd8 "stream-status\r\n") at control.c:1455

1455 if (CIRCUIT_IS_ORIGIN(circ))
(gdb) bt
#0 handle_control_getinfo (conn=0x83c1580, len=<value optimized out>,

body=0x837bdd8 "stream-status\r\n") at control.c:1455

#1 0x0807941c in connection_control_process_inbuf_v1 (conn=0x83c1580) at control.c:2414
#2 0x0807962d in connection_control_process_inbuf (conn=0x83c1580) at control.c:2609
#3 0x080672a6 in connection_process_inbuf (conn=0x89, package_partial=1) at connection.c:2066
#4 0x0806a0dd in connection_handle_read (conn=0x83c1580) at connection.c:1313
#5 0x0808d799 in conn_read_callback (fd=4, event=2, _conn=0x83c1580) at main.c:405
#6 0xb7d29c79 in event_base_priority_init () from /usr/lib/libevent-1.1a.so.1
#7 0xb7d29f65 in event_base_loop () from /usr/lib/libevent-1.1a.so.1
#8 0xb7d29dcb in event_loop () from /usr/lib/libevent-1.1a.so.1
#9 0xb7d29cb0 in event_dispatch () from /usr/lib/libevent-1.1a.so.1
#10 0x0808d397 in tor_main (argc=1, argv=0xbfef6724) at main.c:1164
#11 0x080acda2 in main (argc=Cannot access memory at address 0x89
) at tor_main.c:22
#12 0xb7c09ea8 in libc_start_main () from /lib/tls/libc.so.6
#13 0x0804c781 in _start () at ../sysdeps/i386/elf/start.S:119
--

[Automatically added by flyspray2trac: Operating System: Other Linux]

Child Tickets

Change History (2)

comment:1 Changed 13 years ago by nickm

flyspray2trac: bug closed.
Thanks! I've fixed this in the subversion repository, r8370. The fix should also appear in the next alpha.

comment:2 Changed 7 years ago by nickm

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