Skip to content

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

@philburk philburk commented Mar 24, 2023 •

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
philburk requested review from flamme and robertwu1 March 24, 2023 23:51

@flamme 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.

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?

@philburk

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.

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