[tor-bugs] #33837 [Core Tor/Tor]: Tor.framework Unknown type name 'dispatch_queue_t'

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 7 04:47:51 UTC 2020


#33837: Tor.framework Unknown type name 'dispatch_queue_t'
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  043-should, 043-backport,
     Severity:  Normal   |  042-backport, 041-backport
Actual Points:           |  Parent ID:
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 From https://trac.torproject.org/projects/tor/ticket/33522#comment:2
 >
 > Replying to [ticket:33522 tla]:
 > > It has a Travis-CI configuration, which I just updated to work on the
 latest macOS/Xcode image:
 > >
 > > https://github.com/iCepa/Tor.framework/blob/master/.travis.yml
 > >
 > >
 > > Currently, we have issues in getting past Tor 0.4.0.6 on iOS. When I
 try to use a newer core, I get this error message:
 > >
 > > > Unknown type name 'dispatch_queue_t'
 > >
 > > in CFStream of Apple's CoreFoundation framework.
 > >
 > >
 > > But "dispatch_queue_t" is actually a valid symbol from Apple's
 Foundation libraries.
 > >
 > > So somehow, it gets cancelled out through something which changed in
 Tor recently.
 >
 > This looks like a bug in tor's code, or perhaps in the Tor.framework
 embedding scripts.
 >
 > We'd be happy to help you diagnose this issue.
 >
 > Can you tell us the first release that has this issue? Is it 0.4.1,
 0.4.2, or 0.4.3 ?
 > Have you done a git bisect, to track down the commit that introduced the
 issue?
 >
 > Let's open a separate ticket, so we can fix this bug in tor's code.
 > Or help you find a workaround when you embed tor.

 I can't see dispatch_queue_t in Tor's code.

 Perhaps we're defining some preprocessor symbols, or including a header
 that conflicts with dispatch_queue_t's header.

 We don't know which release this bug was introduced in. But Tor 0.4.0.6
 does not have this error.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33837>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list