<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 17 Jul 2020 at 17:38, David Hampton <<a href="mailto:mythtv@love2code.net">mythtv@love2code.net</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 Fri, 2020-07-17 at 14:26 +0200, Thomas Börkel wrote:<br>
> Hi all,<br>
> <br>
> I just upgraded from mythtv 30.0 to 31.0 (fixes) on Gentoo and now I<br>
> get<br>
> a segfault when it is tuning a channel.<br>
> <br>
> Happens when EIT scan starts or when I start Live TV. Did not test<br>
> recording yet.<br>
> <br>
> Output in gdb for Live TV:<br>
> <br>
> Thread 8 "TVRecEvent" received signal SIGSEGV, Segmentation fault.<br>
> [Switching to Thread 0x7fe57b7fe700 (LWP 30677)]<br>
> 0x00007fe5a4651a6c in ?? () from /usr/lib64/libmythtv-31.so.31<br>
> <br>
> Attaching full gdb.txt.<br>
> <br>
> After upgrading, I went into mythtv-setup and noticed that the<br>
> "DVBInput" is configured as capture cards delivery system, which is<br>
> not<br>
> an option in the select box. So, I changed that to "DVB-S2". But that<br>
> did not change anything regarding the crash.<br>
> <br>
> Any hints would be greatly appreciated.<br>
<br>
I'm assuming that everything before line 480 is old cruft as it<br>
reference a Qt4 library.  Qt4 hasn't been supported since 0.27.  If<br>
those aren't old stack traces, start there. Current MythTV requires<br>
Qt5.<br>
<br>
The last stack frame in the file crashed here:<br>
<br>
Thread 8 (Thread 0x7fe57b7fe700 (LWP 30677)):<br>
#0  0x00007fe5a4651a6c in  () at /usr/lib64/libmythtv-31.so.31<br>
#1  0x00007fe5a46523cf in  () at /usr/lib64/libmythtv-31.so.31<br>
#2  0x00007fe5a465c036 in  () at /usr/lib64/libmythtv-31.so.31<br>
#3  0x00007fe5a448966d in  () at /usr/lib64/libmythtv-31.so.31<br>
#4  0x00007fe5a4531371 in TVRec::SetupSignalMonitor(bool, bool, bool)<br>
() at /usr/lib64/libmythtv-31.so.31<br>
#5  0x00007fe5a45384f0 in TVRec::TuningFrequency(TuningRequest const&)<br>
() at /usr/lib64/libmythtv-31.so.31<br>
#6  0x00007fe5a453d63c in TVRec::HandleTuning() () at<br>
/usr/lib64/libmythtv-31.so.31<br>
#7  0x00007fe5a453da67 in TVRec::run() () at /usr/lib64/libmythtv-<br>
31.so.31<br>
#8  0x00007fe5a3afc887 in MThread::run() () at /usr/lib64/libmythbase-<br>
31.so.31<br>
#9  0x00007fe5a27aaf4c in  () at /usr/lib64/libQt5Core.so.5<br>
#10 0x00007fe5a36c9f27 in start_thread () at /lib64/libpthread.so.0<br>
#11 0x00007fe5a2393b7f in clone () at /lib64/libc.so.6<br>
<br>
This looks wrong as gdb should have names for all the functions in<br>
libmythtv-31. Is this a stripped image? Can you build an image with<br>
debug symbols still present? That would be extremely helpful.<br>
<br>
David<br>
<br>
<br><br></blockquote><div>There is one known bug in v31 that causes crashing in a similar way and that happens when the dvb loopback driver is used instead of a real driver.</div><div>If that is the case then you have to stay with v30 until it is fixed or recompile v31 with a patch.</div><div><br></div><div>Klaas. </div><div><br></div></div></div>