Opened 11 years ago

Closed 11 years ago

Last modified 11 years 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@… 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by jcrews@…

comment:1 Changed 11 years ago by stuartm

Milestone: unknown0.26.1
Owner: set to stuartm
Status: newaccepted

comment:2 Changed 11 years ago by Jesse Crews <jcrews@…>

Resolution: fixed
Status: acceptedclosed

In e339b1794b93a222f7a157e75b1c3deb32fd5683/mythtv:

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

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

comment:3 Changed 11 years ago by Jesse Crews <jcrews@…>

In 624ad5a3533ba34033debb37f0058da0670cf4e1/mythtv:

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

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

Note: See TracTickets for help on using tickets.