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
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

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
  • #804

Closed (moved)
Open
Opened Aug 17, 2008 by Roger Dingledine@arma

seg fault on r16563 v3 authority

moria1 on Tor 0.2.1.4-alpha-dev (r16563)

Aug 16 20:55:01.039 [notice] Time to compute a consensus. Aug 16 20:55:01.039 [info] networkstatus_compute_consensus(): Generating consens us using method 3.

#0 0x00002b93dfb35580 in strlen () from /lib/libc.so.6 #1 0x00002b93dfb07560 in vfprintf () from /lib/libc.so.6 #2 (closed) 0x00002b93dfb276fa in vsnprintf () from /lib/libc.so.6 #3 (closed) 0x00000000004963e3 in tor_vsnprintf ( str=0x7fffcb8f1900 "p Bandwidth=6266160\n", size=4981567, format=0x7fffcb8f0201 "3\v\002", args=0x5) at compat.c:340 #4 (closed) 0x0000000000496481 in tor_snprintf ( str=0x2b9300002b93 <Address 0x2b9300002b93 out of bounds>, size=4981567, format=0x7fffcb8f0201 "3\v\002") at compat.c:321 #5 (closed) 0x000000000044dbf0 in networkstatus_compute_consensus (votes=0x16a4d00, total_authorities=6, identity_key=0x62c0e0, signing_key=0x62bff0, legacy_id_key_digest=0x0, legacy_signing_key=0x0) at dirvote.c:1049 #6 (closed) 0x000000000044ec11 in dirvote_act (options=0x5faf00, now=1218934501) at dirvote.c:1907 #7 (closed) 0x0000000000459213 in second_elapsed_callback (fd=, event=, args=) at main.c:1067 #8 (closed) 0x00002b93df3e90e2 in event_base_loop () from /usr/lib/libevent-1.1a.so.1 #9 (closed) 0x00000000004599f8 in do_main_loop () at main.c:1459 #10 (closed) 0x0000000000459b95 in tor_main (argc=3, argv=) at main.c:2025 #11 (closed) 0x00002b93dfadf4ca in __libc_start_main () from /lib/libc.so.6 #12 (closed) 0x0000000000406b0a in _start () at ../sysdeps/x86_64/elf/start.S:113

#3 (closed) 0x00000000004963e3 in tor_vsnprintf ( str=0x7fffcb8f1900 "p Bandwidth=6266160\n", size=4981567, format=0x7fffcb8f0201 "3\v\002", args=0x5) at compat.c:340 340 r = vsnprintf(str, size, format, args);

#5 (closed) 0x000000000044dbf0 in networkstatus_compute_consensus (votes=0x16a4d00, total_authorities=6, identity_key=0x62c0e0, signing_key=0x62bff0, legacy_id_key_digest=0x0, legacy_signing_key=0x0) at dirvote.c:1049 1049 int r = tor_snprintf(buf, sizeof(buf), "p %s\n", rs_out.exitsummary);

(gdb) print buf $7 = 6401584 (gdb) print sizeof(buf) $8 = 4

(gdb) print rs_out No symbol "rs_out" in current context.

(another victim of optimization i guess)

[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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#804