[mythtv-users] 0.16 frontend segfault when exiting a recording then watching different recording (with Backtrace)

Jason E Jenkins jjenk10 at mchsi.com
Sun Oct 17 02:40:46 UTC 2004


The following segfault happens when watching a recording then exiting 
the recording and then trying to watch a different recording.  This is 
on a remote front end.  The problem doesn't seem to occur when I watch 
recordings on the box that has a backend/frontend.  I noticed that the 
last message when it segfaults mentions libGLcore.so.1, so I was 
wondering if it has somthing to do with the nvidia-kernel or 
nvidia-glx.  The version of both kernel and glx are  1.0.6111.
Box info

Backend
gentoo
kernel 2.4.27
Athlon XP 1600
256 mb ram
geforce fx 5200
PVR-250

remote frontend
gentoo
kernel 2.6.8
Athlon XP 2500
512 mb ram
geforce FX 5600xt

gdb /usr/bin/mythfrontend
GNU gdb 6.0
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 "i686-pc-linux-gnu"...Using host libthread_db 
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/mythfrontend
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 24702)]
[New Thread 32769 (LWP 24705)]
[New Thread 16386 (LWP 24706)]
2004-10-16 22:22:20 mythfrontend version: 0.16.20040906-1 www.mythtv.org
2004-10-16 22:22:20 Enabled verbose msgs : important general
2004-10-16 22:22:21 Registering Internal as a media playback plugin.
2004-10-16 22:22:21 Registering MythDVD DVD Media Handler as a media handler
2004-10-16 22:22:21 Registering MythDVD VCD Media Handler as a media handler
Detaching after fork from child process 24707.
2004-10-16 22:22:22 Registering MythMusic Media Handler as a media handler
Error loading image file: /usr/share/mythtv/themes/default/NOTHING.png
2004-10-16 22:22:26 All Programs
2004-10-16 22:22:28 Connecting to backend server: 192.168.1.5:6543 (try 
1 of 5)
2004-10-16 22:22:28 Using protocol version 13
2004-10-16 22:22:28 Using protocol version 13
[New Thread 32771 (LWP 24776)]
[New Thread 49156 (LWP 24777)]
[New Thread 65541 (LWP 24778)]
2004-10-16 22:22:32 Opening OSS audio device '/dev/dsp'.
2004-10-16 22:22:32 Audio fragment size: 4096
[New Thread 81926 (LWP 24779)]
2004-10-16 22:22:33 Using XV port 107
[New Thread 98311 (LWP 24780)]
2004-10-16 22:22:33 Changing from None to WatchingPreRecorded
pthread_setschedparam: Operation not permitted
2004-10-16 22:22:34 Running as SUID root would allow some threads to run 
with realtime priority, improving video smoothness.
2004-10-16 22:22:40 Changing from WatchingPreRecorded to None
2004-10-16 22:22:40 Changing from None to None
[New Thread 114691 (LWP 24781)]
[New Thread 131076 (LWP 24782)]
[New Thread 147461 (LWP 24783)]
2004-10-16 22:22:45 Opening OSS audio device '/dev/dsp'.
2004-10-16 22:22:45 Audio fragment size: 4096
[New Thread 163846 (LWP 24784)]
2004-10-16 22:22:46 Using XV port 107
[New Thread 180231 (LWP 24785)]
2004-10-16 22:22:46 Changing from None to WatchingPreRecorded

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 180231 (LWP 24785)]
0x41ae6726 in _nv000816gl () from /usr/lib/opengl/nvidia/lib/libGLcore.so.1
(gdb) thread apply all bt full

Thread 13 (Thread 180231 (LWP 24785)):
#0  0x41ae6726 in _nv000816gl () from 
/usr/lib/opengl/nvidia/lib/libGLcore.so.1
No symbol table info available.
#1  0x40d644c4 in _nv000028gl () from /usr/lib/opengl/nvidia/lib/libGL.so.1
No symbol table info available.
#2  0x0002c007 in ?? ()
No symbol table info available.
#3  0x000060d1 in ?? ()
No symbol table info available.
#4  0x4050f3d8 in __JCR_LIST__ () from /usr/lib/libmythtv-0.16.so.0
No symbol table info available.

