[llvm-bugs] [Bug 39948] New: Segmentation Fault in clang and clang++ due to reading a large file

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 10 23:30:04 PST 2018


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

            Bug ID: 39948
           Summary: Segmentation Fault in clang and clang++ due to reading
                    a large file
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: liyun at nyu.edu
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 21211
  --> https://bugs.llvm.org/attachment.cgi?id=21211&action=edit
Crash Trace

- Environment

I am running a Ubuntu 32-bit VM on VMWare. 

- Reproduction Steps

1. Create a very large file with the extension ".c". Mine was about 25G with
10G left on device and I did this by doing `cat /dev/urandom > bigfile.c`.
2. clang bigfile.c # where it went wrong

Same issue with clang++

-- 
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/20181211/564db7a1/attachment.html>


More information about the llvm-bugs mailing list