[tor-bugs] #23690 [- Select a component]: [err] buffers.c:651: buf_flush_to_socket

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 28 22:42:33 UTC 2017

#23690: [err] buffers.c:651: buf_flush_to_socket
     Reporter:  Felixix               |      Owner:  (none)
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |   Reviewer:
      Sponsor:                        |
 Up with Tor 321a since 4 days 19 hours ( before Tor 315a ) like 2 sister
 relays. On FreeBSD. Lost all circuits and files on error:

 Sep 26 18:59:37.000 [err]
 tor_assertion_failed_: Bug: src/common/buffers.c:651:
 buf_flush_to_socket: Assertion *buf_flushlen <= buf->datalen failed;

 Sep 26 18:59:37.000 [err] Bug:
 Assertion *buf_flushlen <= buf->datalen failed in
 buf_flush_to_socket at src/common/buffers.c:651. Stack trace:
 0x11a2bf8 <log_backtrace+0x48> at /usr/local/bin/tor
 0x11bd6f7 <tor_assertion_failed_+0x97> at /usr/local/bin/tor
 0x11a421a <buf_flush_to_socket+0x22a> at /usr/local/bin/tor
 0x10774eb <tor_main+0x24bb> at /usr/local/bin/tor
 0x801b37d3e <event_base_assert_ok_nolock_+0xbce> at
 0x801b33cfe <event_base_loop+0x50e> at /usr/local/lib/libevent-2.1.so.6
 0x1072d15 <do_main_loop+0x575> at /usr/local/bin/tor
 0x1075119 <tor_main+0xe9> at /usr/local/bin/tor
 0x1070b69 <main+0x19> at /usr/local/bin/tor
 0x1070a61 <_start+0x1a1> at /usr/local/bin/tor

 2017-09-26_18-59-00, time of error:
   load averages:  1.03,  0.94,  0.78    ... 4 cores
   NMBC: 2959/42587/45546/2035262 mbuf clusters in use
   Mem: 2236M Active, 1269M Inact, 7162M Wired, 61M Cache, 21G Free
   Swap: 4096M Total, 4096M Free

 [1] Attachment buf_flush_to_socket_Assertion_failed.tar.gz

 [2] https://lists.torproject.org/pipermail/tor-
 relays/2017-September/013082.html and following.


Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23690>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the tor-bugs mailing list