Opened 9 years ago

Closed 9 years ago

Last modified 9 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


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[ed2000+8cd000]

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

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by j2@…

Attachment: gdb.txt added

comment:1 Changed 9 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 9 years ago by j2@…

Backend log: (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 9 years ago by beirdo

mythbackend --version

comment:4 Changed 9 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 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_v4l1 using_x11 using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg


Version 0, edited 9 years ago by j2@… (next)

comment:5 Changed 9 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 9 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.