[mythtv-commits] Ticket #2822: Fix a segfault in livetv when switching from a digital to an analog channel

MythTV mythtv at cvs.mythtv.org
Thu Jan 18 02:34:33 UTC 2007


#2822: Fix a segfault in livetv when switching from a digital to an analog channel
-------------------------------------+--------------------------------------
 Reporter:  jedynamic at bellsouth.net  |        Owner:  danielk 
     Type:  patch                    |       Status:  reopened
 Priority:  minor                    |    Milestone:  unknown 
Component:  mythtv                   |      Version:  head    
 Severity:  low                      |   Resolution:          
-------------------------------------+--------------------------------------
Changes (by jedynamic at bellsouth.net):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 Okay, this is much tougher to reproduce then before, but I finally got it
 to crash.
 It actually happened in the same exact place as before (as I remember from
 my old crashes).
 I have attached 2 files: myth.log, gdb.txt.

 Also, I included some local variable information from the debugger for the
 current stack frame:

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread -1278170224 (LWP 29580)]
 0x00c12d10 in VideoOutput::CopyFrame (to=0xb6365a60, from=0xb63efe20) at
 videooutbase.cpp:1425
 1425            memcpy(to->buf, from->buf, from->size);

  print *to
 $1 = {codec = FMT_RGB24, buf = 0x0, width = 640, height = 480, bpp = 12,
 size = 460802, frameNumber = 0, timecode = 0, priv = {0x0, 0x0, 0x0, 0x0},
 qscale_table = 0x0, qstride = 0, interlaced_frame = 0, top_field_first =
 0, repeat_pict = 0, forcekey = 0, pitches = {0, 0, 0}, offsets = {0, 0,
 0}}
 (gdb) print *from
 $2 = {codec = FMT_YV12, buf = 0xb2fcb000 "", width = 640, height = 480,
 bpp = 12, size = 460802, frameNumber = 0, timecode = 0, priv = {0x0, 0x0,
 0x0, 0x0}, qscale_table = 0x0, qstride = 0, interlaced_frame = 1,
 top_field_first = 1, repeat_pict = 0, forcekey = 0, pitches = {640, 320,
 320}, offsets = {0, 307200, 384000}}

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2822#comment:5>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list