[mythtv-commits] [MythTV/mythtv] 5415d4: V2 Services: Fix segmentation fault.

Peter Bennett noreply at github.com
Sat Oct 23 21:10:21 UTC 2021

  Branch: refs/heads/devel/http
  Home:   https://github.com/MythTV/mythtv
  Commit: 5415d499b2a6246da0ffaf24676ebb0e318c1d38
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2021-10-23 (Sat, 23 Oct 2021)

  Changed paths:
    M mythtv/programs/mythbackend/main_helpers.cpp

  Log Message:
  V2 Services: Fix segmentation fault.

If the Status/xml or Status/GetBackendStatus are run while the backend
is starting up, before it gets to qApp->exec(), the backend fails
with a segmentation fault. This commit moves the registration of the
services to just before the qApp->exec() and thus avoids the problem.

More information about the mythtv-commits mailing list