[mythtv] Developing RPI2 MythTV package for ArchLinux ARM
Lawrence Rust
lvr at softsystem.co.uk
Mon Jan 4 15:45:06 UTC 2016
On Mon, 2016-01-04 at 16:34 +0100, warpme wrote:
> > Wiadomość napisana przez Lawrence Rust <lvr at softsystem.co.uk> w dniu 31.12.2015, o godz. 12:17:
> >
> > On Thu, 2015-12-31 at 00:20 +0100, warpme wrote:
> >> Lawrence,
> >>
> >> I started to play with RPI2 and current MythTV master.
> >> My idea is launch MiniMyth2 for ARM platform, and ARM ArchLinux is learning phase about MythTV and ARM world.
> >> So, now I’m developing working fronted on ARM Archlinux.
> >> I already managed to prepare build system, built mythtv package and install it.
> >> Issue I’m stuck is fronted "semi-hang" during FE startup. FE contineously produces
> >> …..
> >> 2015-12-30 22:49:19.103978 I (0x6900d490)::DecrRef() -> 1
> >> 2015-12-30 22:49:19.104034 I (0x69006580)::IncrRef() -> 2
> >> 2015-12-30 22:49:19.104092 I (0x69006580)::DecrRef() -> 1
> >> 2015-12-30 22:49:19.104164 I (0x69004e38)::IncrRef() -> 2
> >> 2015-12-30 22:49:19.104233 I (0x69004e38)::DecrRef() -> 1
> >> …..
> >> in console.
> >>
> >> FE shows no any GUI.
> > [snip]
> >> here is trace:
> >
> > Looking at the backtrace shows it to be stuck in setuid(). I had
> > similar problems with starting the FE when using Qt5.4 and added this
> > patch:
> >
> > 1000b15 FE/avtest: setuid fails in Qt>=5.3 and causes program exit
> >
> > Maybe Qt 5.5.1 has similar problems. I would remove the call to setuid
> > from mythfrontend/main.cpp and see what happens.
> >
> > — Lawrence Rust
>
>
> unfortunately commenting
> https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythfrontend/main.cpp#L1789
Apologies if I was unclear, but I meant that you should remove the
setuid() call on line 1799, not disable line 1789. i.e.
-if (setuid(getuid()) != 0)
+if (0 && setuid(getuid()) != 0)
> changes nothing
> FE still producing
>
> IncrRef() -> 2
> IncrRef() -> 2
> DecrRef() -> 1
> DecrRef() -> 1
>
> exactly every 30sec
-- Lawrence Rust
More information about the mythtv-dev
mailing list