Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#23740 closed defect (duplicate)

prop224: tor_bug_occurred_(): Bug: src/or/hs_service.c:403: service_intro_point_new: Non-fatal assertion !(!ls) failed. (on Tor 0.3.2.1-alpha 290274dbb5428bc5)

Reported by: asn Owned by:
Priority: Medium Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Tor Version: Tor: 0.3.2.1-alpha
Severity: Normal Keywords: prop224 tor-ipv6, tor-hs
Cc: Actual Points:
Parent ID: #23493 Points: 0.1
Reviewer: Sponsor:

Description (last modified by asn)

Oct 02 21:27:57.000 [warn] tor_bug_occurred_(): Bug: src/or/hs_service.c:403: service_intro_point_new: Non-fatal assertion !(!ls) failed. (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug: Non-fatal assertion !(!ls) failed in service_intro_point_new at src/or/hs_service.c:403. Stack trace: (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(log_backtrace+0x42) [0x55d97eb5dd52] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(tor_bug_occurred_+0xb7) [0x55d97eb78ba7] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(hs_service_run_scheduled_events+0x222e) [0x55d97eb4e69e] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(+0x4c5f1) [0x55d97ea2a5f1] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(+0x6bea0) [0x55d97ea49ea0] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x7fc) [0x7fb3bc4123dc] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(do_main_loop+0x244) [0x55d97ea2dad4] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(tor_main+0x1c25) [0x55d97ea31315] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(main+0x19) [0x55d97ea29229] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fb3bb5fab45] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:57.000 [warn] Bug:     ./tor(+0x4b279) [0x55d97ea29279] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] tor_bug_occurred_(): Bug: src/or/hs_service.c:403: service_intro_point_new: Non-fatal assertion !(!ls) failed. (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug: Non-fatal assertion !(!ls) failed in service_intro_point_new at src/or/hs_service.c:403. Stack trace: (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(log_backtrace+0x42) [0x55d97eb5dd52] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(tor_bug_occurred_+0xb7) [0x55d97eb78ba7] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(hs_service_run_scheduled_events+0x222e) [0x55d97eb4e69e] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(+0x4c5f1) [0x55d97ea2a5f1] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(+0x6bea0) [0x55d97ea49ea0] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x7fc) [0x7fb3bc4123dc] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(do_main_loop+0x244) [0x55d97ea2dad4] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(tor_main+0x1c25) [0x55d97ea31315] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(main+0x19) [0x55d97ea29229] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fb3bb5fab45] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 21:27:58.000 [warn] Bug:     ./tor(+0x4b279) [0x55d97ea29279] (on Tor 0.3.2.1-alpha 290274dbb5428bc5)


This was on a single onion service.

Child Tickets

Change History (7)

comment:1 Changed 2 years ago by asn

Description: modified (diff)

comment:2 Changed 2 years ago by asn

Description: modified (diff)

comment:3 Changed 2 years ago by Parckwart

asn filed the bug for me. I managed to reproduce the bug, but this time while logging in debug mode.

From the debug log:

Oct 02 23:31:57.000 [debug] extend_info_from_node(): using [2a01:4f8:221:1ac1:dead:beef:7005:9001]:9001 for sputnik

So it selected an IPv6 intro node.

comment:4 Changed 2 years ago by dgoulet

Keywords: tor-hs added

comment:5 Changed 2 years ago by dgoulet

This is in single onion service mode. We should wait until #23493 is sorted out before doing anything with this even though the fix is simple.

comment:6 Changed 2 years ago by teor

Milestone: Tor: 0.3.2.x-finalTor: 0.3.3.x-final
Parent ID: #23493
Points: 0.1
Resolution: duplicate
Status: newclosed

I think this is the same bug as #23493: I'm not sure how you managed to convince the single onion service to select an IPv6 address for that node (did you set ClientUseIPv6 or ReachableAddresses?), but once it did, it triggered #23493,

This should be fixed in #23820, which only ever chooses IPv4 addresses.

comment:7 Changed 2 years ago by Parckwart

Yes, I set ClientUseIPv6, ClientPreferIPv6ORPort and ClientPreferIPv6DirPort to 1.

Note: See TracTickets for help on using tickets.