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 313
    • Issues 313
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • 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
  • #385
Closed
Open
Created Feb 03, 2007 by Roger Dingledine@armaReporter

assert errors on answering begin_dir

I think this was SVN r9422.

moria1 and moria2 both died with:

Jan 30 20:44:41.536 [err] connection.c:2380: assert_connection_ok: Assertion con nection_is_writing(conn) || conn->wants_to_write failed; aborting.

#0 0x0000002a95e43545 in raise () from /lib/libc.so.6 #1 0x0000002a95e44cce in abort () from /lib/libc.so.6 legacy/trac#2 (closed) 0x0000000000420834 in assert_connection_ok (conn=0x1819230, now=19842) at connection.c:2524 legacy/trac#3 (closed) 0x0000000000440e7b in conn_read_callback (fd=19842, event=19842, _conn=0x6) at main.c:424 legacy/trac#4 (closed) 0x0000002a95d0e82d in event_base_priority_init () from /usr/lib/libevent-1.1a.so.1 legacy/trac#5 (closed) 0x0000002a95d0ea72 in event_base_loop () from /usr/lib/libevent-1.1a.so.1 legacy/trac#6 (closed) 0x0000002a95d0e8e5 in event_loop () from /usr/lib/libevent-1.1a.so.1 legacy/trac#7 (closed) 0x0000002a95d0e84b in event_dispatch () from /usr/lib/libevent-1.1a.so.1 legacy/trac#8 (closed) 0x000000000044259b in do_main_loop () at main.c:1234 legacy/trac#9 (closed) 0x000000000044323a in tor_main (argc=19842, argv=0x4d82) at main.c:2344 legacy/trac#10 (closed) 0x0000002a95e31441 in __libc_start_main () from /lib/libc.so.6 legacy/trac#11 (closed) 0x000000000040622a in _start () at ../sysdeps/x86_64/elf/start.S:96

$7 = {magic = 2575892462, type = 9 '\t', state = 6 '\006', purpose = 9 '\t', wants_to_read = 0, wants_to_write = 0, hold_open_until_flushed = 0, inbuf_reached_eof = 0, edge_has_sent_end = 0, or_is_obsolete = 0, chosen_exit_optional = 0, s = 1503, conn_array_index = 1977, read_event = 0x6b1feb0, write_event = 0x3230750, inbuf = 0x6a188a0, outbuf = 0x14e3670, outbuf_flushlen = 141, timestamp_lastread = 1170207881, timestamp_lastwritten = 1170207879, timestamp_created = 1170207879, addr = , port = 0, marked_for_close = 0, marked_for_close_file = 0x0, address = 0x6f3880 "Tor network"}

Check out the "address" field -- I think that's our hint. Somewhere we're making it stop writing but the assert doesn't take this into account.

[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