Opened 11 years ago

Closed 11 years ago

#8231 closed defect (fixed)

LiveTV Segfaults when a channel is selected

Reported by: nathan smith <tsx_5@…> Owned by: stuartm
Priority: critical Milestone: 0.24
Component: MythTV - General Version: head
Severity: high Keywords:
Cc: Ticket locked: no


This segfault is repeatable (for me) by starting livetv, which brings up the guide, and then selecting a channel -- which causes it to immediately fail. Up till that point, sound and video seem are working. I am using SVN updated today. GDB.txt will be attached.

Attachments (1)

gdb.txt (54.3 KB) - added by nathan smith <tsx_5@…> 11 years ago.
sefault gdb file with bt

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by nathan smith <tsx_5@…>

Attachment: gdb.txt added

sefault gdb file with bt

comment:1 Changed 11 years ago by nathan smith <tsx_5@…>

The gdb.txt is *edited* -- I cut out about 65M of data.... However, It's just a whole lot of a single line being repeated.

#19069 0x0819d7e5 in GuideGrid::GetChannelInfo? (this=0xab1ef110, chan_idx=50, sel=0) at guidegrid.cpp:647

Only the first number increments.

comment:2 Changed 11 years ago by paulh

Can you add the output from mythfrontend --version

comment:3 Changed 11 years ago by nathan smith <tsx_5@…>


# mythfrontend --version Please include all output in bug reports. MythTV Version : 23820M MythTV Branch : trunk Network Protocol : 56 Library API : 0.23.20100326-1 QT Version : 4.5.3 Options compiled in:

linux debug using_oss using_alsa using_pulse using_jack using_pulseoutput using_backend using_directfb using_dvb using_firewire using_fribidi using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg

comment:4 Changed 11 years ago by stuartm

Milestone: 0.230.24
Owner: changed from Isaac Richards to stuartm
Status: newaccepted

comment:5 Changed 11 years ago by stuartm

Resolution: fixed
Status: acceptedclosed

(In [23821]) Quick fix to the loop created by [23802] when changing channels in livetv via the guide grid. The cast that the original commit removed seems like a hack, or at least a trick I'm not aware of which allowed a const function to call a non-const function, if we can confirm that it's legimate then it may be re-instated but for now I've just duplicated the non-const GetChannelInfo?() for the sake of expendiency. Fixes #8231

Note: See TracTickets for help on using tickets.