[mythtv] DVB mythfrontend crash with BT

Christian Hack christianh at pdd.edmi.com.au
Sat Jan 3 21:13:40 EST 2004


I get the attached backtrace after a segfault using the latest CVS.

Procedure is to simply view an old recording. The preview of the recording
works fine, but as soon as I select it to play it it segfaults. I don't have
an analogue card to try at the moment, but it would appear it may happen
with others.

I'm not sure where to start looking right now, but I do remember some
mention of the playbox stuff changing. Also I had no issues
with compiling DVB support in as Isaac mentioned might happen in recent
commits.

This occurs on files that worked fine before my recent update (last updated
about 1 week ago). This is against current CVS.

CH


2004-01-04 12:06:04 Connecting to backend server: 127.0.0.1:6543 (try 1 of
1)
[New Thread 32769 (LWP 26828)]
[New Thread 16386 (LWP 26829)]
Input #0, mpeg, from
'/mnt/store/recorded/2007_20040104093100_20040104100000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
[New Thread 32771 (LWP 26830)]
[New Thread 49156 (LWP 26831)]
[New Thread 65541 (LWP 26832)]
[New Thread 81926 (LWP 26833)]
[New Thread 98311 (LWP 26834)]
Input #0, mpeg, from
'/mnt/store/recorded/2007_20040104093100_20040104100000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
[New Thread 114696 (LWP 26835)]
Input #0, mpeg, from
'/mnt/store/recorded/2007_20040104093100_20040104100000.nuv':
  Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2004-01-04 12:06:19 Opening OSS audio device '/dev/dsp'.
[New Thread 131081 (LWP 26836)]
2004-01-04 12:06:20 Using XV port 103
2004-01-04 12:06:20 Changing from None to WatchingPreRecorded
[New Thread 147466 (LWP 26837)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 147466 (LWP 26837)]
0x8185807a in ?? ()
(gdb) thread apply all bt full

Thread 11 (Thread 147466 (LWP 26837)):
#0  0x8185807a in ?? ()
No symbol table info available.
#1  0x402f4c89 in VideoOutputXv::ProcessFrame(VideoFrame_*, OSD*,
FilterChain*, NuppelVideoPlayer*) (this=0x83e2600,
    frame=0x8516e20, osd=0x81f9190, filterList=0x840fda8, pipPlayer=0x0) at
videoout_xv.cpp:841
No locals.
#2  0x401a3da2 in NuppelVideoPlayer::OutputVideoLoop() (this=0x840e730) at
NuppelVideoPlayer.cpp:1539
        frame = (VideoFrame_ *) 0x8516e20
#3  0x401a4118 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*)
(player=0x840e730) at NuppelVideoPlayer.cpp:1630
        nvp = (NuppelVideoPlayer *) 0x840e730
#4  0x40f68881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x40f68985 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 10 (Thread 131081 (LWP 26836)):
#0  0x40f6d8cb in write () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x407e14d0 in __JCR_LIST__ () from /usr/local/lib/libmyth-0.14.so.0
No symbol table info available.
#2  0x40778a92 in AudioOutputOSS::OutputAudioLoop() (this=0x47223008) at
audiooutputoss.cpp:569
        bdiff = 505600
        bytesperframe = 6400
        space_on_soundcard = 6720
        zeros = '\0' <repeats 1023 times>
#3  0x40778b04 in AudioOutputOSS::kickoffOutputAudioLoop(void*)
(player=0x47223008) at audiooutputoss.cpp:585
No locals.
#4  0x40f68881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x40f68985 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 9 (Thread 114696 (LWP 26835)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x401a2fae in NuppelVideoPlayer::OldAVSync() (this=0x8401348) at
NuppelVideoPlayer.cpp:1362
        buffer = (VideoFrame_ *) 0x84e51f8
#3  0x401a3de8 in NuppelVideoPlayer::OutputVideoLoop() (this=0x8401348) at
NuppelVideoPlayer.cpp:1546
        frame = (VideoFrame_ *) 0x84e51f8
#4  0x401a4118 in NuppelVideoPlayer::kickoffOutputVideoLoop(void*)
(player=0x8401348) at NuppelVideoPlayer.cpp:1630
        nvp = (NuppelVideoPlayer *) 0x8401348
#5  0x40f68881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#6  0x40f68985 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 8 (Thread 98311 (LWP 26834)):
#0  0x40f6e156 in nanosleep () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x40f670e9 in pthread_cond_timedwait_relative () from
/lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40dd044b in QWaitCondition::wait(unsigned long) () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#4  0x401a0950 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x8401348,
onlyvideo=1, unsafe=false) at NuppelVideoPlayer.cpp:613
No locals.
#5  0x401a4d24 in NuppelVideoPlayer::StartPlaying() (this=0x8401348) at
NuppelVideoPlayer.cpp:1847
        output_video = 114696
        pausecheck = 0
#6  0x0807f397 in SpawnDecoder (param=0x8401348) at playbackbox.cpp:1130
        nvp = (NuppelVideoPlayer *) 0x8401348
#7  0x40f68881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#8  0x40f68985 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

