When sending tlm_generic_payload through an initiator socket, a segmentation fault happens on get_posted() call. Indeed if genattr does not exist, for instance if get_extension() is not supported, the get_posted() method call is failing.
Code in remote-port-tlm-memory-slave.cc line 136 :
if (genattr->get_posted()) {
return;
}
Problem can be fixed by testing genattr before :
if (genattr) {
if (genattr->get_posted()) {
return;
}
}
When sending tlm_generic_payload through an initiator socket, a segmentation fault happens on get_posted() call. Indeed if genattr does not exist, for instance if get_extension() is not supported, the get_posted() method call is failing.
Code in remote-port-tlm-memory-slave.cc line 136 :
Problem can be fixed by testing genattr before :