[vlc-devel] Segfault in freetype

Gilles Sabourin gilles.sabourin at free.fr
Sun Nov 25 09:14:39 CET 2007


Le Sunday 25 November 2007 06:08:22 Bernie Purcell, vous avez écrit :
> I've made a change to freetype.c to try and deal with part of the
> segfault issue that jpsaman and Gilles Sabourin have noticed.
> I've never actually been able to reproduce the issue myself, so not sure
> if the change has made things better or worse. If it has made things
> worse let me know and I'll revert it.
>
> Bitmap
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

Another crash, in the same conditions, while playing a mpeg2 stream on 64 bits 
architecture :


(gdb) run --m3u-extvlcopt Desktop/TV_fbx.m3u
Starting program: /usr/bin/vlc --m3u-extvlcopt Desktop/TV_fbx.m3u
[Thread debugging using libthread_db enabled]
[New Thread 47204650475264 (LWP 22622)]
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' '--disable-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'
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to 
use vlc without interface.
[New Thread 1082132800 (LWP 22625)]
[00000001] main libvlc debug: translation test: code is "Fr"
[New Thread 1090541888 (LWP 22650)]
[New Thread 1098934592 (LWP 22651)]
[New Thread 1107327296 (LWP 22652)]
[New Thread 1115720000 (LWP 22653)]
[New Thread 1124112704 (LWP 22654)]
[New Thread 1132505408 (LWP 22655)]
[New Thread 1140898112 (LWP 22656)]
[New Thread 1149290816 (LWP 22660)]
[Thread 1149290816 (LWP 22660) exited]
[New Thread 1149290816 (LWP 22745)]
[00001022] live555 demuxer: 
[rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=679] user= pwd=
[New Thread 1157683520 (LWP 22746)]
[New Thread 1166076224 (LWP 22747)]
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0) for 
PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for 
PID 1288
[New Thread 1174468928 (LWP 22748)]
[New Thread 1182861632 (LWP 22749)]
[New Thread 1191254336 (LWP 22753)]
[New Thread 1199647040 (LWP 22754)]
[New Thread 1208039744 (LWP 22763)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1199647040 (LWP 22754)]
0x00002aeeafc8cb3d in malloc_consolidate () from /lib64/libc.so.6
(gdb) bt full
#0  0x00002aeeafc8cb3d in malloc_consolidate () from /lib64/libc.so.6
No symbol table info available.
#1  0x00002aeeafc8e972 in _int_malloc () from /lib64/libc.so.6
No symbol table info available.
#2  0x00002aeeafc90546 in malloc () from /lib64/libc.so.6
No symbol table info available.
#3  0x00002aeeaef6dd52 in NewList (i_count=350) at misc/objects.c:1427
        p_list = (vlc_list_t *) 0xbf1fb0
#4  0x00002aeeaef6cc06 in __vlc_list_find (p_this=0x1399bc0, i_type=-3, 
i_mode=3) at misc/objects.c:879
        p_list = (vlc_list_t *) 0x135ae60
        pp_current = (vlc_object_t **) 0x1393c28
        pp_end = (vlc_object_t **) 0x1393c28
        i_count = 350
        i_index = 0
        p_libvlc_global = (libvlc_global_data_t *) 0x2aeeaf1b28a0
#5  0x00002aeeaef55d00 in __module_Need (p_this=0x1399bc0, 
psz_capability=0x2aeeaef9144b "video blending", psz_name=0x0, b_strict=0)
    at modules/modules.c:466
        p_list = (module_list_t *) 0x135b250
        p_first = (module_list_t *) 0xb877ac7947813000
        p_tmp = (module_list_t *) 0x2aeeaef6ec42
        p_all = (vlc_list_t *) 0x47811ca0
        i_which_module = 10990
        i_index = 0
        b_intf = 0
        p_module = (module_t *) 0x135ae08
        i_shortcuts = 0
        psz_shortcuts = 0x0
        psz_var = 0x0
        psz_alias = 0x0
        b_force_backup = 0
        i_cpu = 0
#6  0x00002aeeaef26fec in spu_RenderSubpictures (p_spu=0xc9b330, 
p_fmt=0x1355710, p_pic_dst=0x1355a08, p_pic_src=0x1355a08,
    p_subpic=0xc9b438, i_scale_width_orig=1000, i_scale_height_orig=1000) at 
video_output/vout_subpictures.c:962
        i_x_offset = 200
        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 = 24, i_sar_den = 17, 
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 = 524
        i_scale_idx = 1
        i_inv_scale_y = 1000
        pi_subpic_x = {30, 30}
        k = 2
        p_region = (subpicture_region_t *) 0x135ac00
        pi_scale_width = {1000, 1000}
        pi_scale_height = {1000, 1000}
        i_source_video_width = 544
        i_source_video_height = 576
#7  0x00002aeeaef2215e in vout_RenderPicture (p_vout=0x1355260, 
p_pic=0x1355a08, p_subpic=0xc9b438) at video_output/vout_pictures.c:320
        i_scale_width = 1000
        i_scale_height = 1000
#8  0x00002aeeaef20099 in RunThread (p_vout=0x1355260) at 
video_output/video_output.c:1064
        i_index = 7
        i_idle_loops = 66
        current_date = 3248083521
        display_date = 3248276246
---Type <return> to continue, or q <return> to quit---
        p_picture = (picture_t *) 0x1355a08
        p_last_picture = (picture_t *) 0x0
        p_directbuffer = (picture_t *) 0x0
        p_subpic = (subpicture_t *) 0xc9b438
        p_input = (input_thread_t *) 0xb6b7a0
        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 = 8
        i_lost = 0
        i_loops = 67
#9  0x00002aeeaf80609e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#10 0x00002aeeafce168d in clone () from /lib64/libc.so.6
No symbol table info available.
#11 0x0000000000000000 in ?? ()

Gtz,
GS.


More information about the vlc-devel mailing list