Description:
------------
The FD crash when the SD send back a message to the FD (for example when the disk is full)
This issue was introduced in 12.6.2 with SDPacketCheck feature
Workaround:
-----------
Set SDPacketCheck to some value in the bacula-fd.conf
Details:
--------
bnet_poll_manager cannot handle error msg from SD
- FD get a "3999 Failed append\n" in the hearbeat while jcr->sd_packet_mgr
was already set to NULL
Dmsg2(100, "Got m=%d BNET_SIG %d from SD\n", m, sd->msglen);
} else {
Dmsg3(100, "Got m=%d msglen=%d bytes from SD. MSG=%s\n", m, sd->msglen, sd->msg);
- jcr->sd_packet_mgr->recv(jcr, sd->msg); // Might be to ack a POLL request
+ if (jcr->sd_packet_mgr)
+ {
+ // Might be to ack a POLL request
+ jcr->sd_packet_mgr->recv(jcr, sd->msg);
+ }
}
}
Dmsg2(200, "wait_intr=%d stop=%d\n", n, sd->is_stop());