[streaming] vlc segmentation fault while playing TV broadcast and switching channel [Full backtraces]

Gilles Sabourin gilles.sabourin at free.fr
Sun Oct 28 17:55:34 CET 2007


Hi,

I have compiled vlc svn #22870 on opensuse 10.2. vlc played well france 3 
channel and I decided to switch to france 4. vlc crashes with a 
segmentation fault.

I have realized vlc was not compiled to activated debug options.

Here are the backtraces :


(gdb) run Desktop/TV_fbx.m3u
Starting program: /usr/bin/vlc Desktop/TV_fbx.m3u
[Thread debugging using libthread_db enabled]
[New Thread 47802202951424 (LWP 16885)]
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko - 
(c) 1996-2007 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured 
with ./configure  '--prefix=/usr' '--libdir=/usr/lib64' '--enable-fast-install' '--enable-shout' '--enable-skins2' '--disable-pda' '--disable-macosx' '--disable-qnx' '--enable-ncurses' '--enable-xosd' '--enable-visual' '--disable-goom' '--enable-slp' '--enable-lirc' '--disable-joystick' '--disable-corba' '--enable-dvdread' '--enable-dvdnav' '--disable-dshow' '--enable-v4l' '--enable-pvr' '--enable-vcd' '--enable-satellite' '--enable-ogg' '--enable-mkv' '--enable-mod' '--enable-libcdio' '--enable-vcdx' '--enable-cddax' '--enable-libcddb' '--enable-x11' '--enable-xvideo' '--enable-glx' '--enable-fb' '--enable-mga' '--enable-freetype' '--enable-fribidi' '--enable-svg' '--disable-hd1000v' '--disable-directx' '--disable-wingdi' '--disable-glide' '--enable-aa' '--enable-caca' '--enable-oss' '--enable-esd' '--enable-arts' '--enable-waveout' '--enable-portaudio' '--disable-coreaudio' '--disable-hd1000a' '--enable-mad' '--enable-ffmpeg' '--enable-faad' '--enable-a52' '--enable-dca' '--enable-flac' '--enable-libmpeg2' '--enable-vorbis' '--enable-tremor' '--enable-speex' '--disable-tarkin' '--enable-theora' '--enable-cmml' '--enable-utf8' '--disable-pth' '--enable-st' '--disable-gprof' '--disable-cprof' '--disable-testsuite' '--disable-optimizations' '--disable-altivec' '--enable-debug' '--enable-release' '--enable-sout' '--with-ffmpeg-faac' '--disable-galaktos' '--enable-httpd' '--disable-jack' '--enable-mozilla' '--enable-alsa' '--enable-real' '--enable-realrtsp' '--enable-live555' '--with-live555-tree=/usr/lib64/live' '--enable-dvbpsi' '--enable-dvb'
[New Thread 1082132800 (LWP 16888)]
[00000001] main libvlc debug: translation test: code is "Fr"
[New Thread 1090541888 (LWP 16910)]
[New Thread 1098934592 (LWP 16911)]
[New Thread 1107327296 (LWP 16912)]
[New Thread 1115720000 (LWP 16913)]
[New Thread 1124112704 (LWP 16914)]
[New Thread 1132505408 (LWP 16915)]
[New Thread 1140898112 (LWP 16916)]
[New Thread 1149290816 (LWP 16920)]
[Thread 1149290816 (LWP 16920) exited]
[New Thread 1149290816 (LWP 16957)]
[New Thread 1157683520 (LWP 16958)]
[New Thread 1166076224 (LWP 16959)]
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for 
PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0) for 
PID 1285
[New Thread 1174468928 (LWP 16960)]
[New Thread 1182861632 (LWP 16961)]
[New Thread 1191254336 (LWP 16965)]
[New Thread 1199647040 (LWP 16966)]
[New Thread 1208039744 (LWP 16970)]
[Thread 1208039744 (LWP 16970) exited]
[Thread 1157683520 (LWP 16958) exited]
[Thread 1174468928 (LWP 16960) exited]
[Thread 1182861632 (LWP 16961) exited]
[Thread 1191254336 (LWP 16965) exited]
[Thread 1166076224 (LWP 16959) exited]
[Thread 1149290816 (LWP 16957) exited]
[New Thread 1149290816 (LWP 16991)]
[New Thread 1166076224 (LWP 16992)]
[New Thread 1191254336 (LWP 16993)]
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for 
PID 0
[New Thread 1182861632 (LWP 16998)]
[New Thread 1157683520 (LWP 16999)]
[New Thread 1174468928 (LWP 17000)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1199647040 (LWP 16966)]
0x00002b79d0b01572 in _int_malloc () from /lib64/libc.so.6
(gdb) bt
#0  0x00002b79d0b01572 in _int_malloc () from /lib64/libc.so.6
#1  0x00002b79d0b02fcf in calloc () from /lib64/libc.so.6
#2  0x00002aaab7ae161f in NewLine (i_count=8) at freetype.c:2807
#3  0x00002aaab7add2b5 in RenderText (p_filter=0xd01500, 
p_region_out=0xbcd730, p_region_in=0xbcd730) at freetype.c:1170
#4  0x00002b79cfd9677a in spu_RenderSubpictures (p_spu=0x18931b0, 
p_fmt=0xd02020, p_pic_dst=0xd02878, p_pic_src=0xd02878,
    p_subpic=0x18932b8, i_scale_width_orig=1000, i_scale_height_orig=1000) at 
video_output/vout_subpictures.c:787
#5  0x00002b79cfd92692 in vout_RenderPicture (p_vout=0xd01b70, p_pic=0xd02878, 
p_subpic=0x18932b8) at video_output/vout_pictures.c:320
#6  0x00002b79cfd905cd in RunThread (p_vout=0xd01b70) at 
video_output/video_output.c:1064
#7  0x00002b79d067909e in start_thread () from /lib64/libpthread.so.0
#8  0x00002b79d0b5468d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Detailed backtraces :

(gdb) bt full
#0  0x00002b79d0b01572 in _int_malloc () from /lib64/libc.so.6
No symbol table info available.
#1  0x00002b79d0b02fcf in calloc () from /lib64/libc.so.6
No symbol table info available.
#2  0x00002aaab7ae161f in NewLine (i_count=8) at freetype.c:2807
        p_line = (line_desc_t *) 0xc5f010
#3  0x00002aaab7add2b5 in RenderText (p_filter=0xd01500, 
p_region_out=0xbcd730, p_region_in=0xbcd730) at freetype.c:1170
        p_sys = (filter_sys_t *) 0xb4a7e0
        p_lines = (line_desc_t *) 0x0
        p_line = (line_desc_t *) 0x0
        p_next = (line_desc_t *) 0x0
        p_prev = (line_desc_t *) 0x0
        i = -807390779
        i_pen_y = 11129
        i_pen_x = 13636864
        i_error = 0
        i_glyph_index = 0
        i_previous = 0
        psz_unicode = (uint32_t *) 0xbda7e0
        psz_unicode_orig = (uint32_t *) 0xbda7e0
        i_char = 52
        psz_line_start = (uint32_t *) 0xd07d30
        i_string_length = 8
        psz_string = 0xb6b0a0 "France 4"
        iconv_handle = (vlc_iconv_t) 0xa836a0
        i_font_color = 16777215
        i_font_alpha = 0
        i_font_size = 0
        i_red = 255
        i_green = 255
        i_blue = 255
        val = {i_int = 1000, b_bool = 1000, f_float = 1.40129846e-42, 
psz_string = 0x3e8 <Address 0x3e8 out of bounds>,
  p_address = 0x3e8, p_object = 0x3e8, p_list = 0x3e8, i_time = 1000, var = 
{psz_name = 0x3e8 <Address 0x3e8 out of bounds>,
    i_object_id = 13636768}, padding = {a = -24 'è', b = 3 '\003', c = 0 '\0', 
d = 0 '\0', e = 0 '\0', f = 0 '\0', g = 0 '\0',
    h = 0 '\0'}}
        i_scale = 1000
        line = {xMin = 0, yMin = 0, xMax = 0, yMax = 0}
        glyph_size = {xMin = 1199643664, yMin = 47802178481853, xMax = 
1199643672, yMax = 13636776}
        result = {x = 0, y = 0}
        tmp_glyph = (FT_Glyph) 0xd07730
