[mythtv] MythTV Crashes on channel change.

Kenneth Aafløy ke-aa at frisurf.no
Thu Jul 10 21:55:39 EDT 2003


Hi!

First off, now that I've actually have gotten MythTV w/modules up and
running, I must say that you have made a wonderfull piece of software!

I have set up MythTV successfully on my Hauppauge Nexus-S DVB-S board, but
when I change channels MythTV crashes. I've done 'thread apply all bt full'
a lot of times, and it's not ending up in the same location every time.
Included the most common of them here.

If you need more info..

Kenneth J. Aafløy
-------------- next part --------------
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
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"...
(gdb) run
Starting program: /opt/cvs/myth/bin/mythtv 
[New Thread 16384 (LWP 2691)]
connecting to backend server: 127.0.0.1:6543
Changing from None to WatchingLiveTV
Opening OSS audio device '/dev/dsp'.
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 105
Delaying to next trigger: 397316
Delaying to next trigger: 353349
Delaying to next trigger: 293304
Delaying to next trigger: 233145
[New Thread 32769 (LWP 2698)]
[New Thread 16386 (LWP 2699)]
[New Thread 32771 (LWP 2703)]
[New Thread 49156 (LWP 2704)]
[New Thread 65541 (LWP 2705)]
[New Thread 81926 (LWP 2706)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 2703)]
0x0821f480 in put_pixels16_mmx (
    block=0x42cd6000 "\021\023\024\024\023\025\027\031\034\037!#%&(),---...////.-*('%$# \036\031\026\024", '\023' <repeats 12 times>, "\024\024\024\025\025\025\025\026\027\027\027\030\031\031\032\e\034\035\035\036\036\037 !\"##$%&')*,-.334445556889998877766655665443220/.-,*))(''''''''''()*,--/146788;;;<;;;;=?>>>===<;;<<==>?@@@@><;976420.-+)'%$\"\037\035"..., 
    pixels=0x43255020 <Address 0x43255020 out of bounds>, line_size=544, h=16) at i386/dsputil_mmx.c:355
355	    __asm __volatile(
Current language:  auto; currently c
(gdb) thread apply all bt full

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

Thread 6 (Thread 65541 (LWP 2705)):
#0  0x40b39676 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 2704)):
#0  0x40b39676 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 2703)):
#0  0x0821f480 in put_pixels16_mmx (
    block=0x42cd6000 "\021\023\024\024\023\025\027\031\034\037!#%&(),---...////.-*('%$# \036\031\026\024", '\023' <repeats 12 times>, "\024\024\024\025\025\025\025\026\027\027\027\030\031\031\032\e\034\035\035\036\036\037 !\"##$%&')*,-.334445556889998877766655665443220/.-,*))(''''''''''()*,--/146788;;;<;;;;=?>>>===<;;<<==>?@@@@><;976420.-+)'%$\"\037\035"..., 
    pixels=0x43255020 <Address 0x43255020 out of bounds>, line_size=544, h=16) at i386/dsputil_mmx.c:355
No locals.
#1  0x0813bb85 in mpeg_motion (s=0x83fe180, 
    dest_y=0x42cd6000 "\021\023\024\024\023\025\027\031\034\037!#%&(),---...////.-*('%$# \036\031\026\024", '\023' <repeats 12 times>, "\024\024\024\025\025\025\025\026\027\027\027\030\031\031\032\e\034\035\035\036\036\037 !\"##$%&')*,-.334445556889998877766655665443220/.-,*))(''''''''''()*,--/146788;;;<;;;;=?>>>===<;;<<==>?@@@@><;976420.-+)'%$\"\037\035"..., 
    dest_cb=0x42d22800 "\202\220\223\232¥ª³·¸··¹¼ºµ±¯©\236\222\211\206\206\207\214\216\217\221\224\226\230\231\235¡¡£¨ªª¯·¸º¼¾¾¾¾½¾¾¿¾½¼»½¼»º¹¸·¶¶´´´¶·º»½½¾½¾½¾½½½¾½¾½¾½¿½»º»º¹¸²®©¤ \234\230\225\224\224\222\220\217\215\214\213\214\213\212\211\210\207\207\207\205\205\205", '\204' <repeats 13 times>, "\203\204\203\203\204\205\205\205", '\207' <repeats 37 times>, "\210\211\211", '\212' <repeats 16 times>..., 
    dest_cr=0x42d35a00 "~~}|yurppnlkklnouw{~\177\177~}~~~~~}}}zzyxwuttonligffffefefefeghijlnopnpqqqpnm", 'e' <repeats 20 times>, "gjmorsuxz|}}", '\177' <repeats 11 times>, '\200' <repeats 69 times>, '\177' <repeats 16 times>..., dest_offset=0, 
    ref_picture=0x83ff048, src_offset=0, field_based=0, pix_op=0x83ff5b8, motion_x=0, motion_y=0, h=16) at mpegvideo.c:1845
	ptr = (uint8_t *) 0x43255020 <Address 0x43255020 out of bounds>
	dxy = 0
	offset = 136165554
	mx = -1084360764
	my = 8
	src_x = 0
	src_y = 0
	height = 576
	v_edge_pos = 576
	linesize = 544
	uvlinesize = 272
	emu = 0
