Skip to content

Commit 7e78440

Browse files
authored
Merge pull request #252 from sy-c/master
v2.18.5
2 parents 670063a + 7da231a commit 7e78440

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

doc/releaseNotes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ This file describes the main feature changes for each readout.exe released versi
552552
## v2.18.3 - 05/04/2023
553553
- Fixed bug introduced in v2.18.0 causing crash when overlapping HBF copy buffer empty.
554554

555-
## v2.18.4 - 06/06/2023
555+
## v2.18.4 - 06/04/2023
556556
- Updated configuration parameters:
557557
- added consumer-FairMQchannel.threadsFifoSize
558+
559+
## v2.18.5 - 17/05/2023
560+
- Fixed bug causing crash in some conditions of buffer empty. Related to same feature (dropIncomplete) as issue fixed in v2.18.3. Different corner case, involving threads, and not always happening.

src/ConsumerFMQchannel.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ class ConsumerFMQchannel : public Consumer
763763
thIx = 0;
764764
}
765765

766-
if (msglist == nullptr) {
766+
if ((msglist == nullptr)||(msglist->size()==0)) {
767767
// this can happen when an empty item is pushed (in case there was an error processing it)
768768
// in order to keep all FIFOs in sync round robin
769769
continue;

src/ReadoutVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
#define READOUT_VERSION "2.18.4"
12+
#define READOUT_VERSION "2.18.5"
1313

0 commit comments

Comments
 (0)