> On Dec 26, 2015, at 3:53 AM, Andre Vergison via lldb-dev 
> <lldb-dev@lists.llvm.org> wrote:
> 

> I tried the above because in fact I had a process which a segmentation fault 
> 11, here’s what lldb makes out of the core dump:
>  
> txt$ lldb /cores/core.33158
> (lldb) target create "/cores/core.33158"
> warning: (x86_64) /cores/core.33158 load command 175 LC_SEGMENT_64 has a 
> fileoff
>  + filesize (0x31c57000) that extends beyond the end of the file 
> (0x31c56000), t
> he segment will be truncated to match
> warning: (x86_64) /cores/core.33158 load command 176 LC_SEGMENT_64 has a 
> fileoff
>  (0x31c57000) that extends beyond the end of the file (0x31c56000), ignoring 
> thi
> s section
> Current executable set to '/cores/core.33158' (x86_64).
> (lldb)


For what it's worth, this is often a harmless warning message when debugging a 
user process core dump.  The core creator code in the kernel adds an extra 
memory segment to the core file when it writes it out.  There's a bug report 
tracking the issue but it's pretty much cosmetic so it hasn't been addressed 
yet.  Try debugging your core file and see if it works.  You may want to 
specify the name of your binary on the lldb cmd line like 'lldb a.out -c 
/tmp/core.33158'.

J

_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to