ARMmbed / mbed-client

DEPRECATED: C++ API for mbed-client
https://cloud.mbed.com/docs/current
Apache License 2.0
53 stars 85 forks source link

Observation while re-connecting #269

Closed markus-becker-tridonic-com closed 8 years ago

markus-becker-tridonic-com commented 8 years ago

It seems that if a resource is being observed and the stack is being brought down and re-connecting, and an observation is to be sent during re-connection hard faults are happening.

See the following stack trace:

Can the sending of observations be guarded against the re-connection logic?

@mlnx @daniel-cesarini-tridonic-com

yogpan01 commented 8 years ago

Hi, we will check and fix this issue.

ciarmcom commented 8 years ago

ARM Internal Ref: IOTCLT-881

anttiylitokola commented 8 years ago

Hi, we've been trying to reproduce this in our end but no luck yet. Are you seeing this crash every time when trying to send observation when stack is in re-connection mode and is it the first observation which causes the crash?

markus-becker-tridonic-com commented 8 years ago

@ivan-adzic-tridonic-com

markus-becker-tridonic-com commented 8 years ago

Thanks. Tried again with updated mbed-client, we can't reproduce it at the moment either. Will re-open, if it happens again.