#2  0x08139a3e in MPV_motion (s=0x83fe180, 
    dest_y=0x42cd6000 "\021\023\024\024\023\025\027\031\034\037!#%&(),---...////.-*('%$# \036\031\026\024", '\023' <repeats 12 times>, "\024\024\024\025\025\025\025\026\027\027\027\030\031\031\032\e\034\035\035\036\036\037 !\"##$%&')*,-.334445556889998877766655665443220/.-,*))(''''''''''()*,--/146788;;;<;;;;=?>>>===<;;<<==>?@@@@><;976420.-+)'%$\"\037\035"..., 
    dest_cb=0x42d22800 "\202\220\223\232¥ª³·¸··¹¼ºµ±¯©\236\222\211\206\206\207\214\216\217\221\224\226\230\231\235¡¡£¨ªª¯·¸º¼¾¾¾¾½¾¾¿¾½¼»½¼»º¹¸·¶¶´´´¶·º»½½¾½¾½¾½½½¾½¾½¾½¿½»º»º¹¸²®©¤ \234\230\225\224\224\222\220\217\215\214\213\214\213\212\211\210\207\207\207\205\205\205", '\204' <repeats 13 times>, "\203\204\203\203\204\205\205\205", '\207' <repeats 37 times>, "\210\211\211", '\212' <repeats 16 times>..., 
    dest_cr=0x42d35a00 "~~}|yurppnlkklnouw{~\177\177~}~~~~~}}}zzyxwuttonligffffefefefeghijlnopnpqqqpnm", 'e' <repeats 20 times>, "gjmorsuxz|}}", '\177' <repeats 11 times>, '\200' <repeats 69 times>, '\177' <repeats 16 times>..., dir=0, ref_picture=0x83ff048, 
    pix_op=0x83ff5b8, qpix_op=0x83ff6d0) at mpegvideo.c:2046
	dxy = 1086034976
	offset = 1086032288
	mx = 1083637772
	my = 26648
	src_x = 140653400
	src_y = 1086034992
	motion_x = 1083637892
	motion_y = -1084361052
	mb_x = 0
	mb_y = 0
	i = 1083677660
	ptr = (uint8_t *) 0x40bb947c ""
	dest = (uint8_t *) 0x8623348 ""
	emu = 0
#3  0x081343ac in MPV_decode_mb (s=0x83fe180, block=0x8408600) at mpegvideo.c:2508
	dest_y = (
    uint8_t *) 0x42cd6000 "\021\023\024\024\023\025\027\031\034\037!#%&(),---...////.-*('%$# \036\031\026\024", '\023' <repeats 12 times>, "\024\024\024\025\025\025\025\026\027\027\027\030\031\031\032\e\034\035\035\036\036\037 !\"##$%&')*,-.334445556889998877766655665443220/.-,*))(''''''''''()*,--/146788;;;<;;;;=?>>>===<;;<<==>?@@@@><;976420.-+)'%$\"\037\035"...
	uvlinesize = 272
	dest_cb = (
    uint8_t *) 0x42d22800 "\202\220\223\232¥ª³·¸··¹¼ºµ±¯©\236\222\211\206\206\207\214\216\217\221\224\226\230\231\235¡¡£¨ªª¯·¸º¼¾¾¾¾½¾¾¿¾½¼»½¼»º¹¸·¶¶´´´¶·º»½½¾½¾½¾½½½¾½¾½¾½¿½»º»º¹¸²®©¤ \234\230\225\224\224\222\220\217\215\214\213\214\213\212\211\210\207\207\207\205\205\205", '\204' <repeats 13 times>, "\203\204\203\203\204\205\205\205", '\207' <repeats 37 times>, "\210\211\211", '\212' <repeats 16 times>...
	dest_cr = (
    uint8_t *) 0x42d35a00 "~~}|yurppnlkklnouw{~\177\177~}~~~~~}}}zzyxwuttonligffffefefefeghijlnopnpqqqpnm", 'e' <repeats 20 times>, "gjmorsuxz|}}", '\177' <repeats 11 times>, '\200' <repeats 69 times>, '\177' <repeats 16 times>...
	dct_linesize = 1088
	dct_offset = 544
	op_pix = (op_pixels_func (*)[4]) 0x83ff5b8
	op_qpix = (qpel_mc_func (*)[16]) 0x83ff6d0
	linesize = 544
	mb_x = 0
	mb_y = 0
	mb_xy = 0
#4  0x081ec95a in ff_er_frame_end (s=0x83fe180) at error_resilience.c:891
	xy = 91
	mb_xy = 0
	mb_type = 12296
	i = 1584
	mb_x = 0
	mb_y = 0
	error = 14
	error_type = 4
	distance = 0
	threshold_part = {100, 100, 100, 0}
	threshold = 50
	is_intra_likely = 0
#5  0x081cfb86 in slice_end (avctx=0x83e81f8, pict=0xbf5df91c) at mpeg12.c:2018
	s1 = (Mpeg1Context *) 0x83fe180
	s = (MpegEncContext *) 0x83fe180
#6  0x081d0373 in mpeg_decode_frame (avctx=0x83e81f8, data=0xbf5df91c, data_size=0xbf5df918, 
    buf=0x86a13d8 "\210ðQ\b nU\b$\237#\201\020\021\021\022\030", buf_size=45412) at mpeg12.c:2268
	s = (Mpeg1Context *) 0x83fe180
	buf_end = (uint8_t *) 0x86ac53c ""
	buf_ptr = (uint8_t *) 0x86ac53c ""
	ret = 0
	start_code = -1
	input_size = 45408
	picture = (AVFrame *) 0xbf5df91c
	s2 = (MpegEncContext *) 0x83fe180
#7  0x0812db18 in avcodec_decode_video (avctx=0x83e81f8, picture=0xbf5df91c, got_picture_ptr=0xbf5df918, buf=0x851ddc0 "", 
    buf_size=2032) at utils.c:362
	ret = 0
#8  0x08111b9b in AvFormatDecoder::GetFrame(int) (this=0x83e7358, onlyvideo=0) at avformatdecoder.cpp:551
	context = (AVCodecContext *) 0x83e81f8
	mpa_pic = {data = {
    0x42cd6000 "\021\023\024\024\023\025\027\031\034\037!#%&(),---...////.-*('%$# \036\031\026\024", '\023' <repeats 12 times>, "\024\024\024\025\025\025\025\026\027\027\027\030\031\031\032\e\034\035\035\036\036\037 !\"##$%&')*,-.334445556889998877766655665443220/.-,*))(''''''''''()*,--/146788;;;<;;;;=?>>>===<;;<<==>?@@@@><;976420.-+)'%$\"\037\035"..., 
    0x42d22800 "\202\220\223\232¥ª³·¸··¹¼ºµ±¯©\236\222\211\206\206\207\214\216\217\221\224\226\230\231\235¡¡£¨ªª¯·¸º¼¾¾¾¾½¾¾¿¾½¼»½¼»º¹¸·¶¶´´´¶·º»½½¾½¾½¾½½½¾½¾½¾½¿½»º»º¹¸²®©¤ \234\230\225\224\224\222\220\217\215\214\213\214\213\212\211\210\207\207\207\205\205\205", '\204' <repeats 13 times>, "\203\204\203\203\204\205\205\205", '\207' <repeats 37 times>, "\210\211\211", '\212' <repeats 16 times>..., 
    0x42d35a00 "~~}|yurppnlkklnouw{~\177\177~}~~~~~}}}zzyxwuttonligffffefefefeghijlnopnpqqqpnm", 'e' <repeats 20 times>, "gjmorsuxz|}}", '\177' <repeats 11 times>, '\200' <repeats 69 times>, '\177' <repeats 16 times>..., 0x0}, linesize = {544, 272, 272, 0}, 
  base = {0x0, 0x0, 0x0, 0x0}, key_frame = 0, pict_type = 3, pts = 0, coded_picture_number = 491, display_picture_number = 0, 
  quality = 18, age = 1073741824, reference = 0, qscale_table = 0x84969a0 '\022' <repeats 34 times>, qstride = 35, 
  mbskip_table = 0x84983b0 "¨}I\bÌ\226»@", opaque = 0x83e7358, error = {0, 0, 0, 0}, type = 2, repeat_pict = 0, qscale_type = 1}
	buf = (
    unsigned char *) 0x42d49000 "\020\023\024\023\025\024\025\031\030\e \"#%')*++,-../,--,+*)(&%#!\035\032\027\025", '\022' <repeats 12 times>, "\023\023\023\023\024\024\024\024\025\025\025\025\031\031\032\032\e\034\034\035  !!\"##$%&((),/23344455567788776666666665543211010/-+)(", '\'' <repeats 13 times>, "()*,,.134679=<<<<;;;=>>>>=<;;;;<<===?>=<;98866420.-,)'%#\" \036\035"...
	gotpicture = 0
	ipts = 1856815362
	pts_set = true
	curstream = (AVStream *) 0x83e81f0
	pkt = {pts = 1856815362, data = 0x851ddc0 "", size = 2032, stream_index = 0, flags = 0, duration = -1084229084, 
  startpos = 105336, destruct = 0x81292b4 <av_destruct_packet>, priv = 0x83e717c}
	len = 2032
	ret = 569
	ptr = (unsigned char *) 0x851ddc0 ""
	samples = {-2076, -2132, -2288, -2018, -1206, -806, -133, -135, -149, -338, -739, -844, -958, -1270, -937, -1296, -1141, 
  -907, -1203, -525, -706, -236, -151, 86, -76, 102, -182, -214, -126, -271, -185, -327, -659, -1270, -1472, -2636, -2342, -3120, 
  -2656, -2550, -1882, -1569, -766, -906, -872, -1576, -2213, -3320, -2926, -3687, -2026, -1642, -734, 268, -358, 173, -604, -436, 
  -694, -381, -667, -548, -825, -896, -931, -345, -611, 546, -10, 665, 411, 575, 556, 953, 704, 1243, 819, 1146, 468, 913, -280, 
  323, -699, -600, -593, -1118, -562, -1034, -705, -676, -516, -148, -363, -179, -1158, -1604, -2242, -3033, -1867, -2277, -127, 
  -175, 931, 765, 446, 472, -296, 384, -281, 427, -17, 96, -12, 255, 263, 1643, 1342, 3435, 2634, 4217, 2873, 3332, 1644, 1556, 
  125, 580, -225, 954, 496, 1419, 1013, 1143, 860, 780, 631, 704, 518, 508, 122, 230, -471, 28, -750, -464, -602, -938, -135, 
  -393, 550, 732, 817, 723, -32, -622, -1316, -1589, -1545, -1104, -658, 48, 69, 743, 347, 1141, 1014, 2049, 1901, 3014, 1809, 
  2692, 832, 1510, 549, 1519, 1433, 2698, 1984, 2635, 1140, 885, -70, -142, -249, 449, 219, 676, 24, -488, -902, -1525, -1496, 
  -1331, -1447, -880, -1442, -1201, -1638, -1616, -1363, -978...}
	data_size = 0
	temppts = 0
	gotvideo = false
#9  0x080a928b in NuppelVideoPlayer::GetFrame(int, bool) (this=0x83e6f88, onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:526
No locals.
#10 0x080ab8da in NuppelVideoPlayer::StartPlaying() (this=0x83e6f88) at NuppelVideoPlayer.cpp:1517
	output_video = 81926
	pausecheck = 0
#11 0x0808885b in SpawnDecode(void*) (param=0x83e6f88) at tv_play.cpp:82
	nvp = (NuppelVideoPlayer *) 0x83e6f88
#12 0x4096f812 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 3 (Thread 16386 (LWP 2699)):
#0  0x40b39676 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0xffffffdc in ?? ()
No symbol table info available.
#2  0x0808beb8 in TV::RunTV() (this=0x83e2110) at tv_play.cpp:710
	keypressed = 49
	pausecheck = 1021
#3  0x0808bda1 in TV::EventThread(void*) (param=0x83e2110) at tv_play.cpp:680
	thetv = (class TV *) 0x83e2110
#4  0x4096f812 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 2698)):
#0  0x40b628f1 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x4096eb03 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x4096ecbd in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 16384 (LWP 2691)):
#0  0x40b39676 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
0x0821f480	355	    __asm __volatile(
(gdb) kill
Kill the program being debugged? (y or n) (gdb) quit


More information about the mythtv-dev mailing list