[mythtv] more on that commercial skipping seg fault

Kirby Vandivort kvandivo at ks.uiuc.edu
Mon Aug 11 23:43:11 EDT 2003


re: the seg fault I had last night.. I just enabled the debugging
and recreated it..  It is a recreatable error.  You have to find a
spot in the video that causes it, but once you've found it, you can
zap to it, hit the 'rewind 5 seconds' button and it will seg fault
every time.

To recap.. I'm running current cvs, and it happens when the auto
commercial skip kicks in.  With some videos it happens during the
second commercial set, with some it is later, etc.  

I've attached a backtrace and can provide any other info that would
be useful.

-- 

Kirby Vandivort                      Theoretical and Computational Biophysics 
Email: kvandivo at ks.uiuc.edu          3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/    University of Illinois
Phone: (217) 244-5711                405 N. Mathews Ave
Fax  : (217) 244-6078                Urbana, IL  61801, USA
-------------- next part --------------
mythtv/mythtv> gdb mythfrontend
GNU gdb 5.3
Copyright 2002 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 "i686-pc-linux-gnu"...
(gdb) run
Starting program: /usr/bin/mythfrontend
[New Thread 16384 (LWP 16124)]
connecting to backend server: 192.168.1.10:6543
[New Thread 32769 (LWP 1740)]
[New Thread 16386 (LWP 11524)]
[New Thread 32771 (LWP 14580)]
[New Thread 49156 (LWP 6134)]
Input #0, mpeg, from 'myth://192.168.1.10:6543/1077_20030609190000_20030609210000.nuv':
  Stream #0.0: Video: mpegvideo, 720x480, 29.97 fps, 12000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Position map found
Opening OSS audio device '/dev/sound/dsp'.
[New Thread 65541 (LWP 9134)]
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 77
[New Thread 81926 (LWP 28522)]
Changing from None to WatchingPreRecorded
Delaying to next trigger: 233882
Delaying to next trigger: 294330
Delaying to next trigger: 243261
Delaying to next trigger: 207644
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 81926 (LWP 28522)]
0x08185593 in std::less<unsigned char*>::operator()(unsigned char* const&, unsigned char* const&) const (this=0x861512c, __x=@0x8571488, __y=@0x4) at stl_function.h:197
197       bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; }
(gdb) thread apply all bt full
 
Thread 7 (Thread 81926 (LWP 28522)):
#0  0x08185593 in std::less<unsigned char*>::operator()(unsigned char* const&, unsigned char* const&) const (this=0x861512c, __x=@0x8571488, __y=@0x4) at stl_function.h:197
No locals.
#1  0x08185736 in std::_Rb_tree<unsigned char*, std::pair<unsigned char* const, XvImage*>, std::_Select1st<std::pair<unsigned char* const, XvImage*> >, std::less<unsigned char*>, std::allocator<std::pair<unsigned char* const, XvImage*> > >::lower_bound(unsigned char* const&) (this=0x8615124, __k=@0x4) at stl_tree.h:1323
        __y = (_Rb_tree_node<std::pair<unsigned char* const, XvImage*> > *) 0x8448ed8
        __x = (_Rb_tree_node<std::pair<unsigned char* const, XvImage*> > *) 0x8571478
#2  0x08185548 in std::map<unsigned char*, XvImage*, std::less<unsigned char*>, std::allocator<std::pair<unsigned char* const, XvImage*> > >::lower_bound(unsigned char* const&) (
    this=0x8615124, __x=@0x4) at stl_map.h:369
No locals.
#3  0x0818531d in std::map<unsigned char*, XvImage*, std::less<unsigned char*>, std::allocator<std::pair<unsigned char* const, XvImage*> > >::operator[](unsigned char* const&) (
    this=0x8615124, __k=@0x4) at stl_map.h:222
        __i = {<_Rb_tree_base_iterator> = {_M_node = 0x8515788}, <No data fields>}
#4  0x08184bd1 in VideoOutputXv::PrepareFrame(VideoFrame_*) (this=0x85156d0, buffer=0x0) at videoout_xv.cpp:557
        image = (XvImage *) 0x80fb3e3
#5  0x080f0713 in NuppelVideoPlayer::OldAVSync() (this=0x84786b0) at NuppelVideoPlayer.cpp:1159
        buffer = (VideoFrame *) 0x0
#6  0x080f0ee8 in NuppelVideoPlayer::OutputVideoLoop() (this=0x84786b0) at NuppelVideoPlayer.cpp:1331
        buf = (VideoFrame *) 0x8478d50
        scratchFrame = (VideoFrame *) 0x8478ce0
#7  0x080f0fd5 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*) (player=0x84786b0) at NuppelVideoPlayer.cpp:1358
No locals.
#8  0x409ccd40 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x409cce42 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
 
Thread 6 (Thread 65541 (LWP 9134)):
#0  0x40bba3d6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
 
Thread 5 (Thread 49156 (LWP 6134)):
#0  0x40bba3d6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
 
Thread 4 (Thread 32771 (LWP 14580)):
#0  0x40bba3d6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
 
Thread 3 (Thread 16386 (LWP 11524)):
#0  0x40bba3d6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
 
Thread 2 (Thread 32769 (LWP 1740)):
#0  0x40be0017 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x409cc94e in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x409ccb9a in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
 
Thread 1 (Thread 16384 (LWP 16124)):
---Type <return> to continue, or q <return> to quit---
#0  0x40bba3d6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
0x08185593      197       bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; }
(gdb) quit
The program is running.  Exit anyway? (y or n) y
mythtv/mythtv>




More information about the mythtv-dev mailing list