[lldb-dev] Process 45245 exited with status = -1 (0xffffffff) debugserver died with an exit status of 0x00000000

2019-04-04 Thread Steve Ravet via lldb-dev
lldb developers, I am having a problem with lldb that I hope you can help with. I am debugging some C++ by running it, and attaching to the process with lldb. I get a nonsensical backtrace like this: thread #37, name = 'xmsim', stop reason = signal SIGSTOP frame #0: 0x2b96a2ab1409 thre

Re: [lldb-dev] [llvm-dev] lldb stops on every call to dlopen

2018-04-18 Thread Steve Ravet via lldb-dev
Hi Pavel, Eugene, here is a testcase that demonstrates the problem. The code that sets up sigalrm in main() is the same as the program I have been debugging except that I’ve reduced the interval in this testcase. In the original, as per the comment, the interval is .8 seconds. When I run this

Re: [lldb-dev] [llvm-dev] lldb stops on every call to dlopen

2018-04-17 Thread Steve Ravet via lldb-dev
Ding! That’s it. This program does use SIGALRM. I wouldn’t have thought it would be enabled at this point, but apparently it is because I got lots of sigalarm halts during the .so loading. Further, if I run in lldb with process handle -n false -p false -s false SIGALRM then the debugger se

Re: [lldb-dev] [llvm-dev] lldb stops on every call to dlopen

2018-04-17 Thread Steve Ravet via lldb-dev
Pavel asked for a dump of gdb-remote commands.  I got that and ran it through the gdbremote decoder, and trimmed to include what looks like the last successful continue after breakpoint and then the halt on dlopen.  Both cases stop on signal 5.After the stop message the debugger issues two binary r