[mythtv-users] Master/0.28 mythbackend segfault when playing IPTV stream on remote FE

Mark perkins1724 at hotmail.com
Wed Nov 11 11:41:01 UTC 2015


> -----Original Message-----
> From: mythtv-users [mailto:mythtv-users-bounces at mythtv.org] On Behalf
> Of Paul Harrison
> Sent: Wednesday, 11 November 2015 9:15 PM
> On 11/11/15 10:36, Paul Harrison wrote:
>>> On 11/11/15 10:13, Mark wrote:
>>> Master/0.28 mythbackend segfault when playing IPTV stream on remote
>>> FE
>
> 
> Also just to be sure do you see ssse3 in the flags from 'cat
/proc/cpuinfo'
> 
> I'm assuming that is what __memcpy_ssse3_back () will be using.
> 
> Paul H.
> _______________________________________________

Yes, I see ssse3 flags from 'cat /proc/cpuinfo'
$ cat /proc/cpuinfo | grep ssse3
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm
constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16
sse4_1 sse4_2 movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm
constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16
sse4_1 sse4_2 movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm
constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16
sse4_1 sse4_2 movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm
constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq ssse3 cx16
sse4_1 sse4_2 movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm



>> Could we see the last part the log from the master BE with '-v record'
>> logging turned on.
>>
>> Paul H.

Yes I have re-run. A quick note that it appears that it is subsequent
viewings of livetv that segfault. The very first viewing (on any FE, remote
or local) succeeds.
This is the last few lines of mythbackend log with -v general,record

[New Thread 0x7ffee4ff9700 (LWP 4405)]
[New Thread 0x7ffec67fc700 (LWP 4406)]
2015-11-11 21:50:47.917524 I  TVRec[15]: Found channel (9) on current
input(15).
2015-11-11 21:50:47.919037 I  TVRec[15]: Changing from None to
WatchingLiveTV
2015-11-11 21:50:47.919046 I  TVRec[15]:
ClearFlags(FrontendReady,CancelNextRecording,) ->
RunMainLoop,RingBufferReady, @ tv_rec.cpp:1299
2015-11-11 21:50:47.919051 I  TVRec[15]: HandleTuning Request: Program(NULL)
channel() input() flags(LiveTV,)
2015-11-11 21:50:47.921133 I  TVRec[15]: TuningShutdowns(Program(NULL)
channel(9) input() flags(LiveTV,))
2015-11-11 21:50:47.921442 I  TVRec[15]: ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,RingBufferReady, @ tv_rec.cpp:3639
2015-11-11 21:50:47.921452 I  TVRec[15]: No recorder yet, calling
TuningFrequency
2015-11-11 21:50:47.924069 I  HTTPTSSH(http://192.168.1.101:4091): ctor
[New Thread 0x7ffec6ffd700 (LWP 4408)]
[New Thread 0x7ffec5ffb700 (LWP 4407)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffec67fc700 (LWP 4406)]
0x00007ffff59f3c9f in HTTPReader::WriteBytes (this=0x7ffed00054b0) at
recorders/httptsstreamhandler.cpp:217
217	recorders/httptsstreamhandler.cpp: No such file or directory.


This is the full mythbackend log from that last run, on dropbox:
https://www.dropbox.com/s/ink3fgn4nlz4w0l/mythbackend.20151111111851.4122.lo
g

This is the full gdb.txt file from that last run, on dropbox:
https://www.dropbox.com/s/eqy15lx2i043135/gdb_2.txt

And this is the backtrace:
(gdb) bt
#0  0x00007ffff59f3c9f in HTTPReader::WriteBytes (this=0x7ffed00054b0) at
recorders/httptsstreamhandler.cpp:217
#1  0x00007ffff59f3787 in HTTPReader::HttpRead (this=0x7ffed00054b0) at
recorders/httptsstreamhandler.cpp:188
#2  0x00007ffff5ab5e7e in HTTPReader::qt_static_metacall (_o=0x7ffed00054b0,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffec67fb330) at
moc_httptsstreamhandler.cpp:68
#3  0x00007fffecd88166 in QMetaObject::activate(QObject*, int, int, void**)
() from /lib64/libQt5Core.so.5
#4  0x00007ffff7eff07e in
QNetworkReplyHttpImplPrivate::replyDownloadData(QByteArray) () from
/lib64/libQt5Network.so.5
#5  0x00007ffff7f7ed4b in
QNetworkReplyHttpImpl::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**) () from /lib64/libQt5Network.so.5
#6  0x00007fffecd89026 in QObject::event(QEvent*) () from
/lib64/libQt5Core.so.5
#7  0x00007fffecd5762d in QCoreApplication::notify(QObject*, QEvent*) ()
from /lib64/libQt5Core.so.5
#8  0x00007fffecd572d5 in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /lib64/libQt5Core.so.5
#9  0x00007fffecd592c7 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
from /lib64/libQt5Core.so.5
#10 0x00007fffecdb1e93 in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /lib64/libQt5Core.so.5
#11 0x00007fffe53a999a in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#12 0x00007fffe53a9ce8 in g_main_context_iterate.isra.24 () from
/lib64/libglib-2.0.so.0
#13 0x00007fffe53a9d9c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#14 0x00007fffecdb12bc in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt5Core.so.5
#15 0x00007fffecd5513b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#16 0x00007ffff59f2f6c in HTTPReader::DownloadStream (this=0x7ffed00054b0,
url=...) at recorders/httptsstreamhandler.cpp:159
#17 0x00007ffff59f23ca in HTTPTSStreamHandler::run (this=0x7fff84022670) at
recorders/httptsstreamhandler.cpp:112
#18 0x00007ffff4a35a6e in MThreadInternal::run (this=0x7fff84020d40) at
mthread.cpp:79
#19 0x00007fffecb6dddf in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#20 0x00007fffee0f4df5 in start_thread () from /lib64/libpthread.so.0
#21 0x00007fffebfe01ad in clone () from /lib64/libc.so.6
(gdb) 

Any further info you need just let me know and I will try and get it for
you.



More information about the mythtv-users mailing list