Compress record segfaults on ALG (algorithm) change

Bug #552803 reported by Ralph Lange
6
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.

Tags: rec 3.13 3.14

Related branches

Changed in epics-base:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.