#23751: [warn] tor_bug_occurred_: Bug: src/common/buffers.c, etc. ------------------------------------------------+-------------------------- Reporter: Felixix | Owner: dgoulet Type: defect | Status: accepted Priority: High | Milestone: Tor: | 0.3.3.x-final Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: tor-channel, tor-sched, tor-buffer | Actual Points: Parent ID: #23993 | Points: Reviewer: | Sponsor: SponsorV ------------------------------------------------+--------------------------
Comment (by Felixix): Hi everybody It's back. Anything I can do ? {{{ src/common/buffers.c:694: buf_add: Non-fatal assertion src/or/scheduler_kist.c:405: update_socket_written: Non-fatal assertion src/or/scheduler_kist.c:373: socket_can_write: Non-fatal assertion }}} Tor memory usage is about 5 GB according to: {{{ MaxMemInQueues 5 GB }}} It's following and may-be connected to the new #24167. {{{ Tor 0.3.2.3-alpha (git-023d756bfc04c244) running on FreeBSD with Libevent 2.1.8-stable, OpenSSL LibreSSL 2.5.4, Zlib 1.2.8, Liblzma 5.2.2, and Libzstd 1.3.2. }}} {{{ Nov 07 12:45:27.000 [notice] Heartbeat: Tor's uptime is 9 days 18:59 hours, with 53232 circuits open. I've sent 6686.25 GB and received 6617.58 GB. Nov 07 12:45:27.000 [notice] Circuit handshake stats since last time: 41165/41165 TAP, 477460/477460 NTor. Nov 07 12:45:27.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 3 v3 connections, and 309567 v4 connections; and received 2417 v1 connections, 51314 v2 connections, 124479 v3 connections, and 969907 v4 connections. Nov 07 13:45:27.000 [notice] Heartbeat: Tor's uptime is 9 days 19:59 hours, with 345744 circuits open. I've sent 6721.03 GB and received 6653.43 GB. Nov 07 13:45:27.000 [notice] Circuit handshake stats since last time: 47784/47784 TAP, 481668/481668 NTor. Nov 07 13:45:27.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 3 v3 connections, and 310352 v4 connections; and received 2427 v1 connections, 51608 v2 connections, 125265 v3 connections, and 974807 v4 connections. Nov 07 14:45:27.000 [notice] Heartbeat: Tor's uptime is 9 days 20:59 hours, with 460213 circuits open. I've sent 6756.65 GB and received 6688.85 GB. Nov 07 14:45:27.000 [notice] Circuit handshake stats since last time: 91852/91852 TAP, 464777/464777 NTor. Nov 07 14:45:27.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 3 v3 connections, and 310990 v4 connections; and received 2442 v1 connections, 51934 v2 connections, 126196 v3 connections, and 979302 v4 connections. Nov 07 15:32:50.000 [warn] tor_bug_occurred_: Bug: src/common/buffers.c:694: buf_add: Non-fatal assertion !(buf->datalen >= INT_MAX - string_len) failed. (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: Non-fatal assertion !(buf->datalen >= INT_MAX - string_len) failed in buf_add at src/common/buffers.c:694. Stack trace: (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x11a2cd8 <log_backtrace+0x48> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x11bd93c <tor_bug_occurred_+0x10c> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x11a446b <buf_add+0x13b> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1129402 <connection_write_to_buf_impl_+0x122> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10f2a98 <channel_tls_update_marks+0x1068> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10e7a6b <channel_write_cell_generic_+0x23b> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10e8078 <channel_write_packed_cell+0x38> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x109e1fa <channel_flush_from_first_active_circuit+0x31a> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10e88a2 <channel_flush_some_cells+0xd2> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10db2f6 <scheduler_can_use_kist+0x8e6> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10d9a22 <scheduler_init+0x152> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x801b38a96 <event_base_assert_ok_nolock_+0x926> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x801b34cfe <event_base_loop+0x50e> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1072eb5 <do_main_loop+0x575> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10752a9 <tor_main+0xe9> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1070d09 <main+0x19> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1070c01 <_start+0x1a1> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] write_to_buf failed on an orconn; notifying of error (fd 3936) Nov 07 15:32:50.000 [warn] Scheduler asked to release channel 4099239 but it wasn't in channels_pending Nov 07 15:32:50.000 [warn] tor_bug_occurred_: Bug: src/or/scheduler_kist.c:405: update_socket_written: Non-fatal assertion !((!ent)) failed. (Future instances of this warning will be silenced.) (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: Non-fatal assertion !((!ent)) failed in update_socket_written at src/or/scheduler_kist.c:405. Stack trace: (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x11a2cd8 <log_backtrace+0x48> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x11bd93c <tor_bug_occurred_+0x10c> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10db390 <scheduler_can_use_kist+0x980> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10d9a22 <scheduler_init+0x152> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x801b38a96 <event_base_assert_ok_nolock_+0x926> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x801b34cfe <event_base_loop+0x50e> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1072eb5 <do_main_loop+0x575> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10752a9 <tor_main+0xe9> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1070d09 <main+0x19> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1070c01 <_start+0x1a1> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] tor_bug_occurred_: Bug: src/or/scheduler_kist.c:373: socket_can_write: Non-fatal assertion !((!ent)) failed. (Future instances of this warning will be silenced.) (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: Non-fatal assertion !((!ent)) failed in socket_can_write at src/or/scheduler_kist.c:373. Stack trace: (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x11a2cd8 <log_backtrace+0x48> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x11bd93c <tor_bug_occurred_+0x10c> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10db5a0 <scheduler_can_use_kist+0xb90> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10d9a22 <scheduler_init+0x152> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x801b38a96 <event_base_assert_ok_nolock_+0x926> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x801b34cfe <event_base_loop+0x50e> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1072eb5 <do_main_loop+0x575> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x10752a9 <tor_main+0xe9> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1070d09 <main+0x19> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:32:50.000 [warn] Bug: 0x1070c01 <_start+0x1a1> at /usr/local/bin/tor (on Tor 0.3.2.3-alpha 023d756bfc04c244) Nov 07 15:45:27.000 [notice] Heartbeat: Tor's uptime is 9 days 21:59 hours, with 416645 circuits open. I've sent 6792.80 GB and received 6726.35 GB. Nov 07 15:45:27.000 [notice] Circuit handshake stats since last time: 37107/37107 TAP, 467515/467515 NTor. Nov 07 15:45:27.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 3 v3 connections, and 311516 v4 connections; and received 2456 v1 connections, 52297 v2 connections, 127116 v3 connections, and 983804 v4 connections. Nov 07 16:45:27.000 [notice] Heartbeat: Tor's uptime is 9 days 23:00 hours, with 454325 circuits open. I've sent 6827.63 GB and received 6761.22 GB. Nov 07 16:45:27.000 [notice] Circuit handshake stats since last time: 51144/51144 TAP, 453758/453758 NTor. Nov 07 16:45:27.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 3 v3 connections, and 312143 v4 connections; and received 2465 v1 connections, 52689 v2 connections, 127881 v3 connections, and 988472 v4 connections. Nov 07 17:45:27.000 [notice] Heartbeat: Tor's uptime is 9 days 23:59 hours, with 182463 circuits open. I've sent 6863.17 GB and received 6795.92 GB. Nov 07 17:45:27.000 [notice] Circuit handshake stats since last time: 51863/51863 TAP, 443959/443960 NTor. Nov 07 17:45:27.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 3 v3 connections, and 312886 v4 connections; and received 2480 v1 connections, 53077 v2 connections, 128666 v3 connections, and 993075 v4 connections. Nov 07 18:45:27.000 [notice] Heartbeat: Tor's uptime is 10 days 1:00 hours, with 357060 circuits open. I've sent 6903.66 GB and received 6835.87 GB. Nov 07 18:45:27.000 [notice] Circuit handshake stats since last time: 308305/308305 TAP, 451842/451843 NTor. Nov 07 18:45:27.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 3 v3 connections, and 313518 v4 connections; and received 2492 v1 connections, 53508 v2 connections, 129458 v3 connections, and 997810 v4 connections. Nov 07 19:45:27.000 [notice] Heartbeat: Tor's uptime is 10 days 1:59 hours, with 449990 circuits open. I've sent 6943.84 GB and received 6875.63 GB. Nov 07 19:45:27.000 [notice] Circuit handshake stats since last time: 701582/701582 TAP, 481074/481074 NTor. Nov 07 19:45:27.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 3 v3 connections, and 313975 v4 connections; and received 2504 v1 connections, 53900 v2 connections, 130209 v3 connections, and 1002495 v4 connections. }}} Cheers ! -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23751#comment:10> 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