Mailing List Archive

Ticket #11324: SIGSEGV in EncoderLink::StopRecording
#11324: SIGSEGV in EncoderLink::StopRecording
-------------------------------+--------------------------------------
Reporter: verycoldpenguin@… | Type: Bug Report - General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - General
Version: Unspecified | Severity: medium
Keywords: | Ticket locked: 0
-------------------------------+--------------------------------------
MythTV Version : v0.27-pre2-505-g08ad6ce-dirty
I think that this has happened twice since updating to the latest head
last night (didn't manage to save the capture from the previous core
dump).

System was probably just recording something, and then stopped.
Master backend only has a 'file' recording device. There is one currently
connected slave backend, which has one DVB-T USB device with 2 'recorders'
using multirec.

I do have the patch (patch2) from #11318 applied, but not #11316 (yet)
The patch from me adds extra logging to the data received from the remote
slave (the CP/CP2 logs), and silently 'drops' any data received in the
string list which is not divisible by 8. This allows it to survive the
segfault which I was originally seeing.


Crash report attached, interesting part is:


{{{
Thread 1 (Thread 0x7ffff7fd6760 (LWP 15011)):
#0 0x00007fffef231dd7 in QDateTime::operator=(QDateTime const&) () from
/usr/local/Trolltech/Qt-4.8.4/lib/libQtCore.so.4
No symbol table info available.
#1 0x0000000000449626 in EncoderLink::StopRecording (this=0x0,
killFile=false) at encoderlink.cpp:457
No locals.
#2 0x000000000047e9dc in MainServer::DoHandleStopRecording
(this=0x895720, recinfo=..., pbs=0x0) at mainserver.cpp:2460
num = 22200000
slave = 0x7fffa409ab60
pbssock = 0x0
recnum = 32767
iter = {i = 0x8e56b0}
#3 0x000000000047f5ce in MainServer::DoHandleDeleteRecording
(this=0x895720, recinfo=..., pbs=0x0, forceMetadataDelete=false,
expirer=true, forgetHistory=false) at mainserver.cpp:2584
resultCode = -1
pbssock = 0x0
__FUNCTION__ = "DoHandleDeleteRecording"
fileExists = false
justexpire = false
filename = {static null = {<No data fields>}, static shared_null =
{ref = {_q_value = 2228}, alloc = 0, size = 0, data = 0x7fffef67b9ba,
clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
1080}, alloc = 0, size = 0, data = 0x7fffef67b9da, clean = 0, simpletext =
0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array =
{0}}, d = 0x8ece70, static codecForCStrings = 0x0}
checkFile = <incomplete type>
#4 0x000000000046e221 in MainServer::customEvent (this=0x895720,
e=0x7fffac03f4f0) at mainserver.cpp:1031
tokens = {<QList<QString>> = {{p = {static shared_null = {ref =
{_q_value = 943}, alloc = 0, begin = 0, end = 0, sharable = 1, array =
{0x0}}, d = 0x8e51c0}, d = 0x8e51c0}}, <No data fields>}
startts = {d = {d = 0x898490}}

}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11324>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #11324: SIGSEGV in EncoderLink::StopRecording [ In reply to ]
#11324: SIGSEGV in EncoderLink::StopRecording
--------------------------------+----------------------------
Reporter: verycoldpenguin@… | Owner:
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.27-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------+----------------------------
Changes (by dekarl):

* version: Unspecified => 0.27-fixes
* type: Bug Report - General => Bug Report - Crash


--
Ticket URL: <https://code.mythtv.org/trac/ticket/11324#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits
Re: Ticket #11324: SIGSEGV in EncoderLink::StopRecording [ In reply to ]
#11324: SIGSEGV in EncoderLink::StopRecording
--------------------------------+----------------------------
Reporter: verycoldpenguin@… | Owner: (none)
Type: Bug Report - Crash | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.27-fixes
Severity: medium | Resolution: Abandoned
Keywords: | Ticket locked: 0
--------------------------------+----------------------------
Changes (by Stuart Auchterlonie):

* status: new => closed
* resolution: => Abandoned


Comment:

Closing out old tickets.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/11324#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center