[mythtv] Crash on leaving mythtv-setup in today's master (F31)

David Hampton mythtv at love2code.net
Fri Jul 3 21:51:52 UTC 2020


On Fri, 2020-07-03 at 17:16 -0400, David Hampton wrote:
> On Fri, 2020-07-03 at 17:02 -0400, Peter Bennett wrote:
> > On 7/3/20 3:57 PM, John Pilkington wrote:
> > > I've been having DB issues but this looks unrelated:
> > > 
> > > {{{
> > > 
> > > 2020-07-03 20:29:52.920976 I  OpenGL: Using full range output
> > > 2020-07-03 20:29:52.922564 I  MythUIHelper: Pruning cache
> > > directory: 
> > > /home/john/.mythtv/cache/remotecache
> > > 2020-07-03 20:29:52.922697 I  MythUIHelper: Kept 14 files,
> > > deleted
> > > 0 
> > > files, stat error on 0 files
> > > 2020-07-03 20:29:52.922708 I  MythUIHelper: Pruning cache
> > > directory: 
> > > /home/john/.mythtv/cache/thumbnails
> > > 2020-07-03 20:29:52.922770 I  MythUIHelper: Kept 0 files, deleted
> > > 0 
> > > files, stat error on 0 files
> > > 2020-07-03 20:29:53.291083 E  CECAdapter: Failed to find any CEC
> > > devices.
> > > 2020-07-03 20:29:53.791628 I  CECAdapter: Closing down CEC.
> > > 2020-07-03 20:29:53.795418 I  Current MythTV Schema Version 
> > > (DBSchemaVer): 1363
> > > /usr/include/c++/9/bits/stl_vector.h:1060: std::vector<_Tp, 
> > > _Alloc>::const_reference std::vector<_Tp, 
> > > _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const
> > > [with 
> > > _Tp = CHANLISTS; _Alloc = std::allocator<CHANLISTS>;
> > > std::vector<_Tp, 
> > > _Alloc>::const_reference = const CHANLISTS&; std::vector<_Tp, 
> > > _Alloc>::size_type = long unsigned int]: Assertion 
> > > '__builtin_expect(__n < this->size(), true)' failed.
> > > Handling Aborted
> > > Aborted (core dumped)
> > > }}}
> > > 
> > I see you have the database upgrade from today (1363). I tried
> > starting 
> > mythtv-setup and exiting again, it was fine. This is Xubuntu 20.04.
> > The 
> > problem may be something related to your environment.
> 
> Could have been my C++ array change.  I tested it a while ago but
> hadn't tested it recently. I'll try it again with Peter's version
> bump.

John,

Looking at the actual warning, this appears to be conversion of the
channel list array from a C array to a C++ array. I'm surprised though,
as I ran mythtv-setup and scanned channels this morning before
committing. What commands are you running in mythtv-setup?

I just tried running mythtv-setup again, deleted all capture cards and
video sources, reinput that info, and scanned for channels.  I don't
get a crash.

Is it possible for you to send me a stack trace?

David




More information about the mythtv-dev mailing list