Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-02-11 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  closed
 Priority:  Medium   |  Milestone:  Tor:
 |  0.2.9.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:  fixed
 Keywords:  OSX, Sierra, setrlimit, tbb-needs,   |  Actual Points:
  031-backport, review-group-29 032-backport |
  029-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * status:  merge_ready => closed
 * resolution:   => fixed
 * milestone:  Tor: 0.3.2.x-final => Tor: 0.2.9.x-final


Comment:

 I'm calling this issue medium-badness, low risk, and tested-enough.
 Backporting to 0.2.9 and forward.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-17 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  merge_ready
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX, Sierra, setrlimit, tbb-needs,   |  Actual Points:
  031-backport, review-group-29 032-backport |
  029-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by nickm):

 This patch seems to have caused a signed/unsigned comparison warning on
 FreeBSD:
 {{{
 21:15:20 ../tor/src/common/compat.c:1750:23: error: comparison of integers
 of different signs: 'uint64_t' (aka 'unsigned long') and 'rlim_t' (aka
 'long') [-Werror,-Wsign-compare]
 21:15:20   rlim.rlim_cur = MIN(try_limit, rlim.rlim_cur);
 21:15:20   ^   ~  ~
 21:15:20 /usr/include/sys/param.h:299:23: note: expanded from macro 'MIN'
 21:15:20 #define MIN(a,b) (((a)<(b))?(a):(b))
 21:15:20   ^
 }}}

 I've added a new commit to the `bug21074_029` branch to fix this, and
 merged the branch to master again.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-16 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  merge_ready
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX, Sierra, setrlimit, tbb-needs,   |  Actual Points:
  031-backport, review-group-29 032-backport |
  029-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by arma):

 Neat. Sounds like Tor Browser will either want to take this patch on its
 own, or get the patch backported to whichever version of Tor it ships.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-16 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  merge_ready
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX, Sierra, setrlimit, tbb-needs,   |  Actual Points:
  031-backport, review-group-29 032-backport |
  029-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * keywords:  OSX, Sierra, setrlimit, tbb-needs, 031-backport, review-
 group-29 =>
 OSX, Sierra, setrlimit, tbb-needs, 031-backport, review-group-29
 032-backport 029-backport


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-16 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  merge_ready
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX, Sierra, setrlimit, tbb-needs,   |  Actual Points:
  031-backport, review-group-29  |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by nickm):

 Merged to master; marking for possible backport.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-16 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  merge_ready
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX, Sierra, setrlimit, tbb-needs,   |  Actual Points:
  031-backport, review-group-29  |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by ahf):

 * status:  needs_review => merge_ready


Comment:

 Patch looks good to me.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-04 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * status:  accepted => needs_review


Comment:

 I've tried to take the minimalist approach for a patch here, and made
 setrlimit() failures nonfatal.  See my branch `bug21074_029`.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-04 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  accepted
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * status:  new => accepted


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-02 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by thomasd3):

 I am in touch with the author of JBridgeM, I will let him know about this.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-01 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by teor):

 Replying to [comment:31 Dbryrtfbcbhgf]:
 > Replying to [comment:30 teor]:
 > > Apparently some users encountered this issue after a 10.11.6 security
 update:
 > > https://tor.stackexchange.com/questions/16033/tor-unexpectedly-exited-
 this-might-be-due-to-a-bug-in-tor-itself-another-progr
 > >
 > > And raising file descriptors using sudo fixes it in some cases.
 > >
 > > So yes, I think we should presume that some configurations cause
 setrlimit to fail, and change tor to make setrlimit failures non-fatal.
 > > (I have multiple Tor Browser instances on admin and non-admin users,
 so it's not a simple permissions issue.)
 > This user noticed something that may be the cause of the bug.
 > https://trac.torproject.org/projects/tor/ticket/24764#comment:20
 > https://trac.torproject.org/projects/tor/ticket/24764#comment:21

 Calling launchctl to set the file limit per-user is the wrong way for
 JBridgeM to make this change. It should either:
 * create a separate user and set the limit on that user, or
 * set the limit on its own process, rather than all processes run by the
 user.

 But as far as Tor is concerned, this is something that will come up in
 some users' configurations, so we should make the setrlimit call non-
 fatal, and test using the same commands as:

 https://trac.torproject.org/projects/tor/ticket/24764#comment:21

 to make sure we have caught all the possible failure modes.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-01 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by Dbryrtfbcbhgf):

 Replying to [comment:30 teor]:
 > Apparently some users encountered this issue after a 10.11.6 security
 update:
 > https://tor.stackexchange.com/questions/16033/tor-unexpectedly-exited-
 this-might-be-due-to-a-bug-in-tor-itself-another-progr
 >
 > And raising file descriptors using sudo fixes it in some cases.
 >
 > So yes, I think we should presume that some configurations cause
 setrlimit to fail, and change tor to make setrlimit failures non-fatal.
 > (I have multiple Tor Browser instances on admin and non-admin users, so
 it's not a simple permissions issue.)
 This user noticed something that may be the cause of the bug.
 https://trac.torproject.org/projects/tor/ticket/24764#comment:20
 https://trac.torproject.org/projects/tor/ticket/24764#comment:21

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-01 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by teor):

 * status:  needs_information => new


