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

Closed (moved)
Open
Opened Oct 28, 2008 by coderman@coderman

Tor crash on ppc64 with bad descriptors

Tor 0.2.1.6-alpha on ppc64 (PS3 Ubuntu) fails assert reliably with a bad descriptor found in http://peertech.org/files/save-bad-cached-files-tor-ppc64-crash.tgz

The failed assert is: [err] Bug: policies.c:1266: addr_policy_free: Assertion p == found->policy failed; aborting.

The Tor instance attempts to remove a canonical policy returned by the hash table HT_REMOVE.

The policy to find is (i added some additional debugging info to help troubleshoot): debug_policy(): Policy data for 0x101f2d88: HASH: 1105958104 IsPrivate: 0 addr: 190.21.106.7 mask: 32 prt_min: 1 prt_max: 65535 type: 2

The matched policy shouldn't match, but does return: debug_policy(): Policy data for 0x1027bb68: HASH: 2801726591 IsPrivate: 0 addr: 89.2.10.96 mask: 32 prt_min: 1 prt_max: 65535 type: 2

The assert fails because the search policy does not match the found policy in addr_policy_free.

The policy at address 0x1027bb68 is for router "router Unnamed 221.207.2.77 443 0 9030" in the cached files. The policy at address 0x101f2d88 is for router "router utumno 98.100.128.152 9001 0 0".

I can attempt to assist further if necessary. This does not appear to be a problem on x86 for the same alpha version.

[Automatically added by flyspray2trac: Operating System: Other Linux]

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