[llvm-bugs] [Bug 28757] New: Preserveall Calling convention breaks libunwind stack walking

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 28 13:54:33 PDT 2016


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

            Bug ID: 28757
           Summary: Preserveall Calling convention breaks libunwind stack
                    walking
           Product: new-bugs
           Version: 3.9
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: alkyte at microsoft.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The mono project has found that when the calling convention is set to
preserveall on linux, the stack is corrupted in such a way that new frames
appear in a stacktrace. These frames have ip addresses which are usually not in
any mapped memory range. This causes libgcc's exception handling unwinder to
abort stack walking upon hitting the garbage frame.

-- 
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/20160728/eb4cfd52/attachment.html>


More information about the llvm-bugs mailing list