Comment:

 Apparently some users encountered this issue after a 10.11.6 security
 update:
 https://tor.stackexchange.com/questions/16033/tor-unexpectedly-exited-
 this-might-be-due-to-a-bug-in-tor-itself-another-progr

 And raising file descriptors using sudo fixes it in some cases.

 So yes, I think we should presume that some configurations cause setrlimit
 to fail, and change tor to make setrlimit failures non-fatal.
 (I have multiple Tor Browser instances on admin and non-admin users, so
 it's not a simple permissions issue.)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2018-01-01 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by Dbryrtfbcbhgf):

 Duplicate #24764

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-11-15 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * status:  reopened => needs_information


Comment:

 Most odd.  I still can't reproduce this. I wonder what the difference is
 between this user's Sierra and mine?

 One possibility here is to simply treat setrlimit() failures as non-fatal.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-11-02 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  reopened
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-needs, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by gk):

 * status:  closed => reopened
 * keywords:  OSX Sierra setrlimit, tbb-wants, 031-backport => OSX Sierra
 setrlimit, tbb-needs, 031-backport
 * resolution:  fixed =>


Comment:

 The fix for #22797 made it into 0.3.1.7, so reopening.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-11-01 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  closed
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:  fixed
 Keywords:  OSX Sierra setrlimit, tbb-wants, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by cypherpunks):

 {{{
 Nov 02 01:33:11.580 [notice] Tor 0.3.1.7 (git-6babd3d9ba9318b3) running on
 Darwin with Libevent 2.0.22-stable, OpenSSL 1.0.2k, Zlib 1.2.8, Liblzma
 N/A, and Libzstd N/A.
 Nov 02 01:33:11.581 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Nov 02 01:33:11.654 [notice] Configuration file
 "/home/debian/install/etc/tor/torrc" not present, using reasonable
 defaults.
 Nov 02 01:33:11.658 [warn] Couldn't set maximum number of file
 descriptors: Invalid argument
 Nov 02 01:33:11.658 [warn] Failed to parse/validate config: Problem with
 ConnLimit value. See logs for details.
 Nov 02 01:33:11.658 [err] Reading config failed--see warnings above.
 }}}


 Have a user on Stack Exchange reporting this still on 0.3.1.7

 Original SE report is here: https://tor.stackexchange.com/questions/16033
 /tor-unexpectedly-exited-this-might-be-due-to-a-bug-in-tor-itself-another-
 progr

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-09-11 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  closed
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:  fixed
 Keywords:  OSX Sierra setrlimit, tbb-wants, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 Okay; it looks like the underlying issue was indeed probably #22797.
 Please  re-open if this bug appears in 0.2.9.12, 0.3.0.11, 0.3.1.7-??,
 0.3.2.1-alpha, or later.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-09-06 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:
 |  accepted
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants, |  Actual Points:
  031-backport   |
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * keywords:  OSX Sierra setrlimit, tbb-wants => OSX Sierra setrlimit, tbb-
 wants, 031-backport
 * milestone:  Tor: 0.3.1.x-final => Tor: 0.3.2.x-final


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-08-07 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  accepted
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by gk):

 * cc: celticninja (added)


