[mythtv] XVMC backtrace

Simon at the Threshold dweller at the-threshold.org
Mon Mar 8 17:40:22 EST 2004


Lo there,

As requested the backtrace of a common segv when watching pre-recording 
video. I assume that glitches are being introduced into the nuv file 
from my dvb-t nova-t cards (Mt digital signal quality isn't so hot) and 
mythtv croaks.  I've never had a problem with watching the same files 
using mplayer or xine but they are not as hot as mythtv.

Regards
Simon

GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host 
libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/bin/mythfrontend
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 12038)]
2004-03-08 22:34:42 mythfrontend version: 0.15.20040303-1 www.mythtv.org
2004-03-08 22:34:42 Enabled verbose msgs : important general
2004-03-08 22:34:42 Registering Internal as a media playback plugin.
Unable to initialize plugin 'mythdvd'.
2004-03-08 22:34:43 Registering MythMusic Media Handler as a media handler
2004-03-08 22:35:05 Connecting to backend server: 127.0.0.1:6543 (try 1 
of 1)
2004-03-08 22:35:05 Using protocol version 4
2004-03-08 22:35:06 Using protocol version 4
[New Thread 32769 (LWP 12072)]
[New Thread 16386 (LWP 12073)]
[New Thread 32771 (LWP 12074)]
[New Thread 49156 (LWP 12075)]
Input #0, mpeg, from '/mnt/store//1004_20040306001500_20040306004500.nuv':
   Stream #0.0: Video: mpegvideo_xvmc, 704x576, 25.00 fps
   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
2004-03-08 22:35:10 Opening OSS audio device '/dev/adsp'.
[New Thread 65541 (LWP 12076)]
Using XvMC version: 1.0
2004-03-08 22:35:10 Using XV port 210
[New Thread 81926 (LWP 12077)]
2004-03-08 22:35:10 Changing from None to WatchingPreRecorded
Unknown conversion
Unknown conversion
2004-03-08 22:35:27 GetNextFreeFrame() served a busy frame. Dropping. 
#Frames=4/7.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 81926 (LWP 12077)]
0x0036cb16 in XvMCPutSurface () from 
/usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1
(gdb) thread apply all bt full

Thread 7 (Thread 81926 (LWP 12077)):
#0  0x0036cb16 in XvMCPutSurface ()
    from /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1
No symbol table info available.

Thread 6 (Thread 65541 (LWP 12076)):
#0  0x00f10726 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 5 (Thread 49156 (LWP 12075)):
#0  0x00f10726 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 4 (Thread 32771 (LWP 12074)):
#0  0x00e90b31 in kill () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00a1aa3e in __pthread_restart_new () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x00a1c814 in __pthread_alt_unlock () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x00a196bc in pthread_mutex_unlock () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x006e82d6 in VideoOutputXvMC::InputChanged(int, int, float) (
     this=0x91ff2d0, width=704, height=576, aspect=1.33333337)
     at videoout_xvmc.cpp:149
No locals.
#5  0x0056b504 in NuppelVideoPlayer::ReinitVideo() (this=0x9117258)
     at NuppelVideoPlayer.cpp:396
No locals.
#6  0x00661270 in AvFormatDecoder::MpegPreProcessPkt(AVStream*, AVPacket*) (
     this=0x9117848, stream=0x911aef0, pkt=0xbd9e2fd0)
     at avformatdecoder.cpp:900
         test = (
     unsigned char *) 0xbd715678 
",\002@#$\237#Y\020\021\021\022\022\022\023\023\023\023\024\024\024\024\024\025\025\025\025\025\025\026\026\026\026\026\026\026\027\027\027\027\027\027\027\027\030\030\030\031\030\030\030\031\032\032\032\032\031\e\e\e\e\e\034\034\034\034\036\036\036\037\037!"
         aspectratioinfo = 2
         aspect = 1.33333337
         width = 704
         height = 576
         context = (AVCodecContext *) 0x911aef8
         bufptr = (
     unsigned char *) 0xbd715678 
",\002@#$\237#Y\020\021\021\022\022\022\023\023\023\023\024\024\024\024\024\025\025\025\025\025\025\026\026\026\026\026\026\026\027\027\027\027\027\027\027\027\030\030\030\031\030\030\030\031\032\032\032\032\031\e\e\e\e\e\034\034\034\034\036\036\036\037\037!"
         state = 435
         v = 179
         prvcount = 138
#7  0x00661858 in AvFormatDecoder::GetFrame(int) (this=0x9117848, 
onlyvideo=0)
     at avformatdecoder.cpp:1069
         context = (AVCodecContext *) 0x911aef8
         curstream = (AVStream *) 0x911aef0
         pkt = (AVPacket *) 0xbd9e2fd0
         len = 18813
         ret = 0
         ptr = (unsigned char *) 0xbd7155f0 ""
         samples = {-6, 15, -6, 15, -5, 16, -4, 16, -5, 15, -6, 15, -5, 
16, -5,
   15, -6, 16, -5, 17, -5, 16, -5, 16, -4, 16, -5, 15, -6, 16, -5, 17, 
-5, 17,
   -6, 16, -5, 16, -6, 15, -6, 16, -5, 16, -6, 16, -5, 16, -5, 16, -6, 
16, -6,
   17, -5, 17, -5, 16, -5, 16, -5, 17, -6, 16, -5, 15, -5, 15, -5, 16, 
-5, 17,
   -5, 16, -6, 15, -6, 16, -5, 16, -5, 16, -5, 15, -5, 16, -5, 17, -5, 
16, -5,
   15, -5, 16, -5, 15, -5, 16, -4, 16, -5, 15, -6, 16, -5, 15, -5, 14, 
-5, 17,
   -4, 17, -5, 15, -6, 15, -5, 15, -5, 15, -5, 16, -5, 17, -5, 16, -5, 
16, -5,
   16, -6, 16, -5, 17, -5, 17, -5, 16, -5, 16, -5, 16, -6, 16, -5, 17, 
-6, 16,
---Type <return> to continue, or q <return> to quit---
   -6, 16, -6, 17, -6, 17, -5, 16, -5, 16, -6, 16, -5, 17, -5, 17, -6, 
16, -6,
   16, -5, 16, -6, 16, -6, 16, -5, 16, -5, 16, -5, 17, -5, 17, -5, 16, 
-5, 16,
   -5, 17, -6, 17, -6, 16, -5, 15, -4, 16, -5, 16, -5, 15...}
         data_size = 0
         pts = 0
         firstloop = false
         allowedquit = false
         storevideoframes = false
#8  0x0056c4b7 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x9117258,
     onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:648
No locals.
#9  0x0057098e in NuppelVideoPlayer::StartPlaying() (this=0x9117258)
     at NuppelVideoPlayer.cpp:1924
         output_video = 81926
         pausecheck = 0
#10 0x006033b4 in SpawnDecode(void*) (param=0x9117258) at tv_play.cpp:160
         nvp = (NuppelVideoPlayer *) 0x9117258
#11 0x00a18db2 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#12 0x00a18f45 in pthread_start_thread_event () from 
/lib/i686/libpthread.so.0
No symbol table info available.
#13 0x00f4579a in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 3 (Thread 16386 (LWP 12073)):
#0  0x00f10726 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.

Thread 2 (Thread 32769 (LWP 12072)):
#0  0x00f3c6fa in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00a17d1a in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x00a17fea in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x00f4579a in clone () from /lib/i686/libc.so.6
No symbol table info available.

Thread 1 (Thread 16384 (LWP 12038)):
#0  0x00f10726 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#0  0x0036cb16 in XvMCPutSurface ()
    from /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1


-- 
I remember when legal used to mean lawful, now it means some
kind of loophole.
		-- Leo Kessler



More information about the mythtv-dev mailing list