Compress record segfaults on ALG (algorithm) change
Bug #552803 reported by
Ralph Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Low
|
Ralph Lange | ||
3.13 |
Won't Fix
|
Undecided
|
Unassigned | ||
3.14 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When changing the ALG field of a compress record e.g. from Circular
(default) to Average, the (soft) IOC segfaults on the next process().
affects epics-base
tag rec 3.13 3.14
status confirmed
assignee ralph-lange
The compress record's ALG field has been SPC_RESET forever (earlier
than 3.13.0), but the reset() code in record support only nulls a few
fields, and does not care about freeing/allocating the buffers for
Average that init_record() creates.
The documentation always stated the ALG field was SPC_NOMOD, though.
Related branches
lp:~ralph-lange/epics-base/compress-fix
- Andrew Johnson: Approve
-
Diff: 30 lines (+5/-5)1 file modifiedsrc/rec/compressRecord.c (+5/-5)
Changed in epics-base: | |
importance: | Undecided → Low |
To post a comment you must log in.