<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 1 Feb 2021 at 19:09, Klaas de Waal <<a href="mailto:klaas.de.waal@gmail.com">klaas.de.waal@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 1 Feb 2021 at 16:54, John Pilkington <<a href="mailto:johnpilk222@gmail.com" target="_blank">johnpilk222@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 01/02/2021 11:27, John Pilkington wrote:<br>
<br>
>>> I have tried retuning the el7 box but that segfaults before the end <br>
>>> of an 'all transports' scan. <br>
>> Now reverted to last week's build.<br>
> <br>
> ... to continue. I left the Fedora 32 box building and recording <br>
> overnight, and now have master f53465d running (under a new kernel).<br>
> <br>
> I rescanned both tuners and have edited the recordings with no problems <br>
> seen. The cutlist editor didn't crash or have any noticeable hangups, <br>
> so all seems well. I didn't see the problem reported by Klaas either.<br>
> <br>
> So I'll try another brew for el7...<br>
> <br>
> Thanks,<br>
> <br>
> John P<br>
> <br>
> <br>
<br>
The new build gives this same set of warnings on leaving mythtv-setup. <br>
I saw something very similar in the ubuntu 18.04 master ppa last <br>
Thursday, but don't have that box now.<br>
<br>
{{{<br>
<br>
2021-02-01 14:40:17.570 I Clearing OpenGL painter cache.<br>
2021-02-01 14:40:17.570 I OpenGL: MythRenderOpenGL closing<br>
2021-02-01 14:40:17.572 I Display: Deleting<br>
2021-02-01 14:40:17.575 I PowerDBus: Closing interfaces<br>
2021-02-01 14:40:17.583 C 'SSDP': MThread epilog was never run! (SSDP)<br>
2021-02-01 14:40:17.583 C 'SSDP': MThread destructor called while <br>
thread still running! (SSDP)<br>
Handling Illegal instruction<br>
Illegal instruction<br>
<br>
}}}<br>
<br>
A channel scan starts but segfaults after around 5 transports,as below. <br>
I haven't tried running mythbackend again.<br>
<br>
{{{<br>
<br>
2021-02-01 15:17:45.736 I CardUtil[1]: Set delivery system: DVB-T<br>
2021-02-01 15:19:17.740 C 'DVBRead': MThread epilog was never run! <br>
(DVBRead)<br>
2021-02-01 15:19:17.740 C 'DVBRead': MThread destructor called while <br>
thread still running! (DVBRead)<br>
Handling Segmentation fault<br>
Segmentation fault<br>
<br>
}}}<br>
<br>
This el7 build from 24 Jan runs well: <br>
mythtv-32.Pre.2062.g03dd08c3eb-100.el7.x86_64.rpm That was before the <br>
std::chrono updates.<br>
<br>
and today's master in F32 is probably better (cutlist editor less likely <br>
to hang)<br>
<br>
el7 has gssdp v 1.0.2-1 from SL security. F32 has v 1.0.5-1<br>
<br>
I suppose all this just underlines the need to move on from el7, but it <br>
looks to me as if 'buntu 18.04 has it too.<br>
<br></blockquote><div> My mythbackend and mythtv-setup run OK but that is on Fedora 33.</div><div>The failure of mythfrontend master, as reported by me, is on Ubuntu 18.</div><div>The mythfrontend master on Fedora 33 does not have this problem.</div><div>The mythfrontend master on Ubuntu 18 is now from a few weeks back, before the std::chrono updates, and that runs OK.</div><div>Looks to me that there is indeed something wrong with the std::chrono updates on Ubuntu 18.</div><div>Have not done a complete bisect but even the single std::chrono commit is very large.</div><div>The problem I see must be in the code that does the "animation"; the GUI usually goes in about 5 steps of about 20 milliseconds (guess)</div><div>from one presentation to another, fading out the old and fading in the new.</div><div>My guess is that this timer is now broken; in my mythfrontend this is where it seems to stop.</div><div><br></div><div></div></div></div></blockquote><div><br></div><div>Had this morning bisect for breakfast...</div><div>I could reproduce the mythtv-setup segfault on exit on Ubuntu 18.</div><div>Git says:</div><div>Bisecting: 0 revisions left to test after this (roughly 0 steps)<br>[a9d53f3230a12d03182ee7df5e85cbcefc40abea] Convert myth threads to std::chrono. (2)<br></div><div><br></div><div>This is the commit that introduces the bug:</div><div><br></div><div> Commit: a9d53f3230a12d03182ee7df5e85cbcefc40abea</div> <a href="https://github.com/MythTV/mythtv/commit/a9d53f3230a12d03182ee7df5e85cbcefc40abea" rel="noreferrer" target="_blank">https://github.com/MythTV/mythtv/commit/a9d53f3230a12d03182ee7df5e85cbcefc40abea</a><br> Author: David Hampton <<a href="mailto:mythtv@love2code.net" target="_blank">mythtv@love2code.net</a>><br> Date: 2021-01-25 (Mon, 25 Jan 2021)<br><br> Changed paths:<br> M mythplugins/mythmusic/mythmusic/playlistcontainer.cpp<br> M mythtv/libs/libmyth/audio/audiooutputalsa.cpp<br> M mythtv/libs/libmyth/audio/audiooutputbase.cpp<br> M mythtv/libs/libmyth/audio/audiooutputca.cpp<br> M mythtv/libs/libmyth/audio/audiooutputoss.cpp<br> M mythtv/libs/libmyth/audio/volumebase.cpp<br> M mythtv/libs/libmythbase/mthread.cpp<br> M mythtv/libs/libmythbase/mthread.h<br> M mythtv/libs/libmythbase/mthreadpool.cpp<br> M mythtv/libs/libmythbase/mthreadpool.h<br> M mythtv/libs/libmythbase/mythdate.cpp<br> M mythtv/libs/libmythbase/mythdate.h<br> M mythtv/libs/libmythbase/mythdownloadmanager.cpp<br> M mythtv/libs/libmythbase/mythsystemunix.cpp<br> M mythtv/libs/libmythmetadata/imagescanner.cpp<br> M mythtv/libs/libmythprotoserver/mythsocketmanager.cpp<br> M mythtv/libs/libmythprotoserver/requesthandler/deletethread.cpp<br> M mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp<br> M mythtv/libs/libmythtv/cardutil.cpp<br> M mythtv/libs/libmythtv/cardutil.h<br> M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp<br> M mythtv/libs/libmythtv/channelscan/externrecscanner.cpp<br> M mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp<br> M mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp<br> M mythtv/libs/libmythtv/io/mythfilebuffer.cpp<br> M mythtv/libs/libmythtv/io/mythmediabuffer.cpp<br> M mythtv/libs/libmythtv/mythplayer.cpp<br> M mythtv/libs/libmythtv/previewgenerator.cpp<br> M mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp<br> M mythtv/libs/libmythtv/recorders/cetonstreamhandler.cpp<br> M mythtv/libs/libmythtv/recorders/dvbchannel.h<br> M mythtv/libs/libmythtv/recorders/dvbsignalmonitor.cpp<br> M mythtv/libs/libmythtv/recorders/signalmonitor.cpp<br> M mythtv/libs/libmythtv/recorders/signalmonitor.h<br> M mythtv/libs/libmythtv/recorders/v4lrecorder.h<br> M mythtv/libs/libmythtv/tv_rec.cpp<br> M mythtv/libs/libmythtv/tv_rec.h<br> M mythtv/libs/libmythui/mythmainwindowprivate.h<br> M mythtv/libs/libmythui/mythuianimation.cpp<br> M mythtv/libs/libmythui/mythuianimation.h<br> M mythtv/libs/libmythupnp/taskqueue.cpp<br> M mythtv/programs/mythbackend/mainserver.cpp<br> M mythtv/programs/mythbackend/scheduler.cpp<br> M mythtv/programs/mythfrontend/galleryslide.cpp<br> M mythtv/programs/mythfrontend/galleryslide.h<br> M mythtv/programs/mythfrontend/galleryslideview.cpp<br> M mythtv/programs/mythfrontend/galleryslideview.h<br> M mythtv/programs/mythfrontend/gallerytransitions.cpp<br> M mythtv/programs/mythfrontend/gallerytransitions.h<br><br> Log Message:<br> -----------<br> Convert myth threads to std::chrono. (2)<br><br>This commit focuses on converting MThread, and propagating those<br>changes throughout the rest of the code without changing too many<br>other interfaces. There are some temporary conversions to/from<br>int/std::chrono::millisecond that should be removed with later<br>commits.<br><div> </div></div></div>