Thread 12 (Thread 163846 (LWP 24784)):
#0  0x41671036 in nanosleep () from /lib/libc.so.6
No symbol table info available.

Thread 11 (Thread 147461 (LWP 24783)):
#0  0x4169a781 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x414e95f0 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.

Thread 10 (Thread 131076 (LWP 24782)):
#0  0x407721f9 in put_no_rnd_pixels8_xy2_mmx (block=0x485f2558 "!!!!!!!!",
    pixels=0x4859d738 "\"\"!!!!\"!!!!!!!!!        ", '!' <repeats 16 
times>, '"' <repeats 16 times>, 
"#######$#######\"\"\"####$##$$##\"\"###\"\"\"\"#########$##$$$$$$$$$$%%%%&&&%%&&&)$\035\025\v\t\b\a\v\022\023\016\034*&&''''''''%%%%%$$$$$$$$###", 
'%' <repeats 11 times>, 
"$$$$$\024\025\026\025\025\025\024\023\023\023\023\023\023\023\024\022"..., 
line_size=480, h=2)
    at dsputil_mmx_rnd.h:236
No locals.
#1  0x407727bf in put_no_rnd_pixels16_xy2_mmx (block=0x485f2558 "!!!!!!!!",
    pixels=0x4859d558 '!' <repeats 16 times>, "        ", '!' <repeats 
16 times>, '"' <repeats 16 times>, 
"###$###$$$$$$$$\"!!!\"\"\"\"#$$$##\"\"##\"\"\"\"\"\"########$#$$$$$$$$$$%%%%%&&&&&&&&)%\035\024\n\t\b\a\n\021\022\r\e)%%''''''''%%%%%", 
'$' <repeats 11 times>, '%' <repeats 11 times>, 
"$$$$$\024\025\024\023\023\023\023\023\024\024\024\023\023\023\022\021"...,
    line_size=480, h=16) at dsputil_mmx_rnd.h:558
No locals.
#2  0x405a56c3 in MPV_motion (s=0x8c6adb0, dest_y=0x485f2550 "\037 
\036\e\032\034 \"!!!!!!!!", dest_cb=0x486221a8 "",
    dest_cr=0x486302a8 "", dir=0, ref_picture=0x8c6ae94, 
pix_op=0x8c6b5bc, qpix_op=0x8c6b79c) at mpegvideo.c:2586
        dxy = 1081652192
        mx = -1086327204
        my = 3840
        src_x = 147238548
        src_y = 480
        motion_x = 1213846864
        motion_y = 147618528
        mb_x = 21
        mb_y = 6
        i = 4
        ptr = (uint8_t *) 0x1e0 <Address 0x1e0 out of bounds>
        dest = (uint8_t *) 0x2 <Address 0x2 out of bounds>
#3  0x4059d60b in MPV_decode_mb (s=0x8c6adb0, block=0x8cc78e0) at 
mpegvideo.c:3242
---Type <return> to continue, or q <return> to quit---
        dct_linesize = 480
        dct_offset = 3840
        dest_cb = (uint8_t *) 0x486221a8 ""
        linesize = 480
        uvlinesize = 240
        readable = 1
        dest_y = (uint8_t *) 0x485f2550 "\037 \036\e\032\034 \"!!!!!!!!"
        dest_cr = (uint8_t *) 0x486302a8 ""
        op_pix = (op_pixels_func (*)[4]) 0x2
        op_qpix = (qpel_mc_func (*)[16]) 0x1a40
        mb_xy = 207
#4  0x406fd7bc in decode_slice (s=0x8c6adb0) at h263dec.c:232
        xy = 6720
        ret = 0
        part_mask = 127
