Skip to content

assert failed + reboot on Remote command #896

Answered by cyberman54
t-huyeng asked this question in Q&A
Discussion options

You must be logged in to vote

I got this. It's an RTOS timer in libpax lib which is stopped, while it does not exist. This results to a crash.

The root cause is a mix of sleep flow control in paxcounter, and behavior of libpax function libpax_counter_stop(), and, thus, can be fixed on two ways: Either in libpax code, or in paxcounter code.

The issue occurs, when remote commands arrive while the device is already in going to sleep flow control. At this time libpax_counter_stop() was already called by enter_deepsleep(), to stop libpax enqueuing payload which would lead to an endless waiting loop in enter_deepsleep(). So far not a problem. But when at this time a remote command arrives, which also calls libpax_counter_st…

Replies: 4 comments 17 replies

Comment options

You must be logged in to vote
5 replies
@t-huyeng
Comment options

@t-huyeng
Comment options

@t-huyeng
Comment options

@t-huyeng
Comment options

@cyberman54
Comment options

Comment options

You must be logged in to vote
3 replies
@t-huyeng
Comment options

@t-huyeng
Comment options

@t-huyeng
Comment options

Comment options

You must be logged in to vote
6 replies
@t-huyeng
Comment options

@cyberman54
Comment options

@t-huyeng
Comment options

@cyberman54
Comment options

@t-huyeng
Comment options

Comment options

You must be logged in to vote
3 replies
@t-huyeng
Comment options

@cyberman54
Comment options

@t-huyeng
Comment options

Answer selected by cyberman54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants