[mythtv] Re: PVR-250 freezes when live tv buffer is full
W Jason McMillon
jason_mcmillon at yahoo.com
Tue Jun 3 20:52:45 EDT 2003
Here is a the backtrace information from the frontend:
(gdb) run
Starting program: /usr/local/bin/mythfrontend
[New Thread 16384 (LWP 2853)]
Xlib: extension "GLX" missing on display
"localhost:0.0".
Xlib: extension "GLX" missing on display
"localhost:0.0".
connecting to backend server: 192.168.0.3:6543
[New Thread 32769 (LWP 2856)]
[New Thread 16386 (LWP 2857)]
Changing from None to WatchingLiveTV
[New Thread 32771 (LWP 2861)]
[New Thread 49156 (LWP 2862)]
Input #0, mpeg, from
'rbuf://192.168.0.3:6543/home/mythtv/video/ringbuf15.nuv':
Stream #0.0: Video: mpegvideo, 480x480, 29.97 fps,
16000 kb/s
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
audio device cannot report buffer state accurately,
audio/video sync will be bad, continuing anyway
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0,
YOff: 0
Using XV port 53
[New Thread 65541 (LWP 2863)]
[New Thread 81926 (LWP 2864)]
Video timing method: next trigger
Program received signal SIGINT, Interrupt.
[Switching to Thread 81926 (LWP 2864)]
0x40b36be6 in nanosleep () from /lib/i686/libc.so.6
Current language: auto; currently c
(gdb) apply all bt full.
Undefined command: "apply". Try "help".
(gdb) thread apply all bt full.
Thread 7 (Thread 81926 (LWP 2864)):
No symbol "full" in current context.
(gdb) thread apply all bt full
Thread 7 (Thread 81926 (LWP 2864)):
#0 0x40b36be6 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 2863)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 5 (Thread 49156 (LWP 2862)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 4 (Thread 32771 (LWP 2861)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000001 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2 0x08122570 in RingBuffer::ReadFromBuf(void*, int)
(this=0x8490430,
buf=0x861cc30, count=32768) at RingBuffer.cpp:811
readone = false
avail = 25600
#3 0x08122802 in RingBuffer::Read(void*, int)
(this=0x8490430, buf=0x861cc30,
count=32768) at RingBuffer.cpp:877
ret = -1
#4 0x08158839 in read_avf(URLContext*, unsigned
char*, int) (h=0x847cc6c,
buf=0x861cc30 "", buf_size=32768) at
avformatdecoder.cpp:121
dec = (AvFormatDecoder *) 0x847cc28
#5 0x08167c61 in url_read ()
No symbol table info available.
#6 0x081588cb in avf_read_packet (opaque=0x847cc6c,
buf=0x861cc30 "",
buf_size=32768) at avformatdecoder.cpp:164
h = (URLContext *) 0x847cc6c
#7 0x0816858d in fill_buffer ()
No symbol table info available.
#8 0x08168612 in get_byte ()
No symbol table info available.
#9 0x0816c6bc in find_start_code ()
No symbol table info available.
#10 0x0816c80f in mpegps_read_packet ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#11 0x0816fc12 in av_read_packet ()
No symbol table info available.
#12 0x081593d2 in AvFormatDecoder::GetFrame(int)
(this=0x847cc28, onlyvideo=0)
at avformatdecoder.cpp:442
pts_set = false
curstream = (AVStream *) 0x847d040
pkt = {pts = 0, data = 0x0, size = 0,
stream_index = 0, flags = 0,
duration = 1114499540, startpos = 20314126,
destruct = 0x816f55c <av_destruct_packet>, priv =
0x0}
len = 0
ret = 2024
ptr = (unsigned char *) 0x8728688 ""
samples = {2210, 2234, -3970, -3999, 1387,
1415, 2289, 2269, -3815,
-3830, 800, 815, 2660, 2655, -3680, -3639, 297, 267,
3091, 3111, -3611,
-3616, 208, 202, 3366, 3385, -3293, -3350, 12, 36,
3342, 3339, -2942, -2910,
-526, -522, 3626, 3595, -2690, -2641, -1113, -1138,
3967, 3990, -2454,
-2499, -1275, -1294, 4018, 4069, -2074, -2100,
-1476, -1430, 3867, 3830,
-1482, -1465, -1884, -1863, 3881, 3853, -1137,
-1090, -2340, -2387, 3949,
4007, -996, -1011, -2577, -2627, 3687, 3704, -872,
-920, -2940, -2853, 3301,
3286, -345, -340, -3231, -3222, 3269, 3209, 216,
259, -3458, -3538, 3281,
3324, 588, 618, -3547, -3537, 2908, 2983, 831, 756,
-3652, -3596, 2424,
2406, 1245, 1252, -3787, -3755, 2175, 2126, 1779,
1857, -3783, -3860, 1971,
---Type <return> to continue, or q <return> to quit---
1983, 2002, 2003, -3822, -3861, 1580, 1653, 2211,
2161, -3782, -3717, 1109,
1063, 2595, 2567, -3602, -3561, 780, 721, 2970,
3030, -3521, -3580, 372,
413, 3089, 3097, -3505, -3567, -98, -27, 3177, 3132,
-3202, -3163, -351,
-385, 3438, 3457, -2867, -2817, -730, -811, 3649,
3716, -2676, -2699, -1185,
-1171, 3747, 3726, -2535, -2555, -1596, -1513, 3724,
3653, -2204, -2182,
-1876, -1881, 3777, 3803, -1663, -1647, -2247,
-2306, 3741, 3809, -1289,
-1339, -2547, -2536, 3811, 3822, -1048, -1058,
-2877, -2858, 3593, 3552,
-717, -637, -2998, -3028...}
data_size = 0
gotvideo = false
#13 0x080d0c14 in NuppelVideoPlayer::GetFrame(int,
bool) (this=0x41de4008,
onlyvideo=0, unsafe=false) at
NuppelVideoPlayer.cpp:819
No locals.
#14 0x080d2e12 in NuppelVideoPlayer::StartPlaying()
(this=0x41de4008)
at NuppelVideoPlayer.cpp:1822
output_audio = 65541
output_video = 81926
pausecheck = 0
#15 0x0813482f in SpawnDecode(void*)
(param=0x41de4008) at tv_play.cpp:118
nvp = (NuppelVideoPlayer *) 0x41de4008
#16 0x40962811 in pthread_start_thread () from
/lib/i686/libpthread.so.0
No symbol table info available.
#17 0x40962915 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 3 (Thread 16386 (LWP 2857)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 2 (Thread 32769 (LWP 2856)):
#0 0x40b5e537 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1 0x4096196e in __pthread_manager () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2 0x40961bbb in __pthread_manager_event () from
/lib/i686/libpthread.so.0
No symbol table info available.
Thread 1 (Thread 16384 (LWP 2853)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
and the backtrace of the backend after going into
./setup and increasing the live tv buffer in order to
get the system to hang again:
Starting program: /usr/local/bin/mythbackend
[New Thread 16384 (LWP 2291)]
Starting up as the master server.
Probed: /dev/v4l/video0 - Composite 0
Probed: /dev/v4l/video0 - Composite 1
Probed: /dev/v4l/video0 - Composite 2
Probed: /dev/v4l/video0 - Composite 3
Probed: /dev/v4l/video0 - Tuner 0
Probed: /dev/v4l/video0 - Composite 4
Probed: /dev/v4l/video0 - S-Video 0
Probed: /dev/v4l/video0 - S-Video 1
Probed: /dev/v4l/video0 - S-Video 2
Probed: /dev/v4l/video0 - S-Video 3
[New Thread 32769 (LWP 2297)]
[New Thread 16386 (LWP 2298)]
[New Thread 32771 (LWP 2299)]
[New Thread 49156 (LWP 2300)]
[New Thread 65541 (LWP 2301)]
[New Thread 81926 (LWP 2302)]
[New Thread 98311 (LWP 2303)]
[New Thread 114696 (LWP 2304)]
2003-06-03 21:45:18 adding: hostname as a player 1
2003-06-03 21:45:25 adding: hostname as a player 0
[New Thread 131081 (LWP 2342)]
2003-06-03 21:45:25 adding: hostname as a player 0
2003-06-03 21:45:26 adding: hostname as a remote
ringbuffer
[New Thread 147466 (LWP 2343)]
2003-06-03 21:45:26 WARNING: Capture device /dev/dsp
is not reporting full dupl
ex capability.
See docs/mythtv-HOWTO, section 18 for more
information.
Changing from None to WatchingLiveTV
[New Thread 163851 (LWP 2344)]
Backend stuffed up in RequestRingBufferBlock
Backend stuffed up in RequestRingBufferBlock
Backend stuffed up in RequestRingBufferBlock
Program received signal SIGINT, Interrupt.
[Switching to Thread 147466 (LWP 2343)]
0x40b36be6 in nanosleep () from /lib/i686/libc.so.6
Current language: auto; currently c
(gdb) thread apply all bt full
Thread 12 (Thread 163851 (LWP 2344)):
#0 0x409677cb in read () from
/lib/i686/libpthread.so.0
No symbol table info available.
#1 0x08371f40 in ?? ()
No symbol table info available.
#2 0x080a7f46 in SpawnEncode(void*) (param=0x8371f40)
at tv_rec.cpp:33
nvr = (class RecorderBase *) 0x8371f40
#3 0x40962811 in pthread_start_thread () from
/lib/i686/libpthread.so.0
No symbol table info available.
#4 0x40962915 in pthread_start_thread_event () from
/lib/i686/libpthread.so.0
No symbol table info available.
Thread 11 (Thread 147466 (LWP 2343)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 10 (Thread 131081 (LWP 2342)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
Thread 9 (Thread 114696 (LWP 2304)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 8 (Thread 98311 (LWP 2303)):
#0 0x40ab1568 in sigsuspend () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x40964478 in __pthread_wait_for_restart_signal ()
from /lib/i686/libpthread.so.0
No symbol table info available.
#2 0x40960c5b in pthread_cond_wait at GLIBC_2.0 () from
/lib/i686/libpthread.so.0
No symbol table info available.
Thread 7 (Thread 81926 (LWP 2302)):
#0 0x40ab1568 in sigsuspend () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x40964478 in __pthread_wait_for_restart_signal ()
from /lib/i686/libpthread.so.0
No symbol table info available.
#2 0x40960c5b in pthread_cond_wait at GLIBC_2.0 () from
/lib/i686/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
Thread 6 (Thread 65541 (LWP 2301)):
#0 0x40ab1568 in sigsuspend () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x40964478 in __pthread_wait_for_restart_signal ()
from /lib/i686/libpthread.so.0
No symbol table info available.
#2 0x40960c5b in pthread_cond_wait at GLIBC_2.0 () from
/lib/i686/libpthread.so.0
No symbol table info available.
Thread 5 (Thread 49156 (LWP 2300)):
#0 0x40ab1568 in sigsuspend () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x40964478 in __pthread_wait_for_restart_signal ()
from /lib/i686/libpthread.so.0
No symbol table info available.
#2 0x40960c5b in pthread_cond_wait at GLIBC_2.0 () from
/lib/i686/libpthread.so.0
No symbol table info available.
Thread 4 (Thread 32771 (LWP 2299)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
Thread 3 (Thread 16386 (LWP 2298)):
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 2 (Thread 32769 (LWP 2297)):
#0 0x40b5e537 in poll () from /lib/i686/libc.so.6
No symbol table info available.
#1 0x4096196e in __pthread_manager () from
/lib/i686/libpthread.so.0
No symbol table info available.
#2 0x40961bbb in __pthread_manager_event () from
/lib/i686/libpthread.so.0
No symbol table info available.
Thread 1 (Thread 16384 (LWP 2291)):
#0 0x40b5fef1 in select () from /lib/i686/libc.so.6
No symbol table info available.
#1 0x4094f064 in typeinfo for QMotifStyle ()
from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
Cannot access memory at address 0x14
#0 0x40b36be6 in nanosleep () from
/lib/i686/libc.so.6
any ideas?
jason
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
More information about the mythtv-dev
mailing list