Stack blowout in 0.2.3.0-alpha-dev?
Ian Goldberg
iang at cs.uwaterloo.ca
Wed Jan 12 21:43:38 UTC 2011
gurgle (our tor node) kept crashing, so I ran it under gdb. It crashed
again, with a SEGV and the attached stack trace. I truncated it; the
whole trace goes on for >1600 frames (then I gave up hitting Enter).
- Ian
-------------- next part --------------
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Jan 09 05:25:03.000 [warn] Weighted bandwidth is 0.000000 in node selection for rule weight as directory
Program received signal SIGSEGV, Segmentation fault.
0xb7d5cdbb in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7d5cdbb in ?? () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7d5d329 in ?? () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7d159f8 in getaddrinfo () from /lib/tls/i686/cmov/libc.so.6
#3 0x0810cecd in tor_addr_lookup (name=0xbf6012ac "gurgle", family=2,
addr=0xbf601238) at address.c:171
#4 0x0810db7f in tor_lookup_hostname (name=0xbf6012ac "gurgle",
addr=0xbf6012a4) at compat.c:1671
#5 0x080b9aa4 in resolve_my_address (warn_severity=6, options=0x81754b8,
addr_out=0xbf60141c, hostname_out=0x0) at config.c:2390
#6 0x080793d9 in router_pick_published_address (options=0x81754b8,
addr=0xbf60141c) at router.c:1349
#7 0x080edc4f in directory_fetches_from_authorities (options=0x81754b8)
at dirserv.c:1186
#8 0x080e31b7 in directory_command_should_use_begindir (
address=<value optimized out>, _addr=0xbf601534,
or_port=<value optimized out>, dir_port=80,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb46888b8 "\362\004D\023\332\302\340.=k\317G5\241\233\312\035\351r\201U\017\063g\310NQ\352\071T\230\035\330;*OR\036\377)", dir_purpose=14 '\016',
router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:795
#9 directory_initiate_command_rend (address=<value optimized out>,
_addr=0xbf601534, or_port=<value optimized out>, dir_port=80,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb46888b8 "\362\004D\023\332\302\340.=k\317G5\241\233\312\035\351r\201U\017\063g\310NQ\352\071T\230\035\330;*OR\036\377)", dir_purpose=14 '\016',
router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:846
#10 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb46888a0, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#11 0x080e37bc in directory_initiate_command_routerstatus (status=0xb46888a0,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#12 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#13 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#14 0x080e683b in connection_dir_request_failed (conn=0xad51a420)
at directory.c:636
#15 0x080e30ce in directory_initiate_command_rend (
address=<value optimized out>, _addr=<value optimized out>,
or_port=<value optimized out>, dir_port=<value optimized out>,
---Type <return> to continue, or q <return> to quit---
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb402fd58 "\275j\202\222U\313\b\346o\276}7H65\206\344k8\020N@!\345\031:?,'V\355\372\rPc*\220\362", <incomplete sequence \364>,
dir_purpose=14 '\016', router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:902
#16 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb402fd40, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#17 0x080e37bc in directory_initiate_command_routerstatus (status=0xb402fd40,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#18 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#19 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#20 0x080e683b in connection_dir_request_failed (conn=0xad51a330)
at directory.c:636
#21 0x080e30ce in directory_initiate_command_rend (
address=<value optimized out>, _addr=<value optimized out>,
or_port=<value optimized out>, dir_port=<value optimized out>,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb402fd58 "\275j\202\222U\313\b\346o\276}7H65\206\344k8\020N@!\345\031:?,'V\355\372\rPc*\220\362", <incomplete sequence \364>,
dir_purpose=14 '\016', router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:902
#22 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb402fd40, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#23 0x080e37bc in directory_initiate_command_routerstatus (status=0xb402fd40,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#24 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#25 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#26 0x080e683b in connection_dir_request_failed (conn=0xad51a248)
at directory.c:636
#27 0x080e30ce in directory_initiate_command_rend (
address=<value optimized out>, _addr=<value optimized out>,
---Type <return> to continue, or q <return> to quit---
or_port=<value optimized out>, dir_port=<value optimized out>,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb2127470 "\204{\037\205\003D?d\221\245H\222\371\004\223NN\270]\252s\256\061\347<clY\302\217\230\211\356E\310{\217\022", <incomplete sequence \374>, dir_purpose=14 '\016', router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:902
#28 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb2127458, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#29 0x080e37bc in directory_initiate_command_routerstatus (status=0xb2127458,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#30 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#31 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#32 0x080e683b in connection_dir_request_failed (conn=0xad51a160)
at directory.c:636
#33 0x080e30ce in directory_initiate_command_rend (
address=<value optimized out>, _addr=<value optimized out>,
or_port=<value optimized out>, dir_port=<value optimized out>,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb42b8e20 "\226\225\337\303_\376\270a2\233\237\032\260LF9p \316\061\337/\240\062\303\345\202!\220\252,#$\036IO6\340\064\234",
dir_purpose=14 '\016', router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:902
#34 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb42b8e08, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#35 0x080e37bc in directory_initiate_command_routerstatus (status=0xb42b8e08,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#36 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#37 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#38 0x080e683b in connection_dir_request_failed (conn=0xad51a070)
at directory.c:636
#39 0x080e30ce in directory_initiate_command_rend (
---Type <return> to continue, or q <return> to quit---
address=<value optimized out>, _addr=<value optimized out>,
or_port=<value optimized out>, dir_port=<value optimized out>,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb46888b8 "\362\004D\023\332\302\340.=k\317G5\241\233\312\035\351r\201U\017\063g\310NQ\352\071T\230\035\330;*OR\036\377)", dir_purpose=14 '\016',
router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:902
#40 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb46888a0, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#41 0x080e37bc in directory_initiate_command_routerstatus (status=0xb46888a0,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#42 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#43 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#44 0x080e683b in connection_dir_request_failed (conn=0xad519f80)
at directory.c:636
#45 0x080e30ce in directory_initiate_command_rend (
address=<value optimized out>, _addr=<value optimized out>,
or_port=<value optimized out>, dir_port=<value optimized out>,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb3b76c88 "{\346\203\346]H\024\023!\305\355\222\360u\305Sd\254q#\335\354\345\032s\022\213y\363\062\"7t?\265\202\265\022\250",
dir_purpose=14 '\016', router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:902
#46 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb3b76c70, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#47 0x080e37bc in directory_initiate_command_routerstatus (status=0xb3b76c70,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#48 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#49 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#50 0x080e683b in connection_dir_request_failed (conn=0xad519e90)
at directory.c:636
---Type <return> to continue, or q <return> to quit---
#51 0x080e30ce in directory_initiate_command_rend (
address=<value optimized out>, _addr=<value optimized out>,
or_port=<value optimized out>, dir_port=<value optimized out>,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb20a5cd0 "J\f\315-\334y\225\b=s\365\326g\020\f\212X1\361m\\\027\332\340\177\262\355/\374\335;\036\367\020\350\f\037\030T\257",
dir_purpose=14 '\016', router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:902
#52 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb20a5cb8, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#53 0x080e37bc in directory_initiate_command_routerstatus (status=0xb20a5cb8,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#54 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#55 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#56 0x080e683b in connection_dir_request_failed (conn=0xad519da0)
at directory.c:636
#57 0x080e30ce in directory_initiate_command_rend (
address=<value optimized out>, _addr=<value optimized out>,
or_port=<value optimized out>, dir_port=<value optimized out>,
supports_conditional_consensus=1, supports_begindir=1,
digest=0xb5b1f460 "\n\323\372\210M\030\370\236\352-\211\300\031\067\236\016\177\331D\027Q2\277(*&\350\034\252?Z%\271c\345\365tx", <incomplete sequence \324>, dir_purpose=14 '\016', router_purpose=0 '\000', anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:902
#58 0x080e36e9 in directory_initiate_command_routerstatus_rend (
status=0xb5b1f448, dir_purpose=<value optimized out>,
router_purpose=<value optimized out>, anonymized_connection=0,
resource=0x812d270 "microdesc", payload=0x0, payload_len=0,
if_modified_since=1294459380, rend_query=0x0) at directory.c:549
#59 0x080e37bc in directory_initiate_command_routerstatus (status=0xb5b1f448,
dir_purpose=<value optimized out>, router_purpose=<value optimized out>,
anonymized_connection=0, resource=0x812d270 "microdesc", payload=0x0,
payload_len=0, if_modified_since=1294459380) at directory.c:584
#60 0x080e3a52 in directory_get_from_dirserver (dir_purpose=14 '\016',
router_purpose=0 '\000', resource=0x812d270 "microdesc", pds_flags=2)
at directory.c:475
#61 0x080556f1 in update_consensus_networkstatus_downloads (
now=<value optimized out>) at networkstatus.c:1244
#62 0x080e683b in connection_dir_request_failed (conn=0xad519cb0)
---Type <return> to continue, or q <return> to quit---q
at directory.cQuit
More information about the tor-dev
mailing list