Comment:

 #23124 is a duplicate

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-07-31 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:  nickm
 Type:  defect   | Status:  accepted
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * owner:   => nickm
 * status:  new => accepted


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-07-10 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by fink):

 Temp fix for the issue:



 {{{
 sudo launchctl limit maxfiles 1 1
 }}}
 Need to check if this fix is long-term.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-07-05 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by fink):

 * status:  needs_information => new


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-07-05 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by fink):

 Running a sandboxed tor has same results:

 {{{
 [notice] Tor 0.3.1.3-alpha (git-dc47d936d47ffc25) running on Darwin with
 Libevent 2.0.22-stable, OpenSSL 1.0.2k, Zlib 1.2.8, Liblzma N/A, and
 Libzstd N/A.

 }}}
 {{{
 [warn] Couldn't set maximum number of file descriptors: Invalid argument
 [warn] Failed to parse/validate config: Problem with ConnLimit value. See
 logs for details.

 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-07-05 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by fink):

 Hey. Just found this thread as I have same problems on Sierra (10.12.5)
 and... funny, I've just replaced Ableton Live 32-bit with 64-bit.
 A few things to note:

  * with the 32-bit Live installed, tor was working just fine
  * 64-bit version is the same build number as the 32-bit one
  * I can't test ulimit before Ableton Live

 Still, the current output (run as a non-root user) is the same with and
 w/o Ableton Live installed:

 {{{
 a-air:~ a$ ulimit -n -S
 8192
 a-air:~ a$ ulimit -S -n 10240
 -bash: ulimit: open files: cannot modify limit: Invalid argument
 a-air:~ a$ ulimit -n -S
 8192
 a-air:~ a$ ulimit -n -H
 unlimited
 }}}
 And hence, tor still doesn't work with Live uninstalled.

 Hope it helps somehow...

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-07-02 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.1.x-final
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.6.7
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by teor):

 * version:  Tor: 0.2.9.6-rc => Tor: 0.2.6.7
 * milestone:  Tor: unspecified => Tor: 0.3.1.x-final


Comment:

 Thanks for letting us know this is still happening.
 I made #22797 to fix a bug in this code, but it probably won't fix this
 issue.

 We still need more information.
 If you have this issue:
 * do you have Ableton Live installed?
 * what do you see when you open Terminal.app and type:
 {{{
 ulimit -n -S
 ulimit -S -n 10240
 ulimit -n -S
 ulimit -n -H
 }}}
   For example, I see:
 {{{
 base:~ dev$ ulimit -n -S
 256
 base:~ dev$ ulimit -S -n 10240
 base:~ dev$ ulimit -n -S
 10240
 base:~ dev$ ulimit -n -H
 unlimited
 }}}
 * what happens if you create another user?
   * does Tor work for that user?
   * what do you get from the Terminal commands above for that user?

 This seems to be an issue with Ableton Live:
 * does tor work if you quit Ableton Live?
 * does tor work if you uninstall Ableton Live?
 * what do you get from the Terminal commands above:
   * before you have ever installed Ableton Live?
   * after you install Ableton Live?
   * after you uninstall Ableton Live?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-07-02 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by ugyballoons):

 Same issue here- have also just installed 32bit version of Ableton Live 9.

 Tor now exits with error as above.
 Using previous OS X version, however- 10.11.6

 Is this still a common issue or has it been opened and filleted on another
 ticket?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-04-30 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by NeoNapster):

 I can report the same problem

 OSX Sierra, Darwin MacBook-Pro.local 16.5.0 Darwin Kernel Version 16.5.0:
 Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64

 Was working fine, I have no idea this seems to have happened after I
 installed Ableton Live at some point although I am unable to clarify this.

 Apr 30 11:17:30.787 [notice] Tor 0.3.0.5-rc (git-5eb2786600014d02) running
 on Darwin with Libevent 2.0.22-stable, OpenSSL 1.0.2k and Zlib 1.2.8.
 Apr 30 11:17:30.788 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Apr 30 11:17:30.856 [notice] Configuration file
 "/home/debian/install/etc/tor/torrc" not present, using reasonable
 defaults.
 Apr 30 11:17:30.859 [warn] Couldn't set maximum number of file
 descriptors: Invalid argument
 Apr 30 11:17:30.859 [warn] Failed to parse/validate config: Problem with
 ConnLimit value. See logs for details.
 Apr 30 11:17:30.859 [err] Reading config failed--see warnings above.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-04-17 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by loopuz):

 i don't know how to read the logs, when i get the "tor unexpectedly
 exited"error there's a "copy tor log to clipboard" but nothing happens...

 i added the line
  "Log info stderr" to torrc-defaults  but then what ?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-04-15 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by arma):

 Replying to [comment:12 gk]:
 > Replying to [comment:11 arma]:
 > > Does #18530 mean that OS X 10.8's days are numbered for Tor Browser
 anyway (because Firefox is dropping support)?
 >
 > Yes. (This issue is not 10.8 related, though.)

 Ah ha. Sorry for the noise. It sounds like the person above on 10.8 is
 going to be screwed soon, but "Sierra" is 10.12 and thus still supported.
 Carry on.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-04-15 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by gk):

 Replying to [comment:11 arma]:
 > Does #18530 mean that OS X 10.8's days are numbered for Tor Browser
 anyway (because Firefox is dropping support)?

 Yes. (That issue is not 10.8 related, though.)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-04-15 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by arma):

 Does #18530 mean that OS X 10.8's days are numbered for Tor Browser anyway
 (because Firefox is dropping support)?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-04-15 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by loopuz):

 hello I have exactly the same problem and i am under OS X 10.8.5 Mountain
 Lions

 I have tried different version of tor from 6.0.7 til the latest 6.5.1
 Something changed in my configuration but i dont know what .

 if i boot my macbook  from an old backup disk (from december 2016 tor
 6.0.7) everything works  fine... i tried to copy the same application from
 the backup to my actual mac  (that is "org.mozilla.tor browser.plist" file
 , the folders "org.mozilla.tor browser" and "tor browser data" and
 !TorBrowser.app obviously) but i still get the same error!

 if i run sudo /Applications/!TorBrowser.app/TorBrowser/Tor/tor.real

 i get

 Apr 15 16:22:59.579 [notice] Tor v0.2.6.7 (git-ac600bec40c14864) running
 on Darwin with Libevent 2.0.21-stable, OpenSSL 1.0.1m and Zlib 1.2.5.
 Apr 15 16:22:59.579 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at !https://www.torproject.org/download/download#warning
 Apr 15 16:22:59.659 [notice] Configuration file
 "/home/ubuntu/install/etc/tor/torrc" not present, using reasonable
 defaults.
 Apr 15 16:22:59.668 [notice] Opening Socks listener on 127.0.0.1:9050
 Apr 15 16:22:59.000 [warn] You are running Tor as root. You don't need to,
 and you probably shouldn't.
 Apr 15 16:22:59.000 [notice] Bootstrapped 0%: Starting
 Apr 15 16:23:00.000 [notice] Bootstrapped 5%: Connecting to directory
 server
 Apr 15 16:23:00.000 [notice] Bootstrapped 80%: Connecting to the Tor
 network
 Apr 15 16:23:00.000 [notice] Bootstrapped 85%: Finishing handshake with
 first hop
 Apr 15 16:23:01.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
 Apr 15 16:23:01.000 [warn] Received http status code 404 ("Not found")
 from server '217.69.144.94:9001' while fetching
 
"/tor/keys/fp/585769C78764D58426B8B52B6651A5A71137189A+80550987E1D626E3EBA5E5E75A458DE0626D088C".
 Apr 15 16:23:01.000 [notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 Apr 15 16:23:01.000 [notice] Bootstrapped 100%: Done

 (which i dont understand as i dont understand any UNIX or
 networking...anyway it seems that it should work but no browser is
 showing...)

 i am willing to help debugging if someone tell me what to do!

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-02-21 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by mcs):

 * cc: brade, mcs (added)


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-02-20 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-

Comment (by gk):

 `uname -n -S` gives 8192 for them.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-02-20 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
-+-
 Reporter:  cypherpunks  |  Owner:
 Type:  defect   | Status:
 |  needs_information
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:  Tor:
 |  0.2.9.6-rc
 Severity:  Normal   | Resolution:
 Keywords:  OSX Sierra setrlimit, tbb-wants  |  Actual Points:
Parent ID:   | Points:  2
 Reviewer:   |Sponsor:
-+-
Changes (by gk):

 * keywords:  OSX Sierra setrlimit => OSX Sierra setrlimit, tbb-wants
 * cc: gk (added)


Comment:

 FWIW: we've had an additional user on #tor reporting this problem
 yesterday.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-02-20 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
--+---
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  needs_information
 Priority:  Medium|  Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.6-rc
 Severity:  Normal| Resolution:
 Keywords:  OSX Sierra setrlimit  |  Actual Points:
Parent ID:| Points:  2
 Reviewer:|Sponsor:
--+---

Comment (by teor):

 Replying to [comment:5 jabu]:
 > Receiving this error on Sierra with default torrc in Tor 0.2.9.9 / Tor
 Browser 6.5. Have also tried other versions of Tor Browser (6.0 & 7.0a1)
 which still produce the error.
 >
 > The only solution is to run tor under sudo.
 >
 > I don't know much about debugging tor, would be happy to provide more
 information with instructions.

 Does the error happen if you start tor outside of Tor Browser:
 {{{
 /path/to/tor ORPort 0
 }}}

 It would be helpful to have info-level logs.
 To log at info level, start tor like this:
 {{{
 /path/to/tor ORPort 0 Log "info stderr"
 }}}
 Or, if the error only happens in Tor Browser, add this line to the default
 torrc:
 {{{
 Log info stderr
 }}}

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-02-20 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
--+---
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  needs_information
 Priority:  Medium|  Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.6-rc
 Severity:  Normal| Resolution:
 Keywords:  OSX Sierra setrlimit  |  Actual Points:
