$ gdb /usr/bin/tor
GNU gdb 6.3.50-20050815 (Apple version gdb-563) (Wed Jul 19 05:10:58 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...unable to read unknown load command 0x1d
unable to read unknown load command 0x1d
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1f
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1f
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1f
unable to read unknown load command 0x1d
Reading symbols for shared libraries ..... done
(gdb) run
Starting program: /usr/bin/tor
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
unable to read unknown load command 0x1e
unable to read unknown load command 0x1d
Reading symbols for shared libraries ++++.. done
Nov 19 12:21:15.804 [notice] Tor v0.2.0.12-alpha (r12518). This is experimental software. Do not rely on it for strong anonymity. (Running on Darwin i386)
Nov 19 12:21:15.805 [notice] Initialized libevent version 1.3e using method kqueue. Good.
Nov 19 12:21:15.805 [notice] Opening Socks listener on 127.0.0.1:9050
Nov 19 12:21:16.788 [notice] We now have enough directory information to build circuits.
Nov 19 12:21:19.963 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
0x000ab272 in crypto_pk_get_digest (pk=0x0, digest_out=0xbfffe9f0 "") at crypto.c:976
976 crypto.c: No such file or directory.
in crypto.c
(gdb) where
#0 0x000ab272 in crypto_pk_get_digest (pk=0x0, digest_out=0xbfffe9f0 "") at crypto.c:976
#1 0x000733e1 in rend_client_send_introduction (introcirc=0x124f5e0, rendcirc=0x1247450) at rendclient.c:91
#2 0x00015620 in SSL_get_error () at circuituse.c:1390
#3 0x00030c89 in connection_ap_attach_pending () at connection_edge.c:444
#4 0x0000a7a6 in large_and_huge_malloc () at circuitbuild.c:651
#5 0x0006d1e3 in _qtn_file_get_metadata_size () at relay.c:1138
#6 0x0006de07 in PKCS7_ctrl () at relay.c:184
#7 0x00015f30 in exp2f () at command.c:398
#8 0x000350d0 in DES_ede3_cfb_encrypt () at connection_or.c:966
#9 0x00024b0c in connection_process_inbuf (conn=0xbfffe9f0, package_partial=42) at connection.c:2643
#10 0x000296ca in tiny_malloc_from_region_no_lock () at connection.c:1827
#11 0x00061e74 in ocsp_match_issuerid () at main.c:474
#12 0x000b39f2 in methods_enc ()
#13 0x000b3c23 in methods_md ()
#14 0x000b3b11 in BIO_str_functs ()
#15 0x00061baa in unlockpt () at main.c:1399
#16 0x00061daa in ocsp_find_signer_sk () at main.c:1947
#17 0x00001cbe in ssl2_accept ()
#18 0x00001be5 in ssl2_accept ()
(gdb)