Opened 3 years ago

Closed 3 years ago

#12669 closed Patch - Bug Fix (fixed)

Raspberry pi: Hang on setuid call with Ubuntu Mate

Reported by: Peter Bennett <pgbennett@…> Owned by: Stuart Auchterlonie
Priority: critical Milestone: 0.28
Component: MythTV - General Version: Master Head
Severity: high Keywords: Raspberry pi
Cc: Ticket locked: no

Description

using raspberry pi ubuntu mate wily and installing mythbuntu ppa 0.28.

After launching the frontend, the frontend GUI never appears. The last message in the log is

2016-03-01 15:41:43.414136 N  QT_QPA_PLATFORM=xcb

With gdb I established that it is in a call to setuid. The code confirms that a call is made to setuid shortly after that log message. After discussing with the developers they recommended to use example code from from https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=16897 This is working and resolves the problem. I will attach the patch

Attachments (1)

Ticket_12669_setuid_hang.patch (1.4 KB) - added by Peter Bennett <pgbennett@…> 3 years ago.
patch to fix this problem

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by Peter Bennett <pgbennett@…>

patch to fix this problem

comment:1 Changed 3 years ago by Karl Egly

Milestone: unknown0.28
Type: Bug Report - Hang/DeadlockPatch - Bug Fix

comment:2 Changed 3 years ago by Stuart Auchterlonie

Owner: set to Stuart Auchterlonie
Priority: minorcritical
Status: newaccepted

comment:3 Changed 3 years ago by Peter Bennett <pgbennett@…>

In 7fbdddd5fb6994298153cba09bd79d278a856aca/mythtv:

Refs #12669. Solves hang on rpi with setuid call

Signed-off-by: Stuart Auchterlonie <stuarta@…>

comment:4 Changed 3 years ago by Peter Bennett <pgbennett@…>

Resolution: fixed
Status: acceptedclosed

In 87c413b225f9b19bb55a120fbfb7834ba63e8b13/mythtv:

Fixes #12669. Solves hang on rpi with setuid call

Signed-off-by: Stuart Auchterlonie <stuarta@…>
(cherry picked from commit 7fbdddd5fb6994298153cba09bd79d278a856aca)

Note: See TracTickets for help on using tickets.