Opened 11 years ago

Last modified 8 years ago

#1137 closed defect (Fixed)

Mac OS X Tor crash

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


I'm running Vidalia 0.2.4 with Tor (git-0f3417d1dbffdf7a). It appears that Mr. Mike Perry has caused some bugs with his circuit build time "improvements" in Tor. :-)

Here's the crash log:

Process: tor [204]
Path: /Applications/
Identifier: tor
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: Vidalia [188]

Interval Since Last Report: 2883864 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 2

Date/Time: 2009-10-25 21:40:30.778 -0700
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 40FE94CF-131D-4773-90D7-DCB7EFF18865

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0

Thread 0 Crashed:
0 libSystem.B.dylib 0x91a70e42 kill + 10
1 libSystem.B.dylib 0x91ae323a raise + 26
2 libSystem.B.dylib 0x91aef679 abort + 73
3 tor 0x0000db0e circuit_build_times_parse_state + 958
4 tor 0x0002131a or_state_load + 602
5 tor 0x00022435 options_act + 3285
6 tor 0x0002267d set_options + 365
7 tor 0x000263c7 options_init_from_string + 567
8 tor 0x000267f6 options_init_from_torrc + 694
9 tor 0x0006f453 tor_init + 259
10 tor 0x000735d3 tor_main + 67
11 tor 0x00001ee2 _start + 216
12 tor 0x00001e09 start + 41

Thread 0 crashed with X86 Thread State (32-bit):

eax: 0x00000000 ebx: 0x91aef639 ecx: 0xbfffeffc edx: 0x91a70e42
edi: 0x000e5e80 esi: 0x000e5fd8 ebp: 0xbffff018 esp: 0xbfffeffc

ss: 0x0000001f efl: 0x00000286 eip: 0x91a70e42 cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

cr2: 0xa02e1690

Binary Images:

0x1000 - 0x11bfef +tor ??? (???) <d67657b9b5e05c547bfeb1ac91c0ad69> /Applications/

0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603> /usr/lib/dyld
0x90676000 - 0x9067dfe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x91a02000 - 0x91b69ff3 libSystem.B.dylib ??? (???) <ae47ca9b1686b065f8ac4d2de09cc432> /usr/lib/libSystem.B.dylib
0x940b2000 - 0x94164ffb libcrypto.0.9.7.dylib ??? (???) <9d714c92872a93dd127ea8556b2c8945> /usr/lib/libcrypto.0.9.7.dylib
0x94cd6000 - 0x94cfafeb libssl.0.9.7.dylib ??? (???) <8084593b773bec8f2b9614fd23c5ed73> /usr/lib/libssl.0.9.7.dylib
0x9529e000 - 0x952acffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x9608c000 - 0x96090fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

Here's my system info:
Model: Macmini2,1, BootROM MM21.009A.B00, 2 processors, Intel Core 2 Duo, 2 GHz, 1 GB
Graphics: kHW_IntelGMA950Item, GMA 950, spdisplays_builtin, spdisplays_integrated_vram
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86),
Bluetooth: Version 2.1.8f2, 2 service, 1 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: Hitachi HTS541612J9SA00, 111.79 GB
Parallel ATA Device: PIONEER DVD-RW DVR-K06
USB Device: My Book, (null) mA
USB Device: Extreme III USB2.0 Reader/Writer, (null) mA
USB Device: Back-UPS ES 550 FW:840.B2.D USB FW:B2, (null) mA
USB Device: Apple Optical USB Mouse, (null) mA
USB Device: Bluetooth USB Host Controller, (null) mA
USB Device: IR Receiver, (null) mA

Tor crashes every time that I attempt to start it with Vidalia:
Oct 25 21:46:26.909 [Notice] Tor v0.2.2.3-alpha (git-0f3417d1dbffdf7a). This is experimental software. Do not rely on it for strong anonymity. (Running on Darwin i386)
Oct 25 21:46:26.910 [Notice] Initialized libevent version 1.4.12-stable using method kqueue. Good.
Oct 25 21:46:26.910 [Notice] Opening OR listener on
Oct 25 21:46:26.910 [Notice] Opening Directory listener on
Oct 25 21:46:26.911 [Notice] Opening Socks listener on
Oct 25 21:46:26.911 [Notice] Opening Control listener on
Oct 25 21:46:26.912 [Error] Bug: circuitbuild.c:380: circuit_build_times_shuffle_array: Assertion cbt->total_build_times == cbt->build_times_idx failed; aborting.

If I remove the state file from my ~/.tor/ directory, I am able to start Tor as expected. I do however expect it to crash or have this problem again at some point. I sadly unlinked the state file or I would have included it in this bug report.

[Automatically added by flyspray2trac: Operating System: OSX 10.5 Leopard]

Child Tickets

Change History (3)

comment:1 Changed 11 years ago by arma

Whatcha doing running old code? has known crash bugs, like that one.

comment:2 Changed 11 years ago by karsten

flyspray2trac: bug closed.
Fixed in

comment:3 Changed 8 years ago by nickm

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