Closed
Description
There's another bug in LLDB that causes it to segfault when reading archive files. This one has already been fixed in May (llvm-mirror/lldb@e7e7a50) but it still exists in a lot of LLDB binaries out there.
As far as I can tell, the bug occurs when a number of object files are stored in an archive and the last one ends at an uneven byte offset. This often seems to be the case for compressed byte-code archives in rlibs (maybe regular object files are always padded to an even size?).
I'm currently compiling a possible workaround (pad the bytecode objects to an even size). It would be good if we could allow for rust code to be debugged with older LLDB versions too.