Bug 220233 - Clang: Assertion failed: (NextLocalOffset + FileSize + 1 > NextLocalOffset && NextLocalOffset + FileSize + 1 <= CurrentLoadedOffset && "Ran out of source locations!")
Summary: Clang: Assertion failed: (NextLocalOffset + FileSize + 1 > NextLocalOffset &&...
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Bugmeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-23 22:26 UTC by Saman H. Pasha
Modified: 2025-01-21 21:49 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saman H. Pasha 2017-06-23 22:26:33 UTC
Assertion failed: (NextLocalOffset + FileSize + 1 > NextLocalOffset && NextLocalOffset + FileSize + 1 <= CurrentLoadedOffset && "Ran out of source locations!"), function createFileID, file /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp, line 576.
c++: error: unable to execute command: Abort trap
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
c++: error: unable to execute command: Abort trap
c++: note: diagnostic msg: Error generating preprocessed source(s).
 at line 1 column 6 near 'CALLER'
Abort
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2017-06-24 00:47:41 UTC
I guess the machine is running out of memory? How do you reproduce this?
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2025-01-21 21:49:27 UTC
^Triage: I'm sorry that this PR did not get addressed in a timely fashion.

By now, the version that it was created against is long out of support.
As well, many newer versions of clang have been imported.

Please re-open if it is still a problem on a supported version.