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

DTLS enabled, bootstrapped wakaama client crashes if device management server is not available #177

Closed
kiranpradeep opened this issue Jun 17, 2016 · 5 comments

Comments

@kiranpradeep
Copy link
Contributor

kiranpradeep commented Jun 17, 2016

  1. Start Leshan bootstrap server having an entry for client. Stop the device management server if running.
  2. Start DTLS enabled lwm2mclient to be bootstrapped.
  3. Wait for the crash.

Attaching non_ipv4_ipv6_address_crash.txt

Note: Will need pull request #178 or else client crashes early on double free.

Code in sync with wakaama/master.
Compiler: Apple LLVM version 7.3.0 (clang-703.0.29)
Server: Leshan Bootstrap server 0.1.11-M11

@dnav
Copy link
Contributor

dnav commented Jun 21, 2016

Fixed by #178

@dnav dnav closed this as completed Jun 21, 2016
@kiranpradeep
Copy link
Contributor Author

@dnav There has been a misunderstanding. #178 is not a fix for this issue. It just helps get to this issue. Kindly don't close this issue. I am not sure how to fix this.

@dnav
Copy link
Contributor

dnav commented Jun 21, 2016

Sorry for that.
I do not pay the same attention to example code than to the core.

@dnav dnav reopened this Jun 21, 2016
@kiranpradeep
Copy link
Contributor Author

kiranpradeep commented Jul 7, 2016

@dnav - I have been trying to resolve this issue. But, for the lwm2mclient(example) to take any action, the lwm2m_step() has to return an non zero value. During these steps, the lwm2m_step() always succeeds till the crash. Could you give some pointers on how to fix this ?

Of lesser importance: Is lwm2m_step() expected to return a failure when registration or update registration attempt fails ?

@kiranpradeep
Copy link
Contributor Author

This is no more reproducible and closing.

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