Bonefish dies with SEGFAULT when unexpected client disconnect detected in wamp_broker::process_publish_message.
The problem is that topic_subscriptions_itr invalidated after disconnected session detach.
How to reproduce:
1) Connect client A to bonefish and subscribe to topic T
2) Connect client B to bonefish and start publishing T periodically
3) Kill client A (without clean WAMP disconnect procedure)
Bonefish dies with SEGFAULT when unexpected client disconnect detected in
wamp_broker::process_publish_message
. The problem is thattopic_subscriptions_itr
invalidated after disconnected session detach.How to reproduce: 1) Connect client A to bonefish and subscribe to topic T 2) Connect client B to bonefish and start publishing T periodically 3) Kill client A (without clean WAMP disconnect procedure)
Logs: