Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10107 closed Bug Report - General (fixed)

Segfault on Record or LiveTV

Reported by: j2@… Owned by: danielk
Priority: minor Milestone: 0.25
Component: MythTV - Recording Version: Master Head
Severity: high Keywords:
Cc: Ticket locked: no

Description

Ubuntu 10.04, HD-PVR, Current trunk.

Any attempt to use LiveTV or record makes backend crash with the follwoing in kernel.log

Oct 17 21:48:34 MythBox? kernel: [ 102.158424] mythbackend[2688]: segfault at 5 ip 011a25fc sp a8bfd860 error 4 in libmythtv-0.24.so.0.24.0[ed2000+8cd000]

Oct 17 21:48:43 MythBox? kernel: [ 111.302039] mythbackend[2697]: segfault at 8 ip 00e6c348 sp b38ff100 error 4 in libmythbase-0.24.so.0.24.0[d10000+1aa000]

Attachments (1)

gdb.txt (33.3 KB) - added by j2@… 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by j2@…

Attachment: gdb.txt added

comment:1 Changed 12 years ago by danielk

Revision #?

If you could also provide the backend log and logging options that would be helpful.

It looks like the backend was trying to print out a descriptor which wouldn't normally be printed out.

comment:2 Changed 12 years ago by j2@…

Backend log: http://plakkert.nl/IP6N2H7X (A bit to much of it maybe?)

How can I check revision? I pulled it at Mon Oct 17 18:08:52 CEST 2011 according to config.log?

comment:3 Changed 12 years ago by beirdo

mythbackend --version

comment:4 Changed 12 years ago by j2@…

mythtv@MythBox:~$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.25pre-3552-gbac6cd7
MythTV Branch : master
Network Protocol : 69
Library API : 0.25.20111017-2
QT Version : 4.6.2
Last edited 12 years ago by Raymond Wagner (previous) (diff)

comment:5 Changed 12 years ago by Github

Milestone: unknown0.25
Resolution: fixed
Status: newclosed

Fixes #10107. Segfault on bogus RegistrationDescriptor?.

The HD-PVR outputs a Registration Descriptor with a reported length of 8 bytes rather than 4, this causes the descriptor IsValid?() to be false but we weren't checking for this in a couple places we should have been leading to a segfault later on.

Branch: master Changeset: 651c5db90d36375f4123f97f0f1779110e7d60ce

comment:6 Changed 12 years ago by Github

Refs #10107. Pass through the HD-PVR RegistrationDescriptor?.

We probably shouldn't mark this as a valid descriptor. But until I've done some more investication this should keep the on disk format for HD-PVR recordings unchanged...

Branch: master Changeset: 09796b75429ce32dc4521972bb0290126d6e3816

Note: See TracTickets for help on using tickets.