#25245: Crash in assert_connection_ok when changing Exit options
-------------------------------------------------+-------------------------
 Reporter:  toralf                               |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Very High                            |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.3.2-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  crash, regression?, tor-exit, tor-   |  Actual Points:
  relay, ipv6                                    |
Parent ID:                                       |         Points:  1
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by toralf):

 Applied that patch and got immediately a crash of both of my Tor exit
 relays :
 {{{
 Mar 11 16:27:41.000 [err] tor_assertion_failed_(): Bug:
 src/or/connection.c:5114: assert_connection_ok: Assertion
 connection_is_writing(conn) || conn->write_blocked_on_bw failed; aborting.
 (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug: Assertion connection_is_writing(conn) ||
 conn->write_blocked_on_bw failed in assert_connection_ok at
 src/or/connection.c:5114. Stack trace: (on Tor 0.3.4.0-alpha-dev
 d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/bin/tor(log_backtrace+0x53)
 [0x564a1d49f513] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:
 /usr/bin/tor(tor_assertion_failed_+0x99) [0x564a1d4bc559] (on Tor 0.3.4.0
 -alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:
 /usr/bin/tor(assert_connection_ok+0x86b) [0x564a1d419e8b] (on Tor 0.3.4.0
 -alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/bin/tor(+0x152b4b)
 [0x564a1d45fb4b] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/lib64/libevent-2.1.so.6(+0x3329d)
 [0x7fd983b4329d] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/lib64/libevent-2.1.so.6(+0x244d0)
 [0x7fd983b344d0] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:
 /usr/lib64/libevent-2.1.so.6(event_base_loop+0x53f) [0x7fd983b3548f] (on
 Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/bin/tor(do_main_loop+0x26c)
 [0x564a1d3616dc] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/bin/tor(tor_run_main+0x27d)
 [0x564a1d362d5d] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/bin/tor(tor_main+0x49)
 [0x564a1d35bd79] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/bin/tor(main+0x28)
 [0x564a1d35baa8] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:
 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fd9826a75ad] (on Tor 0.3.4.0
 -alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:27:41.000 [err] Bug:     /usr/bin/tor(_start+0x2a)
 [0x564a1d35bafa] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 }}} and
 {{{
 ar 11 16:28:07.000 [err] tor_assertion_failed_(): Bug:
 src/or/connection.c:5114: assert_connection_ok: Assertion
 connection_is_writing(conn) || conn->write_blocked_on_bw failed; aborting.
 (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug: Assertion connection_is_writing(conn) ||
 conn->write_blocked_on_bw failed in assert_connection_ok at
 src/or/connection.c:5114. Stack trace: (on Tor 0.3.4.0-alpha-dev
 d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/bin/tor(log_backtrace+0x53)
 [0x564fb8033513] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:
 /usr/bin/tor(tor_assertion_failed_+0x99) [0x564fb8050559] (on Tor 0.3.4.0
 -alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:
 /usr/bin/tor(assert_connection_ok+0x86b) [0x564fb7fade8b] (on Tor 0.3.4.0
 -alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/bin/tor(+0x152b4b)
 [0x564fb7ff3b4b] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/lib64/libevent-2.1.so.6(+0x3329d)
 [0x7f6ad207d29d] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/lib64/libevent-2.1.so.6(+0x244d0)
 [0x7f6ad206e4d0] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:
 /usr/lib64/libevent-2.1.so.6(event_base_loop+0x53f) [0x7f6ad206f48f] (on
 Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/bin/tor(do_main_loop+0x26c)
 [0x564fb7ef56dc] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/bin/tor(tor_run_main+0x27d)
 [0x564fb7ef6d5d] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/bin/tor(tor_main+0x49)
 [0x564fb7eefd79] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/bin/tor(main+0x28)
 [0x564fb7eefaa8] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:
 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f6ad0be15ad] (on Tor 0.3.4.0
 -alpha-dev d15a7a27bb9e49bd)
 Mar 11 16:28:07.000 [err] Bug:     /usr/bin/tor(_start+0x2a)
 [0x564fb7eefafa] (on Tor 0.3.4.0-alpha-dev d15a7a27bb9e49bd)
 }}}

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

Reply via email to