[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #25616 [Core Tor/Tor]: Non-fatal assertion in hs_desc_encode_descriptor similar to #24972



#25616: Non-fatal assertion in hs_desc_encode_descriptor similar to #24972
-------------------------------------------------+-------------------------
 Reporter:  alnsn                                |          Owner:  dgoulet
     Type:  defect                               |         Status:  closed
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.2.10
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-hs, 033-triage-20180326,         |  duplicate
  033-included-20180326, 035-removed-20180711    |  Actual Points:
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by dgoulet):

 * status:  accepted => closed
 * resolution:   => duplicate


Old description:

> Tor 0.3.2.2.10 on NetBSD.
>
> Mar 24 08:40:25.000 [warn] tor_bug_occurred_(): Bug:
> src/or/hs_descriptor.c:2360: hs_desc_encode_descriptor: Non-fatal
> assertion !(ret <
> 0) failed. (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug: Non-fatal assertion !(ret < 0) failed in
> hs_desc_encode_descriptor at src/or/hs_descriptor.c:2360. Stack
> trace: (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc9551fe <log_backtrace+0x2e> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc969750 <tor_bug_occurred_+0xbd>
> at /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc93f8f0
> <hs_desc_encode_descriptor+0x7d> at /usr/pkg/bin/tor (on Tor 0.3.2.10
> 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc9474ec
> <hs_service_run_scheduled_events+0x1924> at /usr/pkg/bin/tor (on Tor
> 0.3.2.10 31cc63deb69d
> b819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc846e5e
> <have_completed_a_circuit+0x39> at /usr/pkg/bin/tor (on Tor 0.3.2.10
> 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc861ac4 <pt_free_all+0xee> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22834
> <event_base_init_common_timeout+0xade> at /usr/pkg/lib/libevent-2.1.so.6
> (on Tor 0.3.2
> .10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22dc4
> <event_base_init_common_timeout+0x106e> at /usr/pkg/lib/libevent-2.1.so.6
> (on Tor 0.3.
> 2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e23548
> <event_base_loop+0x2da> at /usr/pkg/lib/libevent-2.1.so.6 (on Tor
> 0.3.2.10 31cc63deb69
> db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc848dea <do_main_loop+0x239> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc84c4f3 <tor_main+0x1bf5> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc9b3cda <main+0x9> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
>

> Mar 24 08:40:25.000 [warn] tor_bug_occurred_(): Bug:
> src/or/hs_service.c:2245: upload_descriptor_to_hsdir: Non-fatal assertion
> !(hs_desc_
> encode_descriptor(desc->desc, &desc->signing_kp, &encoded_desc) < 0)
> failed. (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug: Non-fatal assertion
> !(hs_desc_encode_descriptor(desc->desc, &desc->signing_kp, &encoded_desc)
> < 0) failed
>  in upload_descriptor_to_hsdir at src/or/hs_service.c:2245. Stack trace:
> (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc9551fe <log_backtrace+0x2e> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc969750 <tor_bug_occurred_+0xbd>
> at /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc94773a
> <hs_service_run_scheduled_events+0x1b72> at /usr/pkg/bin/tor (on Tor
> 0.3.2.10 31cc63deb69d
> b819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc846e5e
> <have_completed_a_circuit+0x39> at /usr/pkg/bin/tor (on Tor 0.3.2.10
> 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc861ac4 <pt_free_all+0xee> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22834
> <event_base_init_common_timeout+0xade> at /usr/pkg/lib/libevent-2.1.so.6
> (on Tor 0.3.2
> .10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22dc4
> <event_base_init_common_timeout+0x106e> at /usr/pkg/lib/libevent-2.1.so.6
> (on Tor 0.3.
> 2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e23548
> <event_base_loop+0x2da> at /usr/pkg/lib/libevent-2.1.so.6 (on Tor
> 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc848dea <do_main_loop+0x239> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc84c4f3 <tor_main+0x1bf5> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc9b3cda <main+0x9> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Invalid signature for service descriptor
> signing key: expired
>

> Mar 24 08:40:25.000 [warn] tor_bug_occurred_(): Bug:
> src/or/hs_descriptor.c:2360: hs_desc_encode_descriptor: Non-fatal
> assertion !(ret < 0) failed. (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug: Non-fatal assertion !(ret < 0) failed in
> hs_desc_encode_descriptor at src/or/hs_descriptor.c:2360. Stack trace:
> (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc9551fe <log_backtrace+0x2e> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc969750 <tor_bug_occurred_+0xbd>
> at /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc93f8f0
> <hs_desc_encode_descriptor+0x7d> at /usr/pkg/bin/tor (on Tor 0.3.2.10
> 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc9474ec
> <hs_service_run_scheduled_events+0x1924> at /usr/pkg/bin/tor (on Tor
> 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc846e5e
> <have_completed_a_circuit+0x39> at /usr/pkg/bin/tor (on Tor 0.3.2.10
> 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc861ac4 <pt_free_all+0xee> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22834
> <event_base_init_common_timeout+0xade> at /usr/pkg/lib/libevent-2.1.so.6
> (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22dc4
> <event_base_init_common_timeout+0x106e> at /usr/pkg/lib/libevent-2.1.so.6
> (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e23548
> <event_base_loop+0x2da> at /usr/pkg/lib/libevent-2.1.so.6 (on Tor
> 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc848dea <do_main_loop+0x239> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc84c4f3 <tor_main+0x1bf5> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
> Mar 24 08:40:25.000 [warn] Bug:     0xbc9b3cda <main+0x9> at
> /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)

New description:

 Tor 0.3.2.2.10 on NetBSD.

 {{{
 Mar 24 08:40:25.000 [warn] tor_bug_occurred_(): Bug:
 src/or/hs_descriptor.c:2360: hs_desc_encode_descriptor: Non-fatal
 assertion !(ret <
 0) failed. (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug: Non-fatal assertion !(ret < 0) failed in
 hs_desc_encode_descriptor at src/or/hs_descriptor.c:2360. Stack
 trace: (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc9551fe <log_backtrace+0x2e> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc969750 <tor_bug_occurred_+0xbd> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc93f8f0
 <hs_desc_encode_descriptor+0x7d> at /usr/pkg/bin/tor (on Tor 0.3.2.10
 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc9474ec
 <hs_service_run_scheduled_events+0x1924> at /usr/pkg/bin/tor (on Tor
 0.3.2.10 31cc63deb69d
 b819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc846e5e
 <have_completed_a_circuit+0x39> at /usr/pkg/bin/tor (on Tor 0.3.2.10
 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc861ac4 <pt_free_all+0xee> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22834
 <event_base_init_common_timeout+0xade> at /usr/pkg/lib/libevent-2.1.so.6
 (on Tor 0.3.2
 .10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22dc4
 <event_base_init_common_timeout+0x106e> at /usr/pkg/lib/libevent-2.1.so.6
 (on Tor 0.3.
 2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e23548 <event_base_loop+0x2da>
 at /usr/pkg/lib/libevent-2.1.so.6 (on Tor 0.3.2.10 31cc63deb69
 db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc848dea <do_main_loop+0x239> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc84c4f3 <tor_main+0x1bf5> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc9b3cda <main+0x9> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)


 Mar 24 08:40:25.000 [warn] tor_bug_occurred_(): Bug:
 src/or/hs_service.c:2245: upload_descriptor_to_hsdir: Non-fatal assertion
 !(hs_desc_
 encode_descriptor(desc->desc, &desc->signing_kp, &encoded_desc) < 0)
 failed. (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug: Non-fatal assertion
 !(hs_desc_encode_descriptor(desc->desc, &desc->signing_kp, &encoded_desc)
 < 0) failed
  in upload_descriptor_to_hsdir at src/or/hs_service.c:2245. Stack trace:
 (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc9551fe <log_backtrace+0x2e> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc969750 <tor_bug_occurred_+0xbd> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc94773a
 <hs_service_run_scheduled_events+0x1b72> at /usr/pkg/bin/tor (on Tor
 0.3.2.10 31cc63deb69d
 b819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc846e5e
 <have_completed_a_circuit+0x39> at /usr/pkg/bin/tor (on Tor 0.3.2.10
 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc861ac4 <pt_free_all+0xee> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22834
 <event_base_init_common_timeout+0xade> at /usr/pkg/lib/libevent-2.1.so.6
 (on Tor 0.3.2
 .10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22dc4
 <event_base_init_common_timeout+0x106e> at /usr/pkg/lib/libevent-2.1.so.6
 (on Tor 0.3.
 2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e23548 <event_base_loop+0x2da>
 at /usr/pkg/lib/libevent-2.1.so.6 (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc848dea <do_main_loop+0x239> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc84c4f3 <tor_main+0x1bf5> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc9b3cda <main+0x9> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Invalid signature for service descriptor
 signing key: expired


 Mar 24 08:40:25.000 [warn] tor_bug_occurred_(): Bug:
 src/or/hs_descriptor.c:2360: hs_desc_encode_descriptor: Non-fatal
 assertion !(ret < 0) failed. (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug: Non-fatal assertion !(ret < 0) failed in
 hs_desc_encode_descriptor at src/or/hs_descriptor.c:2360. Stack trace: (on
 Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc9551fe <log_backtrace+0x2e> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc969750 <tor_bug_occurred_+0xbd> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc93f8f0
 <hs_desc_encode_descriptor+0x7d> at /usr/pkg/bin/tor (on Tor 0.3.2.10
 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc9474ec
 <hs_service_run_scheduled_events+0x1924> at /usr/pkg/bin/tor (on Tor
 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc846e5e
 <have_completed_a_circuit+0x39> at /usr/pkg/bin/tor (on Tor 0.3.2.10
 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc861ac4 <pt_free_all+0xee> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22834
 <event_base_init_common_timeout+0xade> at /usr/pkg/lib/libevent-2.1.so.6
 (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e22dc4
 <event_base_init_common_timeout+0x106e> at /usr/pkg/lib/libevent-2.1.so.6
 (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0x74c7f0e23548 <event_base_loop+0x2da>
 at /usr/pkg/lib/libevent-2.1.so.6 (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc848dea <do_main_loop+0x239> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc84c4f3 <tor_main+0x1bf5> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 Mar 24 08:40:25.000 [warn] Bug:     0xbc9b3cda <main+0x9> at
 /usr/pkg/bin/tor (on Tor 0.3.2.10 31cc63deb69db819)
 }}}

--

Comment:

 I believe the new #27838 is the same issue. Closing this one in favor of
 the newer one and in 035.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25616#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs