-
Notifications
You must be signed in to change notification settings - Fork 117
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
[1.12.1] A crash occurs when the protocol stack is destroyed. #325
Comments
Hi, Could you please post a running code example of the problem, so that we can objectively deal with it? Regards, |
This problem occurs occasionally. When a crash occurs, the stack is as follows:
The corresponding functions are static void alias_release(
/*! [in] XML alias object. */
struct xml_alias_t *alias)
{
ithread_mutex_lock(&gWebMutex); ---> crash
/* ignore invalid alias */
if (!is_valid_alias(alias)) {
ithread_mutex_unlock(&gWebMutex);
return;
} |
There is not much I can imagine here that could be going wrong like this. The crash suggests that the web mutex is corrupted.
Regards, |
When the UPNP protocol is started and the HTTP get request from the control point is received and processed, if the protocol stack is destroyed and resources are destroyed for example in web_server_destroy, the thread that processes the HTTP get instruction crashes when the gWebMutex is used.
The text was updated successfully, but these errors were encountered: