[Bug 25123] New: process detach kills the process (e.g. php)

Bug ID 25123
Summary process detach kills the process (e.g. php)
Product lldb
Version 3.7
Hardware All
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter kenorb@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Here is reproducible test:


    php -r "sleep(1000);"

In another terminal, run:

    echo process detach | lldb -p $(pgrep -fn php)

Sometimes it kills it after 2nd run. This doesn't happens in gdb, e.g.: echo
detach | gdb -p $(pgrep -fn php)

labath@google.com changed bug 25123

What | Removed | Added |

Comment # 1 on bug 25123 from labath@google.com

This seems to work for me on the master branch. There were some recent changes
in how detach works, which may have fixed this. Could you try building the
master branch and check if you still experience the problem there?