<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 --- - Assertion: "Insufficient alignment"=" in IntervalMap.h:1045 in 32-bit MSVC builds" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24113&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=XJCg8tLn81ecQLirUnKYi_sUY3QwCpHeIgecj6nceFM&s=ju1QMJguxI3IAiStglkxcSfwJ3R1s-GzzGxSOXkKfvk&e=">24113</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion: "Insufficient alignment"=" in IntervalMap.h:1045 in 32-bit MSVC builds
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>Object
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hans@chromium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>bigcheesegs@gmail.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>In a VS2013 x86 shell:
ninja bin\llvm-nm.exe
bin\llvm-nm ..\test\Object\Inputs\corrupt-archive.a
Assertion failed: (uintptr_t(data.buffer) & (alignOf<RootLeaf>() - 1)) == 0 &&
"Insufficient alignment", file ..\include\llvm/ADT/IntervalMap.h, line 1045
0x0052E7A7 (0x00000016 0x6DB58356 0x6DB57CBD 0x017E7EB8)
0x6DB5764E (0x00B718F0 0x00B71048 0x00000415 0x0166F64C), abort() + 0x10
bytes(s)
0x0050E7BB (0x017E50A6 0x017E52A6 0x017E5259 0x0000004B)
It reproduces for me ~50% of the time. The other times, the test passes.
Adding printfs shows that the alignment of RootLeaf is 8, but data.buffer is
for example 00B6F63C .
I think this started with r241869. Maybe that's the first time we're putting an
InterValMap on the stack?</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>