[lldb-dev] Attaching to a stopped (cored) process hangs lldb-server

Mark Chandler via lldb-dev lldb-dev at lists.llvm.org
Wed Nov 4 10:05:24 PST 2015


The problem becomes when the core data on stdin is gigabytes in size and there is little to no diskspace or memory (as the process is still around) to store/process the data.


Mark Chandler
Battle.Net Engineering Systems | Blizzard Entertainment
(P) 949-955-1380 x15353

-----Original Message-----
From: Greg Clayton [mailto:gclayton at apple.com] 
Sent: Wednesday, November 04, 2015 10:01 AM
To: Todd Fiala <todd.fiala at gmail.com>
Cc: Mark Chandler <mchandler at blizzard.com>; Pavel Labath <labath at google.com>; lldb-dev at lists.llvm.org
Subject: Re: [lldb-dev] Attaching to a stopped (cored) process hangs lldb-server


> On Nov 4, 2015, at 9:47 AM, Todd Fiala <todd.fiala at gmail.com> wrote:
> 
> Although doing any kind of waitpid() in the case of a core file doesn't make sense.

The process is still around. The process is being handed the core file via STDIN, but the process is still around and this tool is attaching to that process and ignoring the core file data. I would vote to use the core file data if the tool is checked in, or at least provide an option to either attach to the process or use the core file data...

Greg


More information about the lldb-dev mailing list