Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Clang crashes with a std::bad_alloc exception #29001

Open Quuxplusone opened 8 years ago

Quuxplusone commented 8 years ago
Bugzilla Link PR29006
Status NEW
Importance P release blocker
Reported by Markus Breyer (markus@agoglabs.com)
Reported on 2016-08-16 13:50:08 -0700
Last modified on 2018-12-26 13:04:55 -0800
Version 3.8
Hardware PC Windows NT
CC dgregor@apple.com, llvm-bugs@lists.llvm.org, yuanfang.chen@sony.com
Fixed by commit(s)
Attachments Clang-3.8.243773-crash-test-case .zip (4551106 bytes, application/x-zip-compressed)
Blocks
Blocked by
See also
Created attachment 16968
Command line and cpp file causing Clang 3.8.243773 to crash

When compiling generated C++ binding code for our SkookumScript plugin for
Unreal Engine 4 using Android Codeworks 1R4u2 (which ships with Clang
3.8.243773), Clang crashes throwing a std::bad_alloc exception. I am enclosing
the generated test case code hoping you can reproduce the crash.

The same source code compiles fine with Clang 3.6, and also with Visual Studio
2015, so I am suspecting this is due to changes introduced between Clang 3.6
and 3.8.243773.
Quuxplusone commented 8 years ago

Attached Clang-3.8.243773-crash-test-case .zip (4551106 bytes, application/x-zip-compressed): Command line and cpp file causing Clang 3.8.243773 to crash