[mythtv-commits] [MythTV/mythtv] 146689: Stop logger before exiting mytharchivehelper

kmdewaal noreply at github.com
Sat Nov 19 16:57:41 UTC 2022

  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 146689e876841615e5fcaba0eaa504afbf85a8c9
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp

  Log Message:
  Stop logger before exiting mytharchivehelper

The check of the commandline parameters can result in an error message plus an
immediate exit when there is a parameter missing or incorrect.
This message is given with the logging system, but because the logging system
is running on a separate thread the program is being exited while the logging system
is still active. This usually results in a segmentation fault in the logger.
This is now fixed by stopping the logger before exiting.

More information about the mythtv-commits mailing list