#4  0x00002b79cfd9677a in spu_RenderSubpictures (p_spu=0x18931b0, 
p_fmt=0xd02020, p_pic_dst=0xd02878, p_pic_src=0xd02878,
    p_subpic=0x18932b8, i_scale_width_orig=1000, i_scale_height_orig=1000) at 
video_output/vout_subpictures.c:787
        val = {i_int = 59365, b_bool = 59365, f_float = 8.31880833e-41, 
psz_string = 0xe7e5 <Address 0xe7e5 out of bounds>,
  p_address = 0xe7e5, p_object = 0xe7e5, p_list = 0xe7e5, i_time = 59365, var 
= {psz_name = 0xe7e5 <Address 0xe7e5 out of bounds>,
    i_object_id = 595969109}, padding = {a = -27 'å', b = -25 'ç', c = 0 '\0', 
d = 0 '\0', e = 0 '\0', f = 0 '\0', g = 0 '\0',
    h = 0 '\0'}}
        i_x_offset = 11129
        i_inv_scale_x = 1000
        orig_fmt = {i_chroma = 1415071060, i_aspect = 0, i_width = 0, i_height 
= 0, i_x_offset = 0, i_y_offset = 0, i_visible_width = 0,
  i_visible_height = 0, i_bits_per_pixel = 0, i_sar_num = 8, i_sar_den = 5, 
i_frame_rate = 0, i_frame_rate_base = 0, i_rmask = 0,
  i_gmask = 0, i_bmask = 0, p_palette = 0x0}
        b_rerender_text = 0
        i_fade_alpha = 255
        i_y_offset = 1199644592
        i_scale_idx = 0
        i_inv_scale_y = 1000
        pi_subpic_x = {30, 30}
        k = 2
---Type <return> to continue, or q <return> to quit---
        p_region = (subpicture_region_t *) 0xbcd730
        pi_scale_width = {1000, 1000}
        pi_scale_height = {1000, 1000}
        i_source_video_width = 480
        i_source_video_height = 576
#5  0x00002b79cfd92692 in vout_RenderPicture (p_vout=0xd01b70, p_pic=0xd02878, 
p_subpic=0x18932b8) at video_output/vout_pictures.c:320
        i_scale_width = 1000
        i_scale_height = 1000
#6  0x00002b79cfd905cd in RunThread (p_vout=0xd01b70) at 
video_output/video_output.c:1064
        i_index = 7
        i_idle_loops = 4
        current_date = 7031874331
        display_date = 7031874333
        p_picture = (picture_t *) 0xd02878
        p_last_picture = (picture_t *) 0xd02878
        p_directbuffer = (picture_t *) 0x0
        p_subpic = (subpicture_t *) 0x18932b8
        p_input = (input_thread_t *) 0xb7f920
        val = {i_int = 1, b_bool = 1, f_float = 1.40129846e-45, psz_string = 
0x1 <Address 0x1 out of bounds>, p_address = 0x1,
  p_object = 0x1, p_list = 0x1, i_time = 1, var = {psz_name = 0x1 <Address 0x1 
out of bounds>, i_object_id = 0}, padding = {a = 1 '\001',
    b = 0 '\0', c = 0 '\0', d = 0 '\0', e = 0 '\0', f = 0 '\0', g = 0 '\0', h 
= 0 '\0'}}
        b_drop_late = 1
        i_displayed = 65
        i_lost = 0
        i_loops = 244
#7  0x00002b79d067909e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#8  0x00002b79d0b5468d in clone () from /lib64/libc.so.6
No symbol table info available.
#9  0x0000000000000000 in ?? ()
No symbol table info available.

Best Regards,
Gilles Sabourin


More information about the streaming mailing list