Bugzilla – Bug 2035
write(2)/send(2) crashes with connected UDP socket
Last modified: 2015-01-23 14:01:10 EST
A UDP socket successfully invokes sendto(2) and sendmsg(2), but fails (and crashes) with write(2) and send(2) even socket are connected, with the following message. assert failed. cond="SystemThread::Equals (m_main)", msg="Simulator::Schedule Thread-unsafe invocation!", file=../src/core/model/default-simulator-impl.cc, line=222 reported by Thomas Burger. https://groups.google.com/d/msg/ns-3-users/IJhV3h7QRmM/8QxmZC4rMEcJ
changeset 4747e90c6d5c should fix the issue. Thomas, could you please check with the latest ns-3-dce if possible ? http://code.nsnam.org/ns-3-dce/rev/4747e90c6d5c
Hello Hajime, sorry for the delayed response. The fix works just fine! Thank you very much.