https://llvm.org/bugs/show_bug.cgi?id=27563
Bug ID: 27563 Summary: crashlog.py leads to a segfault Product: lldb Version: unspecified Hardware: Macintosh OS: MacOS X Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-...@lists.llvm.org Reporter: antonio.frighe...@studenti.unitn.it CC: llvm-bugs@lists.llvm.org Classification: Unclassified Let's say a crash dump has an unspecified stack frame, like the following: 5 ??? 0x00007fff9a51076f objc_exception_throw + 432 Then, once set up lldb and imported crashlog.py script (alternatively via PYTHONPATH=/path/to/LLDB.framework/Resources/Python ./crashlog.py ~/Library/Logs/DiagnosticReports/a.crash), after being loaded, line 867: images = crash_log.find_images_with_identifier (ident) seems to lead to a segmentation fault. Tested on multiple crashes. Looks like as if a little fix may be as follows: ... for ident in crash_log.idents: if ident != "???": images = crash_log.find_images_with_identifier(ident) if images: ... Bye, Antonio. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs