[LLVMbugs] [Bug 22660] New: Crash when accessing files through a symlink
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Feb 21 23:30:20 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22660
Bug ID: 22660
Summary: Crash when accessing files through a symlink
Product: clang
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: manu.n01 at laposte.net
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I get something like this :
==============
1. /Users/manu/Documents/Sources/MacLibPc/H/Std/../Sdl/System.h:357:2:
current parser token ';'
2. /Users/manu/Documents/Sources/MacLibPc/H/Std/../Sdl/System.h:267:1:
parsing struct/union/class body 'CSystem'
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: i386-apple-darwin13.4.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash backtrace,
preprocessed source, and associated run script.
clang: error: unable to execute command: Segmentation fault: 11
clang: note: diagnostic msg: Error generating preprocessed source(s).
Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
failed with exit code 254
==============
when I tried to compile a source file through a symlink, and/or if its header
file is accessed through a symlink.
When the header is in accessed through a symlink, the crash report starts at :
"clang: error: unable to execute command: Segmentation fault: 11" (ie: no line
error reported)
The symlink is created with the following command :
ln -s /Users/manu/Documents/Sources/MacLibPc/
/Users/manu/Documents/Sources/SymLibPc
--
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/20150222/bdf9eb31/attachment.html>
More information about the llvm-bugs
mailing list