[Bug 19245] New: LLDB commits suicide after failing launch a process twice.

Bug ID 19245
Summary LLDB commits suicide after failing launch a process twice.
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter piotr.rak@gmail.com
Classification Unclassified

Steps to reproduce:

# Please note printf is shell builtin here

(lldb) file printf
Current executable set to 'printf' (x86_64).
(lldb) process launch 'hello'
error: process launch failed: Child exec failed.
(lldb) process launch 'hello'
There is a running process, kill it and restart?: [Y/n] Y
zsh: killed     ./lldb

Expected result would be failing on first command 'file'

But it uncovers that there are possibly some other problems with process state
tracking.

x86_64 host, linux
lldb version trunk@204667 but could reproduce it with earlier revisions.

labath@google.com changed bug 19245

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    CC | | labath@google.com |
    Resolution | — | FIXED |

Comment # 4 on bug 19245 from labath@google.com

works now.