[llvm-bugs] [Bug 25046] SBProcess::Stop stops only the main thread, not all threads

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 6 01:04:38 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25046

labath at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from labath at google.com ---
I'm glad you were able to get this working. I am going to mark this fixed as
the original issue was resolved. For the other issues you mention, I would
suggest filing separate bugs.

> 1) SBDebugger::CreateTargetWithFileAndArch returns invalid target, so I use SBDebugger::CreateTarget
Sounds simple enough to fix. Having repro steps would help.

> 2) SBThread::ReturnFromFrame doesn't set return value (probably still not enabled in LLDB source)
I thought this should be working. Please put repro steps in the report.

> 3) When I try to read from stdin in the debugger program, it crashes on SIGSEV (invalid address 0x0). I use FIFOs to communicate with the program, it was the only way that I could get realtime stdio communication in lldb-3.6 (PutSTDIN was duplicating the input to stdout and I didn't want that). It also crashes when I pass None for stdin/out/err and use the default pseudo-terminal.

This also sounds like a bug. Having a backtrace of the crash would help.

Also, as Greg pointed out elsewhere, you can probably get rid of the
duplication by disabling the terminal echo.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151006/453b0ccb/attachment.html>


More information about the llvm-bugs mailing list