[mythtv-commits] Ticket #4561: Particular recording causes frontend to segfault.

MythTV mythtv at cvs.mythtv.org
Thu Jan 31 22:02:00 UTC 2008


#4561: Particular recording causes frontend to segfault.
------------------------------------------------+---------------------------
 Reporter:  Jules Bean <jules at jellybean.co.uk>  |       Owner:  ijr    
     Type:  defect                              |      Status:  new    
 Priority:  minor                               |   Milestone:  unknown
Component:  mythtv                              |     Version:  0.20.2 
 Severity:  medium                              |     Mlocked:  0      
------------------------------------------------+---------------------------
 A particular recording (recorded from Film4, UK DVB-T) causes my frontend
 to segfault if played, or even if browsed (due to playing of the preview,
 I imagine).

 This is not a common problem; I've been using myth for a couple of years
 and viewed many programmes including others recorded from the same channel
 before.

 Running the frontend with -v all gives the following output:

 {{{
 2008-01-31 21:44:59.185 RingBuf(/var/video/1029_20080129185000.mpg):
 OpenFile(/var/video/1029_20080129185000.mpg, 1)
 2008-01-31 21:44:59.185 RingBuf(/var/video/1029_20080129185000.mpg):
 CalcReadAheadThresh(4000 KB)
                          -> threshhold(146 KB) min read(32 KB) blk size(64
 KB)
 mpegts_add_stream: at pid 0x262 with type 2
 mpegts_add_stream: stream #0, has id 0x262 and codec MPEG2VIDEO, type
 Video at 0x970cf80
 mpegts_add_stream: at pid 0x263 with type 3
 mpegts_add_stream: stream #1, has id 0x263 and codec MP3, type Audio at
 0x87fbb70
 mpegts_add_stream: at pid 0x265 with type 256
 mpegts_add_stream: stream #2, has id 0x265 and codec DVB_SUBTITLE, type
 Subtitle at 0x974eb40
 mpegts_add_stream: at pid 0x264 with type 3
 mpegts_add_stream: stream #3, has id 0x264 and codec MP3, type Audio at
 0x97a07a0
 mpegts_add_stream: at pid 0x28a with type 11
 mpegts_add_stream: stream #4, has id 0x28a and codec DSMCC_B, type Data at
 0x87958b0
 mpegts_add_stream: at pid 0x28b with type 11
 mpegts_add_stream: stream #5, has id 0x28b and codec DSMCC_B, type Data at
 0x97c21a0
 mpegts_add_stream: at pid 0x28c with type 11
 mpegts_add_stream: stream #6, has id 0x28c and codec DSMCC_B, type Data at
 0x97c2dd0
 mpegts_add_stream: at pid 0x3f0 with type 11
 mpegts_add_stream: stream #7, has id 0x3f0 and codec DSMCC_B, type Data at
 0x88444a0
 mpegts_add_stream: at pid 0x3f1 with type 11
 mpegts_add_stream: stream #8, has id 0x3f1 and codec DSMCC_B, type Data at
 0x883a200
 mpegts_add_stream: at pid 0x3f2 with type 11
 mpegts_add_stream: stream #9, has id 0x3f2 and codec DSMCC_B, type Data at
 0x96f4e20
 Closing PMT Filter: pid=0x1084
 av_remove_stream 0x3f2
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=10 i=9
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x3f2
 closing filter for pid 0x3f2
 av_remove_stream: renumbering streams
 av_remove_stream 0x3f1
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=9 i=8
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x3f1
 closing filter for pid 0x3f1
 av_remove_stream: renumbering streams
 av_remove_stream 0x3f0
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=8 i=7
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x3f0
 closing filter for pid 0x3f0
 Closing PMT Filter: pid=0x3f0
 av_remove_stream: renumbering streams
 av_remove_stream 0x28c
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=7 i=6
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x28c
 closing filter for pid 0x28c
 av_remove_stream: renumbering streams
 av_remove_stream 0x28b
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=6 i=5
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x28b
 closing filter for pid 0x28b
 av_remove_stream: renumbering streams
 av_remove_stream 0x28a
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=5 i=4
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x28a
 closing filter for pid 0x28a
 av_remove_stream: renumbering streams
 av_remove_stream 0x264
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=4 i=3
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x264
 closing filter for pid 0x264
 av_remove_stream: renumbering streams
 av_remove_stream 0x265
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=3 i=2
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x265
 closing filter for pid 0x265
 av_remove_stream: renumbering streams
 av_remove_stream 0x263
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=2 i=1
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x263
 closing filter for pid 0x263
 av_remove_stream: renumbering streams
 av_remove_stream 0x262
 av_remove_stream: no change to cur_st
 av_remove_stream: removing... s->nb_streams=1 i=0
 av_remove_stream: mpegts_remove_stream
 mpegts_remove_stream 0x262
 closing filter for pid 0x262
 av_remove_stream: renumbering streams
 mpegts_add_stream: at pid 0x2bd with type 2
 mpegts_add_stream: stream #0, has id 0x2bd and codec MPEG2VIDEO, type
 Video at 0x81d99b0
 mpegts_add_stream: at pid 0x2be with type 3
 mpegts_add_stream: stream #1, has id 0x2be and codec MP3, type Audio at
 0x98048f0
 mpegts_add_stream: at pid 0x2bf with type 256
 mpegts_add_stream: stream #2, has id 0x2bf and codec DVB_SUBTITLE, type
 Subtitle at 0x9803dc0
 mpegts_add_stream: at pid 0x2c0 with type 3
 mpegts_add_stream: stream #3, has id 0x2c0 and codec MP3, type Audio at
 0x9803180
 mpegts_add_stream: at pid 0xab with type 11
 mpegts_add_stream: stream #4, has id 0xab and codec DSMCC_B, type Data at
 0x98024f0
 mpegts_add_stream: at pid 0xac with type 11
 mpegts_add_stream: stream #5, has id 0xac and codec DSMCC_B, type Data at
 0x98018c0
 mpegts_add_stream: at pid 0xfa0 with type 11
 mpegts_add_stream: stream #6, has id 0xfa0 and codec DSMCC_B, type Data at
 0x9800060
 Segmentation fault
 mythtv at champagne:~$
 }}}

 Running the same file with 'mythv' gives exactly the same output.

 My mythfrontend doesn't have debugging symbols included so the gdb output
 is less than helpful:

 {{{
 (gdb) bt
 #0  0xb5b98113 in memmove () from /lib/i686/cmov/libc.so.6
 #1  0xb73c9883 in mpegts_remove_stream () from
 /usr/lib/libmythavformat-0.20.2.so.0
 #2  0x097f9448 in ?? ()
 #3  0x00000001 in ?? ()
 #4  0x00000040 in ?? ()
 #5  0x000000bc in ?? ()
 #6  0xb7415104 in ?? () from /usr/lib/libmythavformat-0.20.2.so.0
 #7  0x00000000 in ?? ()
 }}}

 I'm using this version of myth:

 {{{
 ii  mythtv                     0.20.2.svn20071021-0.2     A personal video
 recorder application (client and server)
 }}}

 from the debian-multimedia repository.

 I will save the file for now, and can upload all or part of it if that
 helps. Happy to also try different version of mythtv, or recompile with
 debugging symbols, etc, just let me know.

 Thanks for a great product!

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4561>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list