<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - clang crashes"
href="https://llvm.org/bugs/show_bug.cgi?id=26671">26671</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang crashes
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>2.6
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++11
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nishantkumar05@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>$ clang --version
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
=========== COMPILER OUTPUT ==============
note: candidate function not viable: no known conversion from 'QUrl' to
'QString &' for 2nd argument
bool TestFunc(const MyInfo &info, QString &url);
^
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 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://developer.apple.com/bugreporter/">http://developer.apple.com/bugreporter/</a> and include the crash backtrace,
preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/fg/bg712h_x7kx4790t93c2rbddsxdww4/T/Session-2f7b3b.cpp
clang: note: diagnostic msg:
/var/folders/fg/bg712h_x7kx4790t93c2rbddsxdww4/T/Session-2f7b3b.sh
clang: note: diagnostic msg:
========== CRASH REPORT ================
Process: clang [68153]
Path:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
Identifier: clang
Version: 7.0.0 (700.1.76)
Code Type: X86-64 (Native)
Parent Process: clang [68152]
Responsible: Qt Creator [54044]
User ID: 1943466884
Date/Time: 2016-02-18 22:35:58.265 -0800
OS Version: Mac OS X 10.10.5 (14F1605)
Report Version: 11
Anonymous UUID: 44BA6E0E-36CE-EEE7-7033-45511AE02FEE
Sleep/Wake UUID: BF6346C4-B3AF-46D6-8513-1F3926E4D43E
Time Awake Since Boot: 210000 seconds
Time Since Wake: 12000 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000190
VM Regions Near 0x190:
-->
__TEXT 0000000100000000-0000000101da5000 [ 29.6M] r-x/rwx
SM=COW
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 clang 0x00000001000af029
clang::Sema::CorrectDelayedTyposInExpr(clang::Expr*,
llvm::function_ref<clang::ActionResult<clang::Expr*, true> (clang::Expr*)>) +
1689
1 clang 0x000000010012b034
clang::Sema::ActOnFinishFullExpr(clang::Expr*, clang::SourceLocation, bool,
bool, bool) + 196
2 clang 0x0000000100e40ba6
clang::Sema::ActOnExprStmt(clang::ActionResult<clang::Expr*, true>) + 54
3 clang 0x0000000100103031
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 593
4 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
5 clang 0x000000010010264c
clang::Parser::ParseCompoundStatementBody(bool) + 460
6 clang 0x000000010010316d
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 909
7 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
8 clang 0x000000010010264c
clang::Parser::ParseCompoundStatementBody(bool) + 460
9 clang 0x000000010010316d
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 909
10 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
11 clang 0x0000000100c88a24
clang::Parser::ParseIfStatement(clang::SourceLocation*) + 436
12 clang 0x00000001001033cb
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 1515
13 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
14 clang 0x000000010010264c
clang::Parser::ParseCompoundStatementBody(bool) + 460
15 clang 0x000000010010316d
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 909
16 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
17 clang 0x000000010010264c
clang::Parser::ParseCompoundStatementBody(bool) + 460
18 clang 0x000000010010316d
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 909
19 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
20 clang 0x0000000100c88a24
clang::Parser::ParseIfStatement(clang::SourceLocation*) + 436
21 clang 0x00000001001033cb
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 1515
22 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
23 clang 0x000000010010264c
clang::Parser::ParseCompoundStatementBody(bool) + 460
24 clang 0x000000010010316d
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 909
25 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
26 clang 0x0000000100c895bf
clang::Parser::ParseDoStatement() + 271
27 clang 0x00000001001034c6
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)
+ 1766
28 clang 0x0000000100102d3c
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*,
32u>&, bool, clang::SourceLocation*) + 124
29 clang 0x000000010010264c
clang::Parser::ParseCompoundStatementBody(bool) + 460
30 clang 0x0000000100102399
clang::Parser::ParseFunctionStatementBody(clang::Decl*,
clang::Parser::ParseScope&) + 105
31 clang 0x00000001000ff9ad
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&,
clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) +
2077
32 clang 0x0000000100075863
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, unsigned int,
clang::SourceLocation*, clang::Parser::ForRangeInit*) + 2131
33 clang 0x0000000100061dcf
clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier) + 223
34 clang 0x0000000100061bc2
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier) + 226
35 clang 0x000000010006136b
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 1787
36 clang 0x0000000100060b2f
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 287
37 clang 0x000000010004c435
clang::ParseAST(clang::Sema&, bool, bool) + 229
38 clang 0x000000010004b57e
clang::FrontendAction::Execute() + 62
39 clang 0x000000010002105c
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 556
40 clang 0x000000010001fb95
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 997
41 clang 0x0000000100a1435e
cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 734
42 clang 0x0000000100005651 main + 10945
43 libdyld.dylib 0x00007fff953f15c9 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000010 rbx: 0x0000000103021600 rcx: 0x0000000000000000
rdx: 0x000000010ca32c08
rdi: 0x00007fff5fbfa468 rsi: 0x000000010ca32c60 rbp: 0x00007fff5fbfa400
rsp: 0x00007fff5fbfa1d0
r8: 0x0000000000000001 r9: 0x0000000103005bb0 r10: 0x0000000102d0a600
r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000
r15: 0x000000010ca32390
rip: 0x00000001000af029 rfl: 0x0000000000010246 cr2: 0x0000000000000190
Logical CPU: 0
Error Code: 0x00000006
Trap Number: 14
Binary Images:
0x100000000 - 0x101da4fff +clang (7.0.0 - 700.1.76)
<A410EA64-5A63-3DC9-BA87-B901AA02B128>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
0x7fff68c95000 - 0x7fff68ccb887 dyld (353.2.3)
<D9967621-6378-381B-A47B-5085EE476B62> /usr/lib/dyld
0x7fff875db000 - 0x7fff875e1fff libsystem_trace.dylib (72.20.1)
<840F5301-B55A-3078-90B9-FEFFD6CD741A> /usr/lib/system/libsystem_trace.dylib
0x7fff87b65000 - 0x7fff87b65ff7 liblaunch.dylib (559.40.1)
<4F81CA3A-D2CE-3030-A89D-42F3DAD7BA8F> /usr/lib/system/liblaunch.dylib
0x7fff89a37000 - 0x7fff89a3ffff libsystem_dnssd.dylib (576.50.2)
<9EC5AF92-D0D2-3BDE-92B6-D3730D3865C8> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8a596000 - 0x7fff8a5b3fff libsystem_kernel.dylib (2782.50.1)
<1EE815DA-FF1B-3A53-AE9B-C98BD8177A9D> /usr/lib/system/libsystem_kernel.dylib
0x7fff8ac29000 - 0x7fff8ac3fff7 libsystem_asl.dylib (267)
<F153AC5B-0542-356E-88C8-20A62CA704E2> /usr/lib/system/libsystem_asl.dylib
0x7fff8afdd000 - 0x7fff8afdffff libsystem_sandbox.dylib (358.20.5)
<3F5E973F-C702-31AC-97BC-05F5C195683C> /usr/lib/system/libsystem_sandbox.dylib
0x7fff8b0a8000 - 0x7fff8b0a9ff3 libSystem.B.dylib (1213)
<1866C519-C5F3-3D09-8C17-A8F703664521> /usr/lib/libSystem.B.dylib
0x7fff8d246000 - 0x7fff8d24effb libcopyfile.dylib (118.1.2)
<0C68D3A6-ACDD-3EF3-991A-CC82C32AB836> /usr/lib/system/libcopyfile.dylib
0x7fff8e0a2000 - 0x7fff8e0b3ff3 libsystem_coretls.dylib (35.40.1)
<155DA0A9-2046-332E-BFA3-D7974A51F731> /usr/lib/system/libsystem_coretls.dylib
0x7fff8e3cc000 - 0x7fff8e3f6ff7 libdispatch.dylib (442.50.1)
<A61E703C-784A-3698-B513-75DD12AAD6DC> /usr/lib/system/libdispatch.dylib
0x7fff8e530000 - 0x7fff8e560ff7 libncurses.5.4.dylib (44)
<F09809A4-53B9-3E91-A8FA-D3F584C03AA3> /usr/lib/libncurses.5.4.dylib
0x7fff8ecc6000 - 0x7fff8ecc8ff7 libsystem_coreservices.dylib (9)
<41B7C578-5A53-31C8-A96F-C73E030B0938>
/usr/lib/system/libsystem_coreservices.dylib
0x7fff8f10d000 - 0x7fff8f116fff libsystem_pthread.dylib (105.40.1)
<ACE90967-ECD0-3251-AEEB-461E3C6414F7> /usr/lib/system/libsystem_pthread.dylib
0x7fff8f12b000 - 0x7fff8f133fff libsystem_platform.dylib (63)
<64E34079-D712-3D66-9CE2-418624A5C040> /usr/lib/system/libsystem_platform.dylib
0x7fff8f1b4000 - 0x7fff8f1baff7 libsystem_networkextension.dylib
(167.40.3) <BA58B30B-8377-3B0A-8AE3-4F84021D9D4E>
/usr/lib/system/libsystem_networkextension.dylib
0x7fff8f1e7000 - 0x7fff8f23bfff libc++.1.dylib (120)
<1B9530FD-989B-3174-BB1C-BDC159501710> /usr/lib/libc++.1.dylib
0x7fff8f7b1000 - 0x7fff8f7baff7 libsystem_notify.dylib (133.1.1)
<61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib
0x7fff8f81f000 - 0x7fff8f83bff7 libsystem_malloc.dylib (53.30.1)
<DDA8928B-CC0D-3255-BD8A-3FEA0982B890> /usr/lib/system/libsystem_malloc.dylib
0x7fff8f83c000 - 0x7fff8f841fff libsystem_stats.dylib (163.30.2)
<D0E96837-3CF6-323D-B711-6DF6F660E530> /usr/lib/system/libsystem_stats.dylib
0x7fff90336000 - 0x7fff903affe7 libcorecrypto.dylib (233.30.1)
<5779FFA0-4D9A-3AD4-B7F2-618227621DC8> /usr/lib/system/libcorecrypto.dylib
0x7fff904ef000 - 0x7fff904f4ff7 libmacho.dylib (862)
<126CA2ED-DE91-308F-8881-B9DAEC3C63B6> /usr/lib/system/libmacho.dylib
0x7fff91e37000 - 0x7fff91e7dff7 libauto.dylib (186)
<A260789B-D4D8-316A-9490-254767B8A5F1> /usr/lib/libauto.dylib
0x7fff91e91000 - 0x7fff91ec9fff libsystem_network.dylib (412.20.3)
<6105C134-6722-3C0A-A4CE-5E1261E2E1CC> /usr/lib/system/libsystem_network.dylib
0x7fff920b7000 - 0x7fff920b8ffb libremovefile.dylib (35)
<3485B5F4-6CE8-3C62-8DFD-8736ED6E8531> /usr/lib/system/libremovefile.dylib
0x7fff92138000 - 0x7fff921c4fff libsystem_c.dylib (1044.40.2)
<69158EFA-8270-30A1-BA02-4F74A4498147> /usr/lib/system/libsystem_c.dylib
0x7fff92744000 - 0x7fff9274bff7 libcompiler_rt.dylib (35)
<BF8FC133-EE10-3DA6-9B90-92039E28678F> /usr/lib/system/libcompiler_rt.dylib
0x7fff92c8a000 - 0x7fff92c8fff7 libunwind.dylib (35.3)
<BE7E51A0-B6EA-3A54-9CCA-9D88F683A6D6> /usr/lib/system/libunwind.dylib
0x7fff93a42000 - 0x7fff93a43ff7 libsystem_blocks.dylib (65)
<9615D10A-FCA7-3BE4-AA1A-1B195DACE1A1> /usr/lib/system/libsystem_blocks.dylib
0x7fff93b9a000 - 0x7fff93b9bfff libsystem_secinit.dylib (18)
<581DAD0F-6B63-3A48-B63B-917AF799ABAA> /usr/lib/system/libsystem_secinit.dylib
0x7fff9487f000 - 0x7fff94a7946f libobjc.A.dylib (647)
<759E155D-BC42-3D4E-869B-6F57D477177C> /usr/lib/libobjc.A.dylib
0x7fff95341000 - 0x7fff95345fff libcache.dylib (69)
<45E9A2E7-99C4-36B2-BEE3-0C4E11614AD1> /usr/lib/system/libcache.dylib
0x7fff953ee000 - 0x7fff953f1ff7 libdyld.dylib (353.2.3)
<CFBBE540-D503-3AFC-B5D6-644F1E69949B> /usr/lib/system/libdyld.dylib
0x7fff954c3000 - 0x7fff954c4fff libDiagnosticMessagesClient.dylib
(100) <2EE8E436-5CDC-34C5-9959-5BA218D507FB>
/usr/lib/libDiagnosticMessagesClient.dylib
0x7fff95826000 - 0x7fff95831fff libcommonCrypto.dylib (60061.30.1)
<E789748D-F9A7-3CFF-B317-90DF348B1E95> /usr/lib/system/libcommonCrypto.dylib
0x7fff95832000 - 0x7fff95832ff7 libkeymgr.dylib (28)
<77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
0x7fff95967000 - 0x7fff95969fff libsystem_configuration.dylib
(699.40.2) <56F94DCE-DBDE-3615-8F07-DE6270D9F8BE>
/usr/lib/system/libsystem_configuration.dylib
0x7fff95a3f000 - 0x7fff95a67fff libxpc.dylib (559.40.1)
<5C829202-962E-3744-8B50-00D38CC88E84> /usr/lib/system/libxpc.dylib
0x7fff95f7b000 - 0x7fff95fa6fff libc++abi.dylib (125)
<88A22A0F-87C6-3002-BFBA-AC0F2808B8B9> /usr/lib/libc++abi.dylib
0x7fff96126000 - 0x7fff9614efff libsystem_info.dylib (459.40.1)
<2E16C4B3-A327-3957-9C41-143911979A1E> /usr/lib/system/libsystem_info.dylib
0x7fff964ed000 - 0x7fff964edff7 libunc.dylib (29)
<5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
0x7fff96703000 - 0x7fff96705fff libquarantine.dylib (76.20.1)
<7AF90041-2768-378A-925A-D83161863642> /usr/lib/system/libquarantine.dylib
0x7fff96706000 - 0x7fff96736fff libsystem_m.dylib (3086.1)
<1E12AB45-6D96-36D0-A226-F24D9FB0D9D6> /usr/lib/system/libsystem_m.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 171990
thread_create: 0
thread_set_state: 382
VM Region Summary:
ReadOnly portion of Libraries: Total=111.3M resident=60.4M(54%)
swapped_out_or_unallocated=50.9M(46%)
Writable regions: Total=224.9M written=109.3M(49%) resident=113.9M(51%)
swapped_out=0K(0%) unallocated=111.0M(49%)
REGION TYPE VIRTUAL
=========== =======
Kernel Alloc Once 4K
MALLOC 160.6M
MALLOC (admin) 16K
STACK GUARD 4K
Stack 64.0M
VM_ALLOCATE 8K
__DATA 2440K
__LINKEDIT 75.6M
__TEXT 35.7M
mapped file 8484K
shared memory 4K
=========== =======
TOTAL 346.6M
Model: MacBookPro11,3, BootROM MBP112.0138.B16, 4 processors, Intel Core i7,
2.6 GHz, 16 GB, SMC 2.19f12
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Graphics: NVIDIA GeForce GT 750M, NVIDIA GeForce GT 750M, PCIe, 2048 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD,
0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD,
0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x134), Broadcom
BCM43xx 1.0 (7.15.166.24.3)
Bluetooth: Version 4.3.6f3 16238, 3 services, 27 devices, 1 incoming serial
ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512F, 500.28 GB
USB Device: Internal Memory Card Reader
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>