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

Gateway crashes #19

Closed
trivialkettle opened this issue Oct 7, 2024 · 5 comments
Closed

Gateway crashes #19

trivialkettle opened this issue Oct 7, 2024 · 5 comments

Comments

@trivialkettle
Copy link

trivialkettle commented Oct 7, 2024

Hi,
i noticed another crash in the gateway.

Callstack:

<unknown> 0x00007ffff79b63f4
operator() GatewayApp.cpp:82
operator() GatewaySession.cpp:93
main main.cpp:49

I could reproduce this. I have a client that connects to the gateway and then later changes the last will. If I restart this programm the gateway crashes.

I removed the assert statement and then it crashes with this callstack:

std::__detail::_List_node_base::_M_unhook 0x00007ffff7cc323e
operator() GatewayApp.cpp:114
main main.cpp:49

I will try to assemble a python script to show it.

Edit: I debuged some more, and found that iter is sometimes NULL.

trivialkettle added a commit to trivialkettle/cc.mqttsn.libs that referenced this issue Oct 7, 2024
@arobenko
Copy link
Member

arobenko commented Oct 7, 2024

Please retry with the "develop" branch and let me know if it works for you. If you're satisfied with your testing and no other problems are found it the near future, just ask me to do an official release v2.0.5

@trivialkettle
Copy link
Author

Hi, thanks a lot.

The develop branch works for some hours now, release v2.0.5 LGTM.

@trivialkettle
Copy link
Author

My use cases worked fine for multiple days now, could please release v2.0.5?

@arobenko
Copy link
Member

Done

@trivialkettle
Copy link
Author

Thank you very much!

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