<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/include/backtrace, branch master</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/'/>
<entry>
<title>Moved include/backtrace to libbacktrace/include</title>
<updated>2017-04-11T18:22:43+00:00</updated>
<author>
<name>Vijay Venkatraman</name>
<email>vijaykv@google.com</email>
</author>
<published>2017-04-11T18:22:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=8f2c28d572e08cb456da05d692e41f978c3776b1'/>
<id>8f2c28d572e08cb456da05d692e41f978c3776b1</id>
<content type='text'>
Export libbacktrace_headers

Bug: 33241851
Test: Build sailfish
Change-Id: Iba310ffc21d17ba542bed954a960ab305037061c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Export libbacktrace_headers

Bug: 33241851
Test: Build sailfish
Change-Id: Iba310ffc21d17ba542bed954a960ab305037061c
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not access device maps.</title>
<updated>2017-03-22T21:55:05+00:00</updated>
<author>
<name>Christopher Ferris</name>
<email>cferris@google.com</email>
</author>
<published>2017-03-22T20:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=f5e568e653d0dd6bccc86d1a60db5a2573f75f0e'/>
<id>f5e568e653d0dd6bccc86d1a60db5a2573f75f0e</id>
<content type='text'>
It's possible that a device map has memory controlled by a single entry
device driver. Thus, you can deadlock if a process is touching that
device memory and we try to unwind it and also touch that device memory.
Simply skip any attempts to step through, or get function names from
device memory maps.

Bug: 36130325

Test: Ran new unit tests, ran bionic unit tests, ran art ThreadStress.
Change-Id: Ibc62d7ec8106c619ee08968f05e04aea55d7cbfa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's possible that a device map has memory controlled by a single entry
device driver. Thus, you can deadlock if a process is touching that
device memory and we try to unwind it and also touch that device memory.
Simply skip any attempts to step through, or get function names from
device memory maps.

Bug: 36130325

Test: Ran new unit tests, ran bionic unit tests, ran art ThreadStress.
Change-Id: Ibc62d7ec8106c619ee08968f05e04aea55d7cbfa
</pre>
</div>
</content>
</entry>
<entry>
<title>Test for _WIN32 in instead of USE_MINGW.</title>
<updated>2016-10-05T16:37:44+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2016-10-05T16:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=34a4f0b8c75e2c5a347e04454423cf55c5406075'/>
<id>34a4f0b8c75e2c5a347e04454423cf55c5406075</id>
<content type='text'>
Bug: http://b/23392815
Test: builds
Change-Id: I7fce8de1f0e2314170cce456cd49346dcee9d134
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: http://b/23392815
Test: builds
Change-Id: I7fce8de1f0e2314170cce456cd49346dcee9d134
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix race condition updating local map data.</title>
<updated>2016-06-17T06:28:11+00:00</updated>
<author>
<name>Christopher Ferris</name>
<email>cferris@google.com</email>
</author>
<published>2016-06-15T22:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=3a14004c7f521cf2ca6dfea182fa7441e77c97e7'/>
<id>3a14004c7f521cf2ca6dfea182fa7441e77c97e7</id>
<content type='text'>
If the underlying local map changes, it's possible for multiple
threads to try and modify the map data associated with the UnwindLocalMap
object. Add a lock when generating the local map to avoid this problem.

In addition, add a read lock whenever any caller gets the maps iterator.
Updated all iterator callers to make this lock.

Bug: 29387050
Change-Id: Ie34822c3d8fd3bdb3dd126aeeb399969c36508c1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the underlying local map changes, it's possible for multiple
threads to try and modify the map data associated with the UnwindLocalMap
object. Add a lock when generating the local map to avoid this problem.

In addition, add a read lock whenever any caller gets the maps iterator.
Updated all iterator callers to make this lock.

Bug: 29387050
Change-Id: Ie34822c3d8fd3bdb3dd126aeeb399969c36508c1
</pre>
</div>
</content>
</entry>
<entry>
<title>Add error reporting mechanism for failing Unwind.</title>
<updated>2016-03-10T20:39:15+00:00</updated>
<author>
<name>Christopher Ferris</name>
<email>cferris@google.com</email>
</author>
<published>2016-03-09T22:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=206a3b9798e3622c906a3cafdb113c271c1c927c'/>
<id>206a3b9798e3622c906a3cafdb113c271c1c927c</id>
<content type='text'>
Remove the logging of an error if a thread disappears before the unwind
can begin. This can happen, so allow the caller to determine if this
is really a problem worth logging.

Bug: 27449879
Change-Id: Ie81718d53fb0e519fa0a7db9fd5f314b72bfa431
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the logging of an error if a thread disappears before the unwind
can begin. This can happen, so allow the caller to determine if this
is really a problem worth logging.

Bug: 27449879
Change-Id: Ie81718d53fb0e519fa0a7db9fd5f314b72bfa431
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "Revert "Revert "Add BacktraceOffline for offline backtracing.""""</title>
<updated>2015-09-22T04:46:57+00:00</updated>
<author>
<name>Yabin Cui</name>
<email>yabinc@google.com</email>
</author>
<published>2015-09-22T04:46:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=9e402bb20cb868577e5588d8323363411655291b'/>
<id>9e402bb20cb868577e5588d8323363411655291b</id>
<content type='text'>
This reverts commit 94ece83270deca76c69f5755f8c0ff5c859341fd.

Change-Id: Ie06465c89a5fc115517130f9f2904cc855973155
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 94ece83270deca76c69f5755f8c0ff5c859341fd.

Change-Id: Ie06465c89a5fc115517130f9f2904cc855973155
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "Revert "Add BacktraceOffline for offline backtracing."""</title>
<updated>2015-09-22T01:38:17+00:00</updated>
<author>
<name>Yabin Cui</name>
<email>yabinc@google.com</email>
</author>
<published>2015-09-22T01:38:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=94ece83270deca76c69f5755f8c0ff5c859341fd'/>
<id>94ece83270deca76c69f5755f8c0ff5c859341fd</id>
<content type='text'>
This reverts commit 0a411c934a81e5c77a27ef5b69d391038f36e969.

Change-Id: Ic1824afac6c32f1087b66de9d6368a561f235d13
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 0a411c934a81e5c77a27ef5b69d391038f36e969.

Change-Id: Ic1824afac6c32f1087b66de9d6368a561f235d13
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "Add BacktraceOffline for offline backtracing.""</title>
<updated>2015-09-21T19:54:45+00:00</updated>
<author>
<name>Yabin Cui</name>
<email>yabinc@google.com</email>
</author>
<published>2015-09-19T02:08:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=0a411c934a81e5c77a27ef5b69d391038f36e969'/>
<id>0a411c934a81e5c77a27ef5b69d391038f36e969</id>
<content type='text'>
This reverts commit ab5e583327e4dfd9f7c38ab6ed4c4714508ce544.

And statically link llvm libraries on host to remove dependency
on 32-bit llvm shared library which is not included in the prebuilt.

Bug: 22229391

Change-Id: I8210687655ee1809fd820ab2a6ca5dfaf3f9096d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ab5e583327e4dfd9f7c38ab6ed4c4714508ce544.

And statically link llvm libraries on host to remove dependency
on 32-bit llvm shared library which is not included in the prebuilt.

Bug: 22229391

Change-Id: I8210687655ee1809fd820ab2a6ca5dfaf3f9096d
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add BacktraceOffline for offline backtracing."</title>
<updated>2015-09-17T22:54:22+00:00</updated>
<author>
<name>Yabin Cui</name>
<email>yabinc@google.com</email>
</author>
<published>2015-09-17T22:54:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=ab5e583327e4dfd9f7c38ab6ed4c4714508ce544'/>
<id>ab5e583327e4dfd9f7c38ab6ed4c4714508ce544</id>
<content type='text'>
Using llvm makes libbacktrace stops building for 32 bit on linux host x86_64.

This reverts commit c9c6b6ee7735f014771d81615c0278b53d14f61c.

Change-Id: Ieb807db881d7bb3132cd09e25fd08c28766ca0a8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using llvm makes libbacktrace stops building for 32 bit on linux host x86_64.

This reverts commit c9c6b6ee7735f014771d81615c0278b53d14f61c.

Change-Id: Ieb807db881d7bb3132cd09e25fd08c28766ca0a8
</pre>
</div>
</content>
</entry>
<entry>
<title>Add BacktraceOffline for offline backtracing.</title>
<updated>2015-09-17T00:38:23+00:00</updated>
<author>
<name>Yabin Cui</name>
<email>yabinc@google.com</email>
</author>
<published>2015-08-14T02:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=c9c6b6ee7735f014771d81615c0278b53d14f61c'/>
<id>c9c6b6ee7735f014771d81615c0278b53d14f61c</id>
<content type='text'>
It is used by simpeleprf for stack unwinding.

Bug: 22229391
Change-Id: I26d698610ccdc9545da837bc5a8a9ec787f27a6b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is used by simpeleprf for stack unwinding.

Bug: 22229391
Change-Id: I26d698610ccdc9545da837bc5a8a9ec787f27a6b
</pre>
</div>
</content>
</entry>
</feed>
