[LLVMbugs] [Bug 23775] New: Segfault when using wrong macros in printf

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 6 06:28:52 PDT 2015


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

            Bug ID: 23775
           Summary: Segfault when using wrong macros in printf
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: laochailan at web.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 14441
  --> https://llvm.org/bugs/attachment.cgi?id=14441&action=edit
backtrace appearing after the printf error message is printed.

I stumbled on this segfault while programming. I do not know if it is really
related to the frontend.


Steps to Reproduce:

1) Attempt building the source code

2) clang crashes

3) Remove the  printf in line 31498 and there is no segfault.


Build Date & Platform:

Arch Linux

$ clang --version
clang version 3.6.1 (tags/RELEASE_361/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
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/20150606/f73cc577/attachment.html>


More information about the llvm-bugs mailing list