The Impossible Did Happen (yet again)
When using S4U, in some cases it is possible to get an
ImpossibleError from XBT, when the simulation is terminating :
... [host1:client:(4) 0.154911] [test_pt2pt_put_fake_memory_client/INFO] All messages have been sent. [host0:server:(1) 5.154819] /my/simgrid/path/src/xbt/exception.cpp:44: [xbt_exception/CRITICAL] Uncaught exception simgrid::xbt::ImpossibleError: /my/simgrid/path/src/kernel/context/ContextSwapped.cpp:59:smx_ctx_wrapper: The Impossible Did Happen (yet again). Please report this bug (after reading https://xkcd.com/2200 :) [host0:server:(1) 5.154819] /my/simgrid/path/src/xbt/exception.cpp:79: [xbt_exception/CRITICAL] Current backtrace: [host0:server:(1) 5.154819] /my/simgrid/path/src/xbt/exception.cpp:80: [xbt_exception/CRITICAL] ->
How to reproduce
An example has been built in this repo, with explanations on what is supposed to be modelled and steps to reproduce.