Parent ID:| Points:  2
 Reviewer:|Sponsor:
--+---

Comment (by jabu):

 Receiving this error on Sierra with default torrc in Tor 0.2.9.9 / Tor
 Browser 6.5. Have also tried other versions of Tor Browser (6.0 & 7.0a1)
 which still produce the error.

 The only solution is to run tor under sudo.

 I don't know much about debugging tor, would be happy to provide more
 information with instructions.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-01-30 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
--+---
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  needs_information
 Priority:  Medium|  Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.6-rc
 Severity:  Normal| Resolution:
 Keywords:  OSX Sierra setrlimit  |  Actual Points:
Parent ID:| Points:  2
 Reviewer:|Sponsor:
--+---
Changes (by nickm):

 * status:  new => needs_information
 * milestone:  Tor: 0.3.0.x-final => Tor: unspecified


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-01-22 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
--+
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.6-rc
 Severity:  Normal| Resolution:
 Keywords:  OSX Sierra setrlimit  |  Actual Points:
Parent ID:| Points:  2
 Reviewer:|Sponsor:
--+
Changes (by teor):

 * points:   => 2
 * milestone:  Tor: 0.2.9.x-final => Tor: 0.3.0.x-final


Comment:

 I have a Sierra install, and so does at least one other core tor
 developer.

 For what it's worth, I don't see this error with the default torrc in Tor
 Browser 6.0.8 / Tor 0.2.8.11 (git-31e7b47fbebe8caf).

 Do they need to set a particular ConnLimit value to trigger it?

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2017-01-22 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
--+
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.6-rc
 Severity:  Normal| Resolution:
 Keywords:  OSX Sierra setrlimit  |  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+

Comment (by arma):

 Do we have any OS X Sierra users who can confirm this, and/or try a patch
 if somebody wrote one?

 It looks like this ticket ended up in 0.2.9.x rather than 0.3.0.x, which
 means everybody who is working on making 0.3.0 go stable will ignore it.
 Maybe we should move it to 0.3.0.x then? :)

 See also #16274 which looks related but not the same.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2016-12-25 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
--+
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.6-rc
 Severity:  Normal| Resolution:
 Keywords:  OSX Sierra setrlimit  |  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by arma):

 * milestone:   => Tor: 0.2.9.x-final


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #21074 [Core Tor/Tor]: setrlimit fails OSX Sierra

2016-12-23 Thread Tor Bug Tracker & Wiki
#21074: setrlimit fails OSX Sierra
--+--
 Reporter:  cypherpunks   |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:  Tor: 0.2.9.6-rc
 Severity:  Normal|   Keywords:  OSX Sierra setrlimit
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+--
 User reported on Tor Stack Exchange that Tor Browser under their Sierra
 install was failing.

 It seems to be caused by a failed call to "setrlimit"

 {{{
 Dec 21 23:52:00.089 [notice] Tor 0.2.9.6-rc (git-a3e07633a45d5c16) running
 on Darwin with Libevent 2.0.22-stable, OpenSSL 1.0.2j and Zlib 1.2.8.
 Dec 21 23:52:00.090 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Dec 21 23:52:00.091 [notice] Read configuration file
 "/Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/torrc-
 defaults".
 Dec 21 23:52:00.092 [notice] Read configuration file
 "/Users/leomozoloa/Library/Application Support/TorBrowser-Data/Tor/torrc".
 Dec 21 23:52:00.106 [warn] Couldn't set maximum number of file
 descriptors: Invalid argument
 Dec 21 23:52:00.106 [warn] Failed to parse/validate config: Problem with
 ConnLimit value. See logs for details.
 Dec 21 23:52:00.106 [err] Reading config failed--see warnings above.
 }}}

 Note that the user *was* using the alpha but also gets the same result
 using the stable 6.0.8 release.

 I also noted that there have been issues with OSX and setrlimit before:
 
https://gitweb.torproject.org/tor.git/tree/src/common/compat.c?h=release-0.2.8#n1742
 {{{
   /* On some platforms, OPEN_MAX is the real limit, and getrlimit() is
* full of nasty lies.  I'm looking at you, OSX 10.5 */
 }}}

 The original stack exchange ticket can be seen here:
 https://tor.stackexchange.com/questions/13466/tor-unexpectedly-exited-
 cant-launch-tor-browser-at-all-anymore-for-no-
 apparent?noredirect=1#comment14480_13466

 I'm willing to ask the user for more information if required and a
 stackexchange login with 50+ rep isn't available.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs