<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 --- - orph_test_omp_parallel_copyin from OpenMP3.1 Validation test suite segfaults when built with current 3.8svn"
href="https://llvm.org/bugs/show_bug.cgi?id=25820">25820</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>orph_test_omp_parallel_copyin from OpenMP3.1 Validation test suite segfaults when built with current 3.8svn
</td>
</tr>
<tr>
<th>Product</th>
<td>OpenMP
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>Clang Compiler Support
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>howarth.mailing.lists@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The orph_test_omp_parallel_copyin test case from the OpenMP3.1 Validation test
suite segfaults when built with current 3.8svn compiler on
x86_64-apple-darwin15.
Jacks-Mac-Pro:c howarth$ clang-3.8 -fopenmp -O0 -g
orph_test_omp_parallel_copyin.c -o orph_test_omp_parallel_copyin
Jacks-Mac-Pro:c howarth$ lldb ./orph_test_omp_parallel_copyin
(lldb) target create "./orph_test_omp_parallel_copyin"
Current executable set to './orph_test_omp_parallel_copyin' (x86_64).
(lldb) r
Process 38235 launched: './orph_test_omp_parallel_copyin' (x86_64)
######## OpenMP Validation Suite V 3.0a ######
## Repetitions: 20 ####
## Loop Count : 1000 ####
##############################################
Testing omp parallel copyin
Process 38235 stopped
* thread #1: tid = 0x17a2d4, 0x00007fff9ae780a5
libsystem_c.dylib`flockfile + 4, queue = 'com.apple.main-thread', stop
reason = EXC_BAD_ACCESS (code=1, address=0x68)
frame #0: 0x00007fff9ae780a5 libsystem_c.dylib`flockfile + 4
libsystem_c.dylib`flockfile:
-> 0x7fff9ae780a5 <+4>: movq 0x68(%rdi), %rdi
0x7fff9ae780a9 <+8>: addq $0x8, %rdi
0x7fff9ae780ad <+12>: popq %rbp
0x7fff9ae780ae <+13>: jmp 0x7fff9aec1452 ; symbol
stub for: pthread_mutex_lock
This is the only regression observed in the ctest run of that test suite. The
issue occurs at all optimization levels.</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>