LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 24674 - assertion failed and and abort trap
Summary: assertion failed and and abort trap
Status: RESOLVED FIXED
Alias: None
Product: clang
Classification: Unclassified
Component: -New Bugs (show other bugs)
Version: 3.7
Hardware: PC FreeBSD
: P normal
Assignee: Alexey Bataev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 04:27 PDT by Hannes Hauswedell
Modified: 2016-01-17 21:20 PST (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments
the log (10.22 KB, application/octet-stream)
2015-09-02 04:27 PDT, Hannes Hauswedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hannes Hauswedell 2015-09-02 04:27:20 PDT
Created attachment 14810 [details]
the log

With clang-3.7-rc3 and and clang-3.8-trunk I can't compile most SeqAn (bioinformatics template library) applications anymore:

Assertion failed: (Ty && "Invalid GetElementPtrInst indices for type!"), function checkGEPType, file /wrkdirs/usr/ports/devel/llvm37/work/llvm-3.7.0rc3.src/include/llvm/IR/Instructions.h, line 823.
clang-3.7: error: unable to execute command: Abort trap (core dumped)

clang-3.6.2 works fine. I have attached build log, sh and cpp.

Platform is FreeBSD 10.2 which means libc++. Also OpenMP is used. I cannot test on Linux right now, but I will try asap.
Comment 1 Hannes Hauswedell 2015-09-02 04:31:38 PDT
For size reasons the cpp and sh are here:
http://hannes.hauswedell.net/pub/lambda-a1e3b2.cpp.xz
http://hannes.hauswedell.net/pub/lambda-a1e3b2.sh
Comment 2 David Blaikie 2015-09-02 10:12:42 PDT
(In reply to comment #1)
> For size reasons the cpp and sh are here:
> http://hannes.hauswedell.net/pub/lambda-a1e3b2.cpp.xz
> http://hannes.hauswedell.net/pub/lambda-a1e3b2.sh

I'm getting 403 Forbidden responses on these.
Comment 3 Hannes Hauswedell 2015-09-03 04:20:34 PDT
> I'm getting 403 Forbidden responses on these.

Sorry about that. Should be fixed now.
Comment 4 Alexey Bataev 2015-09-04 06:26:44 PDT
Fixed in revision 246846.
Comment 5 Hannes Hauswedell 2015-09-07 07:51:38 PDT
Thanks a lot!
Comment 6 Hannes Hauswedell 2016-01-15 07:11:24 PST
Did this fix not make it into 3.7.1 ? I still get the same error..
[on 3.8 svn it builds fine]
Comment 7 Alexey Bataev 2016-01-17 21:20:43 PST
(In reply to comment #6)
> Did this fix not make it into 3.7.1 ? I still get the same error..
> [on 3.8 svn it builds fine]

No, I did not backported fix to 3.7.1.