-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] pipeline with DP-scheduled src_lite upon 0x13000002 IPC #9124
Comments
root cause found:
module is set to reset in the middle of processing ===> Crash fix is on its way, may not be a trivial one as we can't simply wait for a module to finish processing - DP module may process for several ms, soimetimes >100ms. |
Good find - thinking about it, could we have DP modules check pipeline state at the start of each process() time slice. i.e. if pipeline is in reset state then we exit DP thread ? |
@lgirdwood there are 2 ways
Solution number 1 is already implemented and tested (4 lines...), but I strongly recommend number 2 (in progress)
it is not as simple, process() use resources, which may (and usually are) freed when pipeline stops. So leaving the process running is not an option |
Ack, 2) sounds the cleanest - IIRC, driver has a 300ms IPC timeout today. |
Bugfix merged to main and also to stable-v2.10 via #9248 |
Describe the bug
Found in CI run of #9119 and as per discussion in #9119 (comment) , has been seen in other PRs as well.
Filing as a bug to track incidences in CI (and elsewhere).
To Reproduce
No known recipe
Reproduction Rate
<1/100
Expected behavior
No DSP crash
Impact
Audio loss when bug triggers
Environment
SOF Commit: Merge f389107 into 618bdbd
Zephyr Commit: b501278237bf
Platform: MTL
Screenshots or console output
The internal Intel CI test hit a bug on SrcLite test on MTL with following log (via https://sof-ci.01.org/sof-pr-viewer/#/build/PR9119/build13962171 , internal "quickbuild")
The text was updated successfully, but these errors were encountered: