<html>
<head>
<base href="http://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 --- - test_step_out_of_malloc_into_function_b_with_dwarf (TestThreadAPI.ThreadAPITestCase) fails with FreeBSD malloc"
href="http://llvm.org/bugs/show_bug.cgi?id=17944">17944</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>test_step_out_of_malloc_into_function_b_with_dwarf (TestThreadAPI.ThreadAPITestCase) fails with FreeBSD malloc
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</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>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emaste@freebsd.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Reproducing manually:
(lldb) b malloc
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) run
Process 64844 launched: '../tools/lldb/test/python_api/thread/a.out' (x86_64)
1 location added to breakpoint 1
Process 64844 stopped
* thread #1: tid = 100740, 0x0000000800dda809 libc.so.7`malloc [inlined]
malloc_init at malloc.c:5397, stop reason = breakpoint 1.1
frame #0: 0x0000000800dda809 libc.so.7`malloc [inlined] malloc_init at
malloc.c:5397
5394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
Process 64844 stopped
* thread #1: tid = 100740, 0x0000000800dda809 libc.so.7`malloc [inlined]
malloc_init at malloc.c:5397, stop reason = breakpoint 1.1
frame #0: 0x0000000800dda809 libc.so.7`malloc [inlined] malloc_init at
malloc.c:5397
5394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
ptr=0x801807400
a(1) returns 4
Process 64844 stopped
* thread #1: tid = 100740, 0x0000000800dda809 libc.so.7`malloc [inlined]
malloc_init at malloc.c:5397, stop reason = breakpoint 1.1
frame #0: 0x0000000800dda809 libc.so.7`malloc [inlined] malloc_init at
malloc.c:5397
5394 malloc_init(void)
5395 {
5396
-> 5397 if (malloc_initialized == false)
5398 return (malloc_init_hard());
5399
5400 return (false);
(lldb) c
Process 64844 resuming
ptr=0x801807800
b(2) returns 5
a(3) returns 6
Process 64844 exited with status = 0 (0x00000000)
NB: this test has an @expectedFailureLinux # llvm.org/pr14416 tag
That PR is for watchpoints failing on i386 Linux, so perhaps a typo.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>