Compress record segfaults on ALG (algorithm) change

Reported by Ralph Lange on 2010-03-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Low
Ralph Lange
3.13
Undecided
Unassigned
3.14
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

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

Other bug subscribers