Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 831
    • Issues 831
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 31
    • Merge requests 31
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #473

Closed
Open
Created Jul 31, 2007 by weasel (Peter Palfrader)@weasel

buffers.c:1606: assert_buf_ok: Assertion buf->cur < buf->mem+buf->len failed; aborting

on tor26, r11001, soon after starting:

Jul 31 04:21:03.510 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. Jul 31 04:21:06.991 [notice] Performing bandwidth self-test...done. Jul 31 04:21:09.585 [notice] Rejected router descriptor or extra-info from 64.62.190.36. Jul 31 04:21:41.598 [notice] Rejected router descriptor or extra-info from 86.59.21.38. Jul 31 04:21:41.638 [warn] http status 400 ("Extrainfo published time did not match routerdesc") response from dirserver '86.59.21.38:80'. Please correct. Jul 31 04:25:24.936 [notice] Self-testing indicates your DirPort is reachable from the outside. Excellent. Jul 31 04:29:18.359 [err] Bug: buffers.c:1606: assert_buf_ok: Assertion buf->cur < buf->mem+buf->len failed; aborting.

(gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7d3f885 in raise () from /lib/tls/i686/cmov/libc.so.6 legacy/trac#2 (closed) 0xb7d41002 in abort () from /lib/tls/i686/cmov/libc.so.6 legacy/trac#3 (closed) 0x0805038c in assert_buf_ok (buf=0x6) at buffers.c:1622 legacy/trac#4 (closed) 0x080707ab in assert_connection_ok (conn=0xbea0da8, now=1185848958) at connection.c:2803 legacy/trac#5 (closed) 0x0809bc09 in conn_write_callback (fd=372, events=4, _conn=0xbea0da8) at main.c:528 legacy/trac#6 (closed) 0xb7f91c79 in event_base_priority_init () from /usr/lib/libevent-1.1a.so.1 legacy/trac#7 (closed) 0xb7f91f65 in event_base_loop () from /usr/lib/libevent-1.1a.so.1 legacy/trac#8 (closed) 0xb7f91dcb in event_loop () from /usr/lib/libevent-1.1a.so.1 legacy/trac#9 (closed) 0x0809d733 in do_main_loop () at main.c:1386 legacy/trac#10 (closed) 0x0809e86d in tor_main (argc=0, argv=0x0) at main.c:2635 legacy/trac#11 (closed) 0x080caa1b in main (argc=0, argv=0x0) at tor_main.c:28

legacy/trac#4 (closed) 0x080707ab in assert_connection_ok (conn=0xbea0da8, now=1185848958) at connection.c:2803 2803 assert_buf_ok(conn->inbuf); (gdb) p *conn $1 = {magic = 2100428547, type = 4 '\004', state = 5 '\005', purpose = 0 '\0', read_blocked_on_bw = 0, write_blocked_on_bw = 0, hold_open_until_flushed = 0, inbuf_reached_eof = 0, edge_has_sent_end = 0, edge_blocked_on_circ = 0, or_is_obsolete = 0, chosen_exit_optional = 0, s = 372, conn_array_index = 260, read_event = 0x8796480, write_event = 0x8796240, inbuf = 0x8795d68, outbuf = 0xb039370, outbuf_flushlen = 512, timestamp_lastread = 1185848956, timestamp_lastwritten = 1185848955, timestamp_created = 1185848571, socket_family = 2, addr = 2620942612, port = 9001, marked_for_close = 0, marked_for_close_file = 0x0, address = 0x9f00720 "156.56.105.20", linked_conn = 0x0, linked = 0, reading_from_linked_conn = 0, writing_to_linked_conn = 0, active_on_link = 0, dns_server_port = 0x0} (gdb) p *conn->inbuf $2 = {magic = 2969563922, mem = 0x9ae7458 "[..cut by weasel...]", cur = 0x9ae9458 "[..cut by weasel...] ", highwater = 0, len = 8192, memsize = 8192, datalen = 0}

weasel@intrepid:~$ bc ibase=16 9AE9458-9AE7458 8192

[Automatically added by flyspray2trac: Operating System: All]

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking