[mythtv] Backtrace: Segfault playing back mpeg2
Edward Wildgoose
edward.wildgoose at frmhedge.com
Wed Oct 15 23:38:33 EDT 2003
Using CVS from a few hours ago I had the following segfault when playing
back a recording.
I'm guessing that a corrupt mpeg stream could be a factor? The recording
source was a DVB card (haven't tried mplayer on this stream).
Can anyone make anything useful out of this backtrace?
Thanks
Ed W
-------------- next part --------------
Changing from None to WatchingPreRecorded
Video has changed: 805 22085
2003-10-15 22:04:07 prebuffering pause
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 278546 (LWP 14213)]
0x081ed115 in av_reduce (dst_nom=0x1c, dst_den=0x1ec, nom=0, den=1, max=1073741824) at utils.c:676
676 *dst_nom = nom;
Current language: auto; currently c
(gdb) thread apply all bt full
Thread 22 (Thread 327701 (LWP 14216)):
#0 0x40bd4566 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 21 (Thread 311316 (LWP 14215)):
#0 0x40bd4566 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 20 (Thread 294931 (LWP 14214)):
#0 0x40bd4566 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
Thread 19 (Thread 278546 (LWP 14213)):
#0 0x081ed115 in av_reduce (dst_nom=0x1c, dst_den=0x1ec, nom=0, den=1, max=1073741824) at utils.c:676
exact = 1
sign = 0
gcd = 1001
larger = 1
#1 0x08297e3f in mpeg_decode_sequence_extension (s=0x42c03710) at mpeg12.c:1768
horiz_size_ext = 2
vert_size_ext = 2
bit_rate_ext = 3018
vbv_buf_ext = 0
frame_rate_ext_n = 0
frame_rate_ext_d = 0
level = 5
profile = 6
aspect = 1.12942368e-20
#2 0x082984c5 in mpeg_decode_extension (avctx=0x85a3e48, buf=0x42c1df42 "\036UW\224", buf_size=150) at mpeg12.c:1888
s1 = (Mpeg1Context *) 0x42c03710
s = (MpegEncContext *) 0x42c03710
ext_type = 1
#3 0x08299e86 in mpeg_decode_frame (avctx=0x85a3e48, data=0x4aff78ec, data_size=0x4aff78e8,
---Type <return> to continue, or q <return> to quit---
buf=0x42c1dec0 "\021¢\r8k\003\032\006¦p\b¦\vT¨\211éÓ\210\eá^-rsΩA^·O\025>\e\006Åõh²P\004\020aZ\235Ì\222\203C\207A¡\"ÐøfØsD¢\232õý,Â\005IÚ,\237\020ËFö\030L:}\003Rb\032N\202!\200W¢éýFÈÛDÖ\177zë¦5RQë\223\215²\206²\230\rº)ó¹UfV", buf_size=280)
at mpeg12.c:2510
s = (Mpeg1Context *) 0x42c03710
buf_end = (uint8_t *) 0x42c1dfd8 ""
buf_ptr = (uint8_t *) 0x42c1df42 "\036UW\224"
ret = 128
start_code = 437
input_size = 150
picture = (AVFrame *) 0x4aff78ec
s2 = (MpegEncContext *) 0x42c03710
#4 0x081ec5c5 in avcodec_decode_video (avctx=0x85a3e48, picture=0x4aff78ec, got_picture_ptr=0x4aff78e8,
buf=0x42c1dec0 "\021¢\r8k\003\032\006¦p\b¦\vT¨\211éÓ\210\eá^-rsΩA^·O\025>\e\006Åõh²P\004\020aZ\235Ì\222\203C\207A¡\"ÐøfØsD¢\232õý,Â\005IÚ,\237\020ËFö\030L:}\003Rb\032N\202!\200W¢éýFÈÛDÖ\177zë¦5RQë\223\215²\206²\230\rº)ó¹UfV", buf_size=2039)
at utils.c:367
ret = 0
#5 0x08197306 in AvFormatDecoder::GetFrame(int) (this=0x87df780, onlyvideo=0) at avformatdecoder.cpp:978
context = (AVCodecContext *) 0x85a3e48
mpa_pic = {data = {0x46b00000 "", 0x46b65400 "", 0x46b7e900 "", 0x0}, linesize = {720, 360, 360, 0}, base = {0x0,
0x0, 0x0, 0x0}, key_frame = 0, pict_type = 2, pts = 0, coded_picture_number = 846, display_picture_number = 0,
quality = 5, age = 1073741824, reference = 3, qscale_table = 0x42c03d90 "", qstride = 46, mbskip_table = 0x42c03710 "",
opaque = 0x88a7d28, error = {0, 0, 0, 0}, type = 2, repeat_pict = 0, qscale_type = 1}
gotpicture = 0
picframe = (VideoFrame *) 0x88a7d28
curstream = (AVStream *) 0x85a3e40
pkt = (AVPacket *) 0x42c1b5a0
len = 2039
ret = 2039
ptr = (
unsigned char *) 0x42c1dec0 "\021¢\r8k\003\032\006¦p\b¦\vT¨\211éÓ\210\eá^-rsΩA^·O\025>\e\006Åõh²P\004\020aZ\235Ì\222\203C\207A¡\"ÐøfØsD¢\232õý,Â\005IÚ,\237\020ËFö\030L:}\003Rb\032N\202!\200W¢éýFÈÛDÖ\177zë¦5RQë\223\215²\206²\230\rº)ó¹UfV"
samples = {1832, 1857, 2167, 2574, 2511, 3204, 2683, 3292, 2587, 3212, 2291, 3095, 1977, 2732, 1810, 2419, 1818,
2451, 1890, 2461, 1907, 2195, 1834, 1930, 1744, 1773, 1748, 1589, 1882, 1505, 2091, 1694, 2340, 2045, 2615, 2384, 2793,
2612, 2694, 2628, 2324, 2440, 1861, 2132, 1394, 1699, 864, 1135, 227, 449, -455, -414, -1054, -1323, -1435, -1932,
-1570, -2159, -1582, -2194, -1569, -2033, -1456, -1617, -1127, -1088, -646, -502, -258, 112, -173, 436, -369, 332, -637,
155, -832, 94, -970, 23, -1059, 15, -1000, 156, -768, 310, -467, 577, -184, 1098, 20, 1452, 36, 1316, -120, 1097, -234,
1099, -163, 1045, 9, 827, 202, 651, 393, 497, 387, 108, -53, -690, -807, -1765, -1509, -2601, -2008, -2897, -2398,
-3050, -2730, -3338, -3009, -3422, -3314, -3258, -3658, -3302, -3878, -3496, -3844, -3393, -3601, -3100, -3228, -2940,
-2766, -2794, -2298, -2505, -1913, -2205, -1583, -1966, -1243, -1768, -923, -1657, -660, -1596, -415, -1463, -181,
-1313, -17, -1268, 69, -1262, 113, -1246, 69, -1405, -70, -1770, -161, -1973, -131, -1846, -132, -1765, -244, -1912,
---Type <return> to continue, or q <return> to quit---
-308, -1930, -192, -1676, 44, -1350, 331, -876, 591, -244, 624, 44, 302, -190, -204, -458, -621, -541, -874, -596,
-1068, -601, -1327, -690, -1645, -1136, -1849, -1605, -1797, -1673...}
data_size = 0
temppts = 52084338
allowedquit = false
storevideoframes = false
#6 0x080f9438 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x87dbda8, onlyvideo=0, unsafe=false)
at NuppelVideoPlayer.cpp:592
No locals.
#7 0x080fc13e in NuppelVideoPlayer::StartPlaying() (this=0x87dbda8) at NuppelVideoPlayer.cpp:1554
output_video = 327701
pausecheck = 0
#8 0x08172b2b in SpawnDecode(void*) (param=0x87dbda8) at tv_play.cpp:68
nvp = (NuppelVideoPlayer *) 0x87dbda8
#9 0x409ebaf9 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x409ebbf4 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
Thread 18 (Thread 262161 (LWP 14212)):
#0 0x40bd4566 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 14196)):
#0 0x40bf91b3 in poll () from /lib/libc.so.6
No symbol table info available.
#1 0x409eb71f in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2 0x409eb960 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
Thread 1 (Thread 16384 (LWP 14193)):
#0 0x40bd4566 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00000000 in ?? ()
No symbol table info available.
0x081ed115 676 *dst_nom = nom;
More information about the mythtv-dev
mailing list