The error message OGG-01184: Expected 4 bytes but got 0 bytes in trail is the Oracle GoldenGate equivalent of a "sudden death" notification. It is a low-level I/O error that indicates the Extract process reached the end of a trail file expecting to find a complete record header (4 bytes) but found nothing but empty air.
logdump> next
logdump> next
GGSCI> STOP EXTRACT *
GGSCI> STOP REPLICAT *
GGSCI> STOP MANAGER
Maya stared at the hex dump. The stream was pristine — checksums matched, no corruption markers. But at the very end, where four bytes of trailing metadata should have been, there was nothing. Not zeros. Not nulls. Absence. ogg-01184 expected 4 bytes but got 0 bytes in trail