You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] DSP crash in copier_ipcgtw_create() after Zephyr 26th Nov update #9687
Describe the bug
DSP panic seen with Zephyr update in #9671 . This pull-request without the Zephyr update didn't trigger issue, so must be related to the Zephyr version update.
To Reproduce
Tests triggered by CI
Reproduction Rate
100%
Expected behavior
No DSP crash
Impact
Blocking Zephyr updates as a test in PR testing is failing.
Environment
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
buffer_attach
-> next->prev = item; /* next is NULL */
Code analysis did not reveal any obvious problems and how the attached item could be NULL.
It does seem this is not a new bug however, but changes in Zephyr upstream for PTL to make the zero address invalid, may just allow to trap stores with a NULL base address (on other platforms these do not trigger a fault).
changed the title [-][BUG] DSP crash after Zephyr 26th Nov update[/-][+][BUG] DSP crash in copier_ipcgtw_create() after Zephyr 26th Nov update[/+]on Nov 27, 2024
Activity
kv2019i commentedon Nov 27, 2024
Backtrace parsed shows following:
comp_new_ipc4
-> next->prev = item; /* next is NULL */
Code analysis did not reveal any obvious problems and how the attached item could be NULL.
It does seem this is not a new bug however, but changes in Zephyr upstream for PTL to make the zero address invalid, may just allow to trap stores with a NULL base address (on other platforms these do not trigger a fault).
[-][BUG] DSP crash after Zephyr 26th Nov update[/-][+][BUG] DSP crash in copier_ipcgtw_create() after Zephyr 26th Nov update[/+]tmleman commentedon Nov 28, 2024
@kv2019i fix: #9689
tmleman commentedon Nov 28, 2024
Next fix: #9691
audio: kpb: fix potential NULL pointer dereference in device list reset
fix: comp_dev: initialize buffer lists to prevent NULL dereference
fix: comp_dev: initialize buffer lists to prevent NULL dereference
audio: kpb: fix potential NULL pointer dereference in device list reset
fix: comp_dev: initialize buffer lists to prevent NULL dereference
audio: kpb: fix potential NULL pointer dereference in device list reset
wszypelt commentedon Dec 13, 2024
@kv2019i please verify
kv2019i commentedon Dec 13, 2024
Bug fixes merged, so this can be closed.