Opened 11 years ago

Closed 4 years ago

#11324 closed Bug Report - Crash (Abandoned)

SIGSEGV in EncoderLink::StopRecording

Reported by: verycoldpenguin@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.27-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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}}

Attachments (1)

myth.output18 (108.6 KB) - added by verycoldpenguin@… 11 years ago.
Traceback of crash

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by verycoldpenguin@…

Attachment: myth.output18 added

Traceback of crash

comment:1 Changed 8 years ago by Karl Egly

Type: Bug Report - GeneralBug Report - Crash
Version: Unspecified0.27-fixes

comment:2 Changed 4 years ago by Stuart Auchterlonie

Resolution: Abandoned
Status: newclosed

Closing out old tickets.

Note: See TracTickets for help on using tickets.