Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#11163 closed Patch - Bug Fix (fixed)

Fix mythbackend not exiting after network initialization failure

Reported by: jcrews@… Owned by: stuartm
Priority: minor Milestone: 0.26.1
Component: MythTV - General Version: 0.26-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This fixes a bug where MainServer?'s Stop(), which is called by its destructor, falls into an infinite loop. This was caused by new'ing a QRunnable before possible early termination, which could result in a thread never being created, breaking Stop(). Also, made return from run_backend() clean to prevent a segfault condition.

Attachments (1)

mythbackend-noexit-init-error.patch (1.6 KB) - added by jcrews@… 18 months ago.

Download all attachments as: .zip

Change History (4)

Changed 18 months ago by jcrews@…

comment:1 Changed 18 months ago by stuartm

  • Milestone changed from unknown to 0.26.1
  • Owner set to stuartm
  • Status changed from new to accepted

comment:2 Changed 18 months ago by Jesse Crews <jcrews@…>

  • Resolution set to fixed
  • Status changed from accepted to closed

In e339b1794b93a222f7a157e75b1c3deb32fd5683/mythtv:

Fix mythbackend not exiting after network initialization failure. Fixes #11163

Signed-off-by: Stuart Morgan <smorgan@…>

comment:3 Changed 18 months ago by Jesse Crews <jcrews@…>

In 624ad5a3533ba34033debb37f0058da0670cf4e1/mythtv:

Fix mythbackend not exiting after network initialization failure. Fixes #11163

Signed-off-by: Stuart Morgan <smorgan@…>

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.