<feed xmlns='http://www.w3.org/2005/Atom'>
<title>system_core/debuggerd, branch replicant-10</title>
<subtitle>Fork of system/core
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/'/>
<entry>
<title>Merge tag 'android-10.0.0_r37' into staging/lineage-17.1_merge-android-10.0.0_r37</title>
<updated>2020-06-02T02:46:14+00:00</updated>
<author>
<name>Kevin F. Haggerty</name>
<email>haggertk@lineageos.org</email>
</author>
<published>2020-06-02T02:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=8715e68d169854a16f4ef16649b834739494bf89'/>
<id>8715e68d169854a16f4ef16649b834739494bf89</id>
<content type='text'>
Android 10.0.0 Release 37 (QQ3A.200605.001)

* tag 'android-10.0.0_r37':
  Add cpu-set properties to serializer test
  Allowing R and S developer GSI for DSU
  Adding new GSI public keys
  Increase timeouts.
  Add TEMP_FAILURE_RETRY where appropriate.
  Increase timeout to avoid flaky tests.
  configs for jailed procs to dump code coverage data
  Move gcov output to /data/misc/trace
  rootdir: init.rc to limit discard size to 128MB

Change-Id: I402131a51320e548dfd105d2223423e14a9e8ec4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 10.0.0 Release 37 (QQ3A.200605.001)

* tag 'android-10.0.0_r37':
  Add cpu-set properties to serializer test
  Allowing R and S developer GSI for DSU
  Adding new GSI public keys
  Increase timeouts.
  Add TEMP_FAILURE_RETRY where appropriate.
  Increase timeout to avoid flaky tests.
  configs for jailed procs to dump code coverage data
  Move gcov output to /data/misc/trace
  rootdir: init.rc to limit discard size to 128MB

Change-Id: I402131a51320e548dfd105d2223423e14a9e8ec4
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase timeouts.</title>
<updated>2020-02-15T00:08:24+00:00</updated>
<author>
<name>Christopher Ferris</name>
<email>cferris@google.com</email>
</author>
<published>2019-09-20T21:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=3cd6902733212db32828e330d41ef64d4223e714'/>
<id>3cd6902733212db32828e330d41ef64d4223e714</id>
<content type='text'>
There is still some flakiness, so increase the timeout values.
Also remove the TEMP_FAILURE_RETRY macro usage in TIMEOUT calls.
That macro disables the ability of the alarm code to interrupt
the system call.

Bug: 141045754
Bug: 149562320

