[llvm-bugs] [Bug 40856] New: Dia2dump dies with stackoverflow on pdbs generated by lld r351376

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 25 14:47:06 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40856

            Bug ID: 40856
           Summary: Dia2dump dies with stackoverflow on pdbs generated by
                    lld r351376
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: santagada at gmail.com
                CC: llvm-bugs at lists.llvm.org

Hi,

I used lld snapshot r351376 to link itself and it produced a pdb that when
enumerating all symbols crashes dia2dump. It goes over some of the symbols and
then dies in a recursion:

        msdia140.dll!getPtrData()       Unknown
        msdia140.dll!TypeDispatcher::TypeDispatch(unsigned char *,class
TypeDispatcher *)       Unknown
        msdia140.dll!GetData::getTypeData(unsigned long,struct SymRowImage
*,unsigned long *)   Unknown
        msdia140.dll!CTypeIdTrav::get(class CSymRow &)  Unknown
        msdia140.dll!CDiaSession::ReturnOneObject<class CDiaSymbol,class
CSymRow,struct IDiaSymbol>(class CDiaSymbol *,class CTraversal<class CSymRow>
*,struct IDiaSymbol * *) Unknown
        msdia140.dll!CDiaSession::getSymbol(struct SYMBOL_ID_INTERNAL *,struct
IDiaSymbol * *)  Unknown
        msdia140.dll!CDiaSymbol::get_type(struct IDiaSymbol * *)        Unknown
        msdia140.dll!SymbolNameBuilder::AppendPointerTypeName(struct IDiaSymbol
*)      Unknown
        msdia140.dll!SymbolNameBuilder::AppendTypeName(struct IDiaSymbol *)    
Unknown
        msdia140.dll!SymbolNameBuilder::AppendPointerTypeName(struct IDiaSymbol
*)      Unknown
        msdia140.dll!SymbolNameBuilder::AppendTypeName(struct IDiaSymbol *)    
Unknown
        msdia140.dll!SymbolNameBuilder::AppendPointerTypeName(struct IDiaSymbol
*)      Unknown
        msdia140.dll!SymbolNameBuilder::AppendTypeName(struct IDiaSymbol *)    
Unknown
        msdia140.dll!SymbolNameBuilder::AppendPointerTypeName(struct IDiaSymbol
*)      Unknown
        msdia140.dll!SymbolNameBuilder::AppendTypeName(struct IDiaSymbol *)    
Unknown
        msdia140.dll!SymbolNameBuilder::AppendPointerTypeName(struct IDiaSymbol
*)      Unknown
        msdia140.dll!SymbolNameBuilder::AppendTypeName(struct IDiaSymbol *)    
Unknown
        msdia140.dll!SymbolNameBuilder::AppendPointerTypeName(struct IDiaSymbol
*)      Unknown

Here is a link to the generated binary and pdb:
https://we.tl/t-56BBkXpEhN

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190225/1b8f427b/attachment.html>


More information about the llvm-bugs mailing list