SoftwareSerial Buffer problem when not power of 2

So what size are you trying?

  static volatile uint8_t _receive_buffer_tail;
  static volatile uint8_t _receive_buffer_head;

They will hold 255 max.