Test: Unit tests pass.
Change-Id: Ia3c95dccc3076a3fd5ef6432097a57e4ccee4df3
Merged-In: Ia3c95dccc3076a3fd5ef6432097a57e4ccee4df3
(cherry picked from commit 11555f0961fd923feba9cd0e125eef4544bc72e8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is still some flakiness, so increase the timeout values.
Also remove the TEMP_FAILURE_RETRY macro usage in TIMEOUT calls.
That macro disables the ability of the alarm code to interrupt
the system call.

Bug: 141045754
Bug: 149562320

Test: Unit tests pass.
Change-Id: Ia3c95dccc3076a3fd5ef6432097a57e4ccee4df3
Merged-In: Ia3c95dccc3076a3fd5ef6432097a57e4ccee4df3
(cherry picked from commit 11555f0961fd923feba9cd0e125eef4544bc72e8)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add TEMP_FAILURE_RETRY where appropriate.</title>
<updated>2020-02-15T00:08:16+00:00</updated>
<author>
<name>Christopher Ferris</name>
<email>cferris@google.com</email>
</author>
<published>2019-09-19T00:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=7d79742f05c4e6cb9f91dd62c804bb0ae47d5889'/>
<id>7d79742f05c4e6cb9f91dd62c804bb0ae47d5889</id>
<content type='text'>
Bug: 141045754
Bug: 149562320

Test: Ran unit tests in a loop on walleye and cuttlefish.
Change-Id: I87b912e76889ed207ab17b862e4786ee44a382ba
Merged-In: I87b912e76889ed207ab17b862e4786ee44a382ba
(cherry picked from commit 172b0a083434980a56ac4d719f1c9496ec163740)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 141045754
Bug: 149562320

Test: Ran unit tests in a loop on walleye and cuttlefish.
Change-Id: I87b912e76889ed207ab17b862e4786ee44a382ba
Merged-In: I87b912e76889ed207ab17b862e4786ee44a382ba
(cherry picked from commit 172b0a083434980a56ac4d719f1c9496ec163740)
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase timeout to avoid flaky tests.</title>
<updated>2020-02-15T00:08:04+00:00</updated>
<author>
<name>Christopher Ferris</name>
<email>cferris@google.com</email>
</author>
<published>2019-06-26T22:08:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=4cba155da9c998f0bcc3a22a7e78618a683dd261'/>
<id>4cba155da9c998f0bcc3a22a7e78618a683dd261</id>
<content type='text'>
Also, print extra information when an error occurs.

Bug: 149562320

Test: Ran unit tests.
Change-Id: I3404549db0ac18a4a82a99b2620556db96376bca
Merged-In: I3404549db0ac18a4a82a99b2620556db96376bca
(cherry picked from commit afc0ff7fe06aee9822fac97e52d1fba09c695d8b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, print extra information when an error occurs.

Bug: 149562320

Test: Ran unit tests.
Change-Id: I3404549db0ac18a4a82a99b2620556db96376bca
Merged-In: I3404549db0ac18a4a82a99b2620556db96376bca
(cherry picked from commit afc0ff7fe06aee9822fac97e52d1fba09c695d8b)
</pre>
</div>
</content>
</entry>
<entry>
<title>debuggerd: add Lineage version to tombstones</title>
<updated>2019-12-23T17:15:38+00:00</updated>
<author>
<name>Scott Mertz</name>
<email>scott@cyngn.com</email>
</author>
<published>2016-05-25T22:47:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=3916cd8173f627bb7a93246353a224395e196711'/>
<id>3916cd8173f627bb7a93246353a224395e196711</id>
<content type='text'>
Change-Id: I7822a2e133a2f326ad2d8da8f79b0064344d59bf

debuggerd: Rebrand tombstone header to LineageOS

[harryyoud]: Use new props for 15.1
[rashed]: Bah... use GetProperty

Change-Id: Idd08c2eb7e395b464b1510742bf52833f465db08
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7822a2e133a2f326ad2d8da8f79b0064344d59bf

debuggerd: Rebrand tombstone header to LineageOS

[harryyoud]: Use new props for 15.1
[rashed]: Bah... use GetProperty

Change-Id: Idd08c2eb7e395b464b1510742bf52833f465db08
</pre>
</div>
</content>
</entry>
<entry>
<title>crash_dump: populate uid field.</title>
<updated>2019-05-09T23:48:01+00:00</updated>
<author>
<name>Josh Gao</name>
<email>jmgao@google.com</email>
</author>
<published>2019-05-09T19:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=b80fe7a48dc14c59eefbe3eb8f54d777c1d4f54c'/>
<id>b80fe7a48dc14c59eefbe3eb8f54d777c1d4f54c</id>
<content type='text'>
Bug: http://b/132359035
Test: manual
Change-Id: I99d8446024fc2d9395132dea45f03317976a9b62
(cherry picked from commit 5df504c5f8f6871f7ec79d735490176ba5179d2a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: http://b/132359035
Test: manual
Change-Id: I99d8446024fc2d9395132dea45f03317976a9b62
(cherry picked from commit 5df504c5f8f6871f7ec79d735490176ba5179d2a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add UID printing to tombstone headers" into qt-dev</title>
<updated>2019-05-01T07:46:51+00:00</updated>
<author>
<name>Misha Wagner</name>
<email>mishaw@google.com</email>
</author>
<published>2019-05-01T07:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=59d8d4bb8aab665f83d727ff6365dcc11661d057'/>
<id>59d8d4bb8aab665f83d727ff6365dcc11661d057</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add UID printing to tombstone headers</title>
<updated>2019-04-29T10:19:34+00:00</updated>
<author>
<name>Misha Wagner</name>
<email>mishaw@google.com</email>
</author>
<published>2019-04-18T15:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=1d0d6623238f9a0de8edbf8a59e64f90847e6e1f'/>
<id>1d0d6623238f9a0de8edbf8a59e64f90847e6e1f</id>
<content type='text'>
This is for Android Telemetry to be able to categorise the processes
that produce tombstones.

Bug: 129933535
Test: atest debugerd_test:TombstoneTest
Change-Id: Ie635347c9839eb58bfd27739050bd68cbdbf98da
Merged-In: Ie635347c9839eb58bfd27739050bd68cbdbf98da
(cherry picked from commit e5b7913d2c5da92c37233fef15ab3109e37d9c90)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is for Android Telemetry to be able to categorise the processes
that produce tombstones.

Bug: 129933535
Test: atest debugerd_test:TombstoneTest
Change-Id: Ie635347c9839eb58bfd27739050bd68cbdbf98da
Merged-In: Ie635347c9839eb58bfd27739050bd68cbdbf98da
(cherry picked from commit e5b7913d2c5da92c37233fef15ab3109e37d9c90)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add indicator that an elf is memory backed.</title>
<updated>2019-04-19T17:57:11+00:00</updated>
<author>
<name>Christopher Ferris</name>
<email>cferris@google.com</email>
</author>
<published>2019-04-03T16:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=b7b0cecce43022a31d99622be0591e9f900fa80c'/>
<id>b7b0cecce43022a31d99622be0591e9f900fa80c</id>
<content type='text'>
Modify the unwinder library to indicate that at least one of the stack
frames contains an elf file that is unreadable.

Modify debuggerd to display a note about the unreadable frame and a possible
way to fix it.

Bug: 129769339

Test: New unit tests pass.
Test: Ran an app that crashes and has an unreadable file and verified the
Test: message is displayed. Then setenforce 0 and verify the message is
Test: not displayed.
Change-Id: Ibc4fe1d117e9b5840290454e90914ddc698d3cc2
Merged-In: Ibc4fe1d117e9b5840290454e90914ddc698d3cc2
(cherry picked from commit 4ae266ccbddbd0a6529248ecd1b324feab261c0d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modify the unwinder library to indicate that at least one of the stack
frames contains an elf file that is unreadable.

Modify debuggerd to display a note about the unreadable frame and a possible
way to fix it.

Bug: 129769339

Test: New unit tests pass.
Test: Ran an app that crashes and has an unreadable file and verified the
Test: message is displayed. Then setenforce 0 and verify the message is
Test: not displayed.
Change-Id: Ibc4fe1d117e9b5840290454e90914ddc698d3cc2
Merged-In: Ibc4fe1d117e9b5840290454e90914ddc698d3cc2
(cherry picked from commit 4ae266ccbddbd0a6529248ecd1b324feab261c0d)
</pre>
</div>
</content>
</entry>
<entry>
<title>debuggerd: call setsid in our children.</title>
<updated>2019-04-18T00:53:43+00:00</updated>
<author>
<name>Josh Gao</name>
<email>jmgao@google.com</email>
</author>
<published>2019-04-16T20:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/system_core/commit/?id=6b8caf8eb709cc8eec1691d44ce09db4559e165d'/>
<id>6b8caf8eb709cc8eec1691d44ce09db4559e165d</id>
<content type='text'>
There appears to be a kernel bug that causes SIGHUP and SIGCONT to be
sent to the parent process group we spawn from if the process group
contains stopped jobs (e.g. the parent itself, because of wait_for_gdb).

Call setsid in all of our children to prevent this from happening.

Bug: http://b/31124563
Test: adb shell 'setprop debug.debuggerd.wait_for_gdb 1; killall -ABRT surfaceflinger'
Change-Id: I1a48d70886880a5bfbe2deb80d48deece55faf09
(cherry picked from commit 18cb6812474e00050efab19e242c8a04ed470bec)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There appears to be a kernel bug that causes SIGHUP and SIGCONT to be
sent to the parent process group we spawn from if the process group
contains stopped jobs (e.g. the parent itself, because of wait_for_gdb).

Call setsid in all of our children to prevent this from happening.

Bug: http://b/31124563
Test: adb shell 'setprop debug.debuggerd.wait_for_gdb 1; killall -ABRT surfaceflinger'
Change-Id: I1a48d70886880a5bfbe2deb80d48deece55faf09
(cherry picked from commit 18cb6812474e00050efab19e242c8a04ed470bec)
</pre>
</div>
</content>
</entry>
</feed>