#5  0x406fe74a in ff_h263_decode_frame (avctx=0x8c69b50, data=0x8c6ab80, 
data_size=0xbf3ff860, buf=0x47e00008 "",
    buf_size=16317) at h263dec.c:694
        i = 2
        current_pos = 147238320
        startcode_found = 147238320
        s = (MpegEncContext *) 0x8c6adb0
        ret = 6720
        pict = (AVFrame *) 0x8c6ab80
#6  0x40596249 in avcodec_decode_video (avctx=0x8c69b50, picture=0x1a40, 
got_picture_ptr=0xbf3ff860,
    buf=0x1a40 <Address 0x1a40 out of bounds>, buf_size=6720) at utils.c:507
        ret = 6720
#7  0x402e7165 in NuppelDecoder::DecodeFrame(rtframeheader*, unsigned 
char*, VideoFrame_*) (this=0x8239c20,
    frameheader=0x8239ccc, lstrm=0x47e00008 "", frame=0x88a6558) at 
nuppeldecoder.cpp:691
        gotpicture = 0
        ret = -1086326660
        r = 1075734845
        out_len = 3208640636
        compoff = 1
        outbuf = (
    unsigned char *) 0x485e7000 
"\a\f\021\016\032&!%\"\"\"\"\"\"\"\"\"!!!!!!!      
\037\036\035\036\036\036\035\035\035\035\035\035\035\035", '\036' 
<repeats 14 times>, "\035\035\035\035\035\035\e\e\e\034", '\e' <repeats 
12 times>, 
"\034\e\e\e\e\e\e\e\032\032\032\032\032\032\032\032\032\e\032\032\032\032\031\030\026\027\027\030\030\030\030\030\031\031\031\030\030\030\030\030\030\030\030\030\030", 
'\031' <repeats 11 times>, '\030' <repeats 44 times>, 
"\027\027\027\027\027\027\026\026\026\026\027\027\027\027\027\027\027\027\027\027"...
#8  0x402e7dc7 in NuppelDecoder::GetFrame(int) (this=0x8239c20, 
avignore=0) at nuppeldecoder.cpp:945
        buf = (VideoFrame *) 0x88a6558
        currentposition = 335650
        framesearch = false
        gotvideo = false
        ret = false
        seeklen = 0
#9  0x401e6c53 in NuppelVideoPlayer::GetFrame(int, bool) 
(this=0x8319438, onlyvideo=0, unsafe=false)
    at NuppelVideoPlayer.cpp:748
No locals.
#10 0x401ebb44 in NuppelVideoPlayer::StartPlaying() (this=0x8319438) at 
NuppelVideoPlayer.cpp:1850
        output_video = 180231
---Type <return> to continue, or q <return> to quit---
        pausecheck = 0
#11 0x40287b71 in SpawnDecode(void*) (param=0x8319438) at tv_play.cpp:200
        nvp = (NuppelVideoPlayer *) 0x8319438
#12 0x40c5b01f in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x40c5b0af in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#14 0x416a0e6a in clone () from /lib/libc.so.6
No symbol table info available.
Current language:  auto; currently c

Thread 9 (Thread 114691 (LWP 24781)):
#0  0x41671036 in nanosleep () from /lib/libc.so.6
No symbol table info available.

Thread 3 (Thread 16386 (LWP 24706)):
#0  0x41671036 in nanosleep () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread 32769 (LWP 24705)):
#0  0x41697a11 in fts_children () from /lib/libc.so.6
No symbol table info available.
#1  0x41697aca in poll () from /lib/libc.so.6
No symbol table info available.
#2  0x40c5acce in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40c5af07 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
#4  0x416a0e6a in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 16384 (LWP 24702)):
#0  0x41671036 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#0  0x41ae6726 in _nv000816gl () from 
/usr/lib/opengl/nvidia/lib/libGLcore.so.1
(gdb)


More information about the mythtv-users mailing list