[llvm-bugs] [Bug 31371] New: crash handler does not find pdb when built with /PDBALTPATH:%_PDB%

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 14 06:53:54 PST 2016


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

            Bug ID: 31371
           Summary: crash handler does not find pdb when built with
                    /PDBALTPATH:%_PDB%
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: trass3r at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

When clang is built with /PDBALTPATH:%_PDB% a relative pdb path is inserted
into the executable (i.e. just "clang.pdb").

Then it only prints:

Assertion failed: ....
Wrote crash dump file "xxxx.dmp"
#0 0x0000000140b30d95 (clang.exe+0xb90d95)
#1 0x00000001421d547e (clang.exe+0x223547e)
...

No stacktrace like without the option:

0x0000000140148A75 (0x0000000142573720 0x0000000000B2BAF4 0x0000000000B2B898
0x00000001417F2C7B), HandleAbort() + 0x5 bytes(s),
lib\support\windows\signals.inc, line 404
0x00000001417F301E (0x0000000000B2BD01 0x0000000100000000 0x0000000100000000
0x0000000000000000), raise() + 0x25E bytes(s),
d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp, line 516 + 0x5 byte(s)
0x00000001417E038C (0x0000000000070000 0x0000000000B2BF01 0x00000001422DECD0
0x00000001422B3730), abort() + 0x18 bytes(s),
d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp, line 71
0x00000001417DFDF4 (0xFFFFFFFFFFFFFFFF 0xFFFFFFFFFFFFFFFF 0xFFFFFFFFFFFFFFFF
0x0000000076F20996), common_assert_to_stderr<wchar_t>() + 0xC8 bytes(s),
d:\th\minkernel\crts\ucrt\src\appcrt\startup\assert.cpp, line 138 + 0x84
byte(s)
0x00000001417DFF16 (0x000000000015C4E8 0x0000000000B2BF30 0x0000000000151470
0x0000000000000000), _wassert() + 0x72 bytes(s),
d:\th\minkernel\crts\ucrt\src\appcrt\startup\assert.cpp, line 404 + 0x13
byte(s)

......

-- 
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/20161214/62968847/attachment.html>


More information about the llvm-bugs mailing list