Skip to content
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

Fatal error FRPKSIG - Dev Assert DSP PSQ overflow #10

Closed
lordofthefarts opened this issue Jul 8, 2022 · 2 comments
Closed

Fatal error FRPKSIG - Dev Assert DSP PSQ overflow #10

lordofthefarts opened this issue Jul 8, 2022 · 2 comments

Comments

@lordofthefarts
Copy link

lordofthefarts commented Jul 8, 2022

hello,

I have been running though your Quick Start and grabbed a Shannon firmware to emulate (CP_G930FXXS5ESF1_CP12893112_CL14843133_QB24085562_REV00_user_low_ship.tar.md5) this was taken from the data set (https://zenodo.org/record/6516030#.YncQV3VByEI) kindly provided on ticket #6 by @mariusmue; I think this was the first Shannon baseband on this list.

I have had success emulating other Shannon basebands but this one causes a FATAL ERROR due to (reason:Dev Assert DSP PSQ overflow) when running under normal emulation, I have attached a log of the output that dumps stack and register state. To understand more about your tool, I attempted to debug this problem dynamically using GDB watchpoints, however this is causing an exception in /avatar2/plugins/gdbserver.py (I should probably raise a separate issue here?)

My question is - have you seen this DSP PSQ overflow as a common issue whilst developing support for Shannon firmwares? If so can you suggest an approach to fix the crash?

Update - I have tested a large sample of CP_G935F* and CP_G930F* firmwares and they all produce this fatal error after ~1min of emulation, in contrast CP_G973FXXUCFUH3_CP19998134_CL22340597_QB42324606_REV01_user_low_ship.tar seems to run indefinitely ...

firmwire_log.0.txt

@mariusmue
Copy link
Contributor

Hi!

The uploaded firmware images in the data set are meant to replicate our results from the paper - as such, they are indeed not supposed to work all out of the box. We are still in the process of preparing the raw data of these experiments to a separated repository. During the large-scale study, we did not look into the individual bugs/issues - but instead wanted to provide insight on the images were FirmWire runs out of the box without additional modification.

It's likely that with a couple of fixes, these errors are gone, but I don't have a solution ready out of the top of my head without investigating this issue a bit more.

For more context, here is the relevant Figure from the paper: As visible, FirmWire has better support for G950+ firmware.

image

@lordofthefarts
Copy link
Author

thanks for the reply; I have read the paper a while back so forgive me for forgetting this table ! I will look into the crashing on S8 and see if I can figure out what might be causing it.

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

No branches or pull requests

2 participants