Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #23751

Closed (moved)
Open
Opened Oct 03, 2017 by Trac@tracbot

[warn] tor_bug_occurred_: Bug: src/common/buffers.c, etc.

Duplicate to #23676 (moved) ? But the buffers.c:690 seems new.

[warn] tor_bug_occurred_: Bug: src/common/buffers.c:690: buf_add: Non-fatal assertion !(buf->datalen >= INT_MAX - string_len) failed.
[warn] tor_bug_occurred_: Bug: src/or/scheduler_kist.c:406: update_socket_written: Non-fatal assertion !((!ent)) failed.
[warn] tor_bug_occurred_: Bug: src/or/scheduler_kist.c:374: socket_can_write: Non-fatal assertion !((!ent)) failed.

At the end of the log file's time the tor process stays at 100% cpu. Server hang up and a reboot was necessary. I jumped on 3.2.2a already.

Sep 21 23:14:06.010 [notice] Tor 0.3.2.1-alpha (git-290274dbb5428bc5) 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.1.

Oct 02 02:14:18.000 [notice] Heartbeat: Tor's uptime is 10 days 2:59 hours, with 193846 circuits open. I've sent 6390.97 GB and received 6348.01 GB.
Oct 02 02:14:18.000 [notice] Circuit handshake stats since last time: 4007/4007 TAP, 132384/132384 NTor.
Oct 02 02:14:18.000 [notice] Since startup, we have initiated 0 v1 connections, 0 v2 connections, 0 v3 connections, and 418760 v4 connections; and received 2215 v1 connections, 43847 v2 connections, 101525 v3 connections, and 746328 v4 connections.
Oct 02 02:31:24.000 [notice] Scheduler type KISTLite has been enabled.
Oct 02 02:58:02.000 [warn] tor_bug_occurred_: Bug: src/common/buffers.c:690: buf_add: Non-fatal assertion !(buf->datalen >= INT_MAX - string_len) failed. (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug: Non-fatal assertion !(buf->datalen >= INT_MAX - string_len) failed in buf_add at src/common/buffers.c:690. Stack trace: (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x11a2bf8 <log_backtrace+0x48> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x11bd82c <tor_bug_occurred_+0x10c> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x11a435b <buf_add+0x13b> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1129572 <connection_write_to_buf_impl_+0x122> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10f2d38 <channel_tls_update_marks+0x1068> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10e78cb <channel_write_cell_generic_+0x23b> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10e7ed8 <channel_write_packed_cell+0x38> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x109e20a <channel_flush_from_first_active_circuit+0x31a> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10e8702 <channel_flush_some_cells+0xd2> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10db0f6 <scheduler_can_use_kist+0x826> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10d9912 <scheduler_init+0x152> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x801b37a96 <event_base_assert_ok_nolock_+0x926> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x801b33cfe <event_base_loop+0x50e> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1072d15 <do_main_loop+0x575> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1075119 <tor_main+0xe9> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1070b69 <main+0x19> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1070a61 <_start+0x1a1> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] write_to_buf failed on an orconn; notifying of error (fd 1935)
Oct 02 02:58:02.000 [warn] Scheduler asked to release channel 1994256 but it wasn't in channels_pending
Oct 02 02:58:02.000 [warn] tor_bug_occurred_: Bug: src/or/scheduler_kist.c:406: update_socket_written: Non-fatal assertion !((!ent)) failed. (Future instances of this warning will be silenced.) (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug: Non-fatal assertion !((!ent)) failed in update_socket_written at src/or/scheduler_kist.c:406. Stack trace: (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x11a2bf8 <log_backtrace+0x48> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x11bd82c <tor_bug_occurred_+0x10c> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10db190 <scheduler_can_use_kist+0x8c0> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10d9912 <scheduler_init+0x152> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x801b37a96 <event_base_assert_ok_nolock_+0x926> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x801b33cfe <event_base_loop+0x50e> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1072d15 <do_main_loop+0x575> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1075119 <tor_main+0xe9> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1070b69 <main+0x19> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1070a61 <_start+0x1a1> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] tor_bug_occurred_: Bug: src/or/scheduler_kist.c:374: socket_can_write: Non-fatal assertion !((!ent)) failed. (Future instances of this warning will be silenced.) (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug: Non-fatal assertion !((!ent)) failed in socket_can_write at src/or/scheduler_kist.c:374. Stack trace: (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x11a2bf8 <log_backtrace+0x48> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x11bd82c <tor_bug_occurred_+0x10c> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10db340 <scheduler_can_use_kist+0xa70> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x10d9912 <scheduler_init+0x152> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x801b37a96 <event_base_assert_ok_nolock_+0x926> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x801b33cfe <event_base_loop+0x50e> at /usr/local/lib/libevent-2.1.so.6 (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1072d15 <do_main_loop+0x575> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1075119 <tor_main+0xe9> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1070b69 <main+0x19> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5)
Oct 02 02:58:02.000 [warn] Bug:     0x1070a61 <_start+0x1a1> at /usr/local/bin/tor (on Tor 0.3.2.1-alpha 290274dbb5428bc5) 

Cheers!

Trac:
Username: Felixix

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.3.2.x-final
Milestone
Tor: 0.3.2.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#23751