FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

oboetester: try to repro routing crash by philburk · Pull Request #1760 · google/oboe · GitHub

/ oboe Public

oboetester: try to repro routing crash - #1760

Merged
philburk merged 2 commits into
mainfrom
test_buf_crash
Mar 30, 2023
Merged

philburk merged 2 commits into
mainfrom
test_buf_crash

Conversation

philburk commented Mar 24, 2023 •
edited
Loading

Copy link
Copy Markdown
Contributor

This test tries to trigger a routing change
while long duration callbacks are playing.
This can cause the callback to write into a dead buffer and cause a SIGSEGV.

See b/274815060 and GitHub Issue #1763

This test tries to trigger a routing change
while long duration callbacks are playing.
This can cause the callback to write into a dead buffer
and cause a SIGSEGV.

See b/274815060
philburk requested review from flamme and robertwu1 March 24, 2023 23:51

flamme left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks Phil for the PR!

The restoring the track seems pretty relies on the timing to making a crash. Is it possible to have a call from JNI to JAVA when receiving a data callback to force routing change?

Copy link
Copy Markdown
Contributor Author

I could call JNI. But I can get it to crash very easily when calling getTimestamp() from the callback.
Also I wanted to mimic as much as possible the way a normal app might behave.
That will help us judge how serious the bug is.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL