Re: [lldb-dev] Can't debug with a -g compiled binary as a non-root user on OS X 10.11 El Capitan

2015-10-02 Thread Tony Perrie via lldb-dev
The lldb I'm using is from XCode 7.0.1. I can debug my binary if I run lldb as root. I eventually figured out my actual bug from log messages without lldb. Turns out, Mac OS X 10.11 El Capitan doesn't allow the root user to deploy binaries to /usr/bin which our installer does so that our binar

Re: [lldb-dev] Can't debug with a -g compiled binary as a non-root user on OS X 10.11 El Capitan

2015-10-02 Thread Jason Molenda via lldb-dev
The fact that it doesn't work as root makes it less likely it's an unsigned debugserver / missigned debugserver issue. You can run an unsigned / mis-signed lldb as root and it will still work on os x 10.11, as well as a signed one run by a user account. Is the binary you're running under the d

Re: [lldb-dev] TestAttachDenied - timing out

2015-10-02 Thread Todd Fiala via lldb-dev
Thanks, Oleksiy! On Tue, Sep 29, 2015 at 5:08 PM, Oleksiy Vyalov wrote: > Test used to be flaky from time to time but in > http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/6802 > it failed consistently for all configurations - that's pretty suspicious. > Test inferior wri

Re: [lldb-dev] Can't debug with a -g compiled binary as a non-root user on OS X 10.11 El Capitan

2015-10-02 Thread Jason Molenda via lldb-dev
Hi Tony. There are new security mechanisms in Mac OS X 10.11 El Capitan, called System Integrity Protection, but I don't recognize this failure mode. Try a stripped down example, like $ echo 'int main () { }' > /tmp/a.c $ xcrun clang /tmp/a.c -o /tmp/a.out $ xcrun lldb /tmp/a.out (lldb) br s -

Re: [lldb-dev] Can't debug with a -g compiled binary as a non-root user on OS X 10.11 El Capitan

2015-10-02 Thread Todd Fiala via lldb-dev
Hi Tony, This is the right list. Are you using an LLDB that you built locally? If so, can you move aside the debugserver that you find somewhere under in your LLDB.framework bundle directory, and make a symlink to the debugserver that comes out of your /Applications/Xcode.app bundle? Your offic

Re: [lldb-dev] Too many open files

2015-10-02 Thread Todd Fiala via lldb-dev
(swapped out the lldb list for the newer one) On Fri, Oct 2, 2015 at 5:37 PM, Todd Fiala wrote: > Hmm, sounds suspicious. > > Can you try running the tests with two options and see if you get > different results? > > # should be equivalent for the default on Windows, thus should match your > abo

[lldb-dev] Can't debug with a -g compiled binary as a non-root user on OS X 10.11 El Capitan

2015-10-02 Thread Tony Perrie via lldb-dev
I can only seem to debug our binary as the root user om 10.11. I rebooted at one point, and lldb did work briefly with a system user but then after the machine ran for a bit, it proceeded to not work again. Rebooted again, and again, lldb failes with this error... lldb /opt/aspera/bin/ascp (lldb