Thread 7 (Thread 81926 (LWP 26833)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 6 (Thread 65541 (LWP 26832)):
#0  0x40f6aa35 in __pthread_sigsuspend () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x40f69db8 in __pthread_wait_for_restart_signal () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40f6c190 in __pthread_alt_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x40f68d77 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#4  0x4077866d in AudioOutputOSS::AddSamples(char*, int, long long)
(this=0x47223008,
    buffer=0x4570297c
"Ç\t'\ap\016U\v-\021P\016\027\020\213\016±\vb\v³\006ô\005\006\003>",
samples=1152, timecode=44542014)
    at audiooutputoss.cpp:409
        afree = 2
        len = 139513680
        bdiff = 1089936416
#5  0x401a51e4 in NuppelVideoPlayer::AddAudioData(char*, int, long long)
(this=0x840e730,
    buffer=0x4570297c
"Ç\t'\ap\016U\v-\021P\016\027\020\213\016±\vb\v³\006ô\005\006\003>",
len=4608, timecode=44542014)
    at NuppelVideoPlayer.cpp:1943
No locals.
#6  0x402a3eda in AvFormatDecoder::GetFrame(int) (this=0x83e9be0,
onlyvideo=0) at avformatdecoder.cpp:1122
        temppts = 44542014
        curstream = (AVStream *) 0x83e54b0
        pkt = (AVPacket *) 0x493006a8
        len = 0
        ret = 768
        ptr = (unsigned char *) 0x83e5490 ""
        samples = {2503, 1831, 3696, 2901, 4397, 3664, 4119, 3723, 2993,
2914, 1715, 1524, 774, 62, 220, -1093, 4, -1756, 107,
  -1841, 478, -1426, 1018, -764, 1589, -102, 2112, 467, 2606, 981, 2945,
1470, 2811, 1824, 2122, 1793, 1206, 1247, 370, 350,
  -325, -606, -804, -1414, -966, -1925, -936, -2003, -889, -1674, -734, -115
5, -361, -677, 17, -349, 125, -175, 8, -62, -122,
  127, -192, 440, -231, 795, -225, 1132, -138, 1481, 56, 1855, 308, 2163,
415, 2299, 121, 2227, -649, 1897, -1688, 1225, -2585,
  280, -2900, -573, -2458, -906, -1532, -628, -627, -28, -149, 505, -264,
689, -884, 387, -1711, -358, -2381, -1317, -2626,
  -2162, -2430, -2623, -2122, -2696, -2115, -2643, -2428, -2671, -2701, -270
3, -2676, -2587, -2333, -2300, -1685, -1830, -831,
  -1117, -128, -273, 64, 356, -256, 458, -762,
53, -1092, -479, -1063, -730, -765, -651, -449, -490, -277, -410, -273, -381
,
  -466, -403, -849, -518, -1196, -621, -1169, -479, -703, 25, -128, 733,
155, 1319, 28, 1555, -325, 1456, -647, 1196, -799, 972,
  -818, 867, -842, 781, -986, 588, -1258, 322, -1578,
64, -1819, -191, -1825, -380, -1519, -311, -1050, 52, -717, 472, -679,
  724, -843, 807, -1037, 836, -1155, 871, -1141, 875, -990, 802, -795,
646, -696, 407...}
        data_size = 4608
        pts = 44542014
        firstloop = true
        allowedquit = false
        storevideoframes = false
#7  0x401a0993 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x840e730,
onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:617
No locals.
#8  0x401a4d24 in NuppelVideoPlayer::StartPlaying() (this=0x840e730) at
NuppelVideoPlayer.cpp:1847
        output_video = 147466
        pausecheck = 0
#9  0x4023e02c in SpawnDecode(void*) (param=0x840e730) at tv_play.cpp:140
        nvp = (NuppelVideoPlayer *) 0x840e730
#10 0x40f68881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#11 0x40f68985 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 5 (Thread 49156 (LWP 26831)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x402431d8 in TV::RunTV() (this=0x8235fc0) at tv_play.cpp:853
        keypressed = (QKeyEvent *) 0x421266c0
---Type <return> to continue, or q <return> to quit---
        updatecheck = 8
#3  0x40242f4e in TV::EventThread(void*) (param=0x8235fc0) at
tv_play.cpp:821
        thetv = (TV *) 0x8235fc0
#4  0x40f68881 in pthread_start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#5  0x40f68985 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 26828)):
#0  0x420db1a7 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x40f679de in __pthread_manager () from /lib/i686/libpthread.so.0
No symbol table info available.
#2  0x40f6862b in __pthread_manager_event () from /lib/i686/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 26801)):
#0  0x420b0226 in nanosleep () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x0807fe3b in PlaybackBox::play(ProgramInfo*) (this=0xbfffe6e8,
rec=0x83f8560) at playbackbox.cpp:1306
        tvrec = (ProgramInfo *) 0x83eeb40
        db = (struct QSqlDatabase *) 0x81c0fb0
        tv = (class TV *) 0x8235fc0
        doremove = 64
        doprompt = 245
#3  0x0807fb9d in PlaybackBox::selected() (this=0xbfffe6e8) at
playbackbox.cpp:1264
No locals.
#4  0x080829ba in PlaybackBox::keyPressEvent(QKeyEvent*) (this=0xbfffe6e8,
e=0xbfffe368) at playbackbox.cpp:1814
        action = {static null = Cannot access memory at address 0x0
#0  0x8185807a in ?? ()



More information about the mythtv-dev mailing list