[mythtv-commits] [MythTV/mythtv] 07cdda: Valgrind error in DVBStreamHandler / DeviceReadBuffer

kmdewaal noreply at github.com
Tue Mar 5 21:02:43 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 07cdda87ac49cbf9eb67ac4cf90c8394dfd0b9ce
      https://github.com/MythTV/mythtv/commit/07cdda87ac49cbf9eb67ac4cf90c8394dfd0b9ce
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/dvbstreamhandler.cpp
    M mythtv/libs/libmythtv/recorders/dvbstreamhandler.h

  Log Message:
  -----------
  Valgrind error in DVBStreamHandler / DeviceReadBuffer

The DeviceReadBuffer is now stopped only once at the end of recording
instead of three times. One of the two later stop attempts accessed memory
that was already free'd in a previous stop. This caused valgrind errors
when testing with valgrind and this caused also possibly occasional
segmentation faults of  mythbackend at the end of a recording.

Fixes #13414




More information about the mythtv-commits mailing list