[vlc-devel] segmentation fault in freetype

Gilles Sabourin gilles.sabourin at free.fr
Sat Sep 29 09:24:25 CEST 2007


Hi,

I have compiled vlc 0.9 at #22296. I have got a segmentation error while 
playing TV streaming in freetype. 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 47544835895040 (LWP 18666)]
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  '--enable-release' '--enable-shared' '--enable-shared-pp' '--enable-pp' '--enable-gpl' '--enable-live555' '--enable-dvb' '--enable-v4l' '--enable-shout' '--enable-dvdread' '--enable-cddax' '--enable-vcdx' '--enable-faad' '--enable-flac' '--enable-real' '--enable-svg' '--enable-theora' '--enable-caca' '--enable-esd' '--enable-portaudio' '--enable-arts' '--enable-slp' '--with-cyberlink-tree=../CyberLink-1.77' '--with-live555-tree=/usr/lib64/live' '--enable-realrtsp' '--disable-cyberlink' '--disable-loader' '--prefix=/usr' '--libdir=/usr/lib64' '--enable-debug' '--disable-optimizations'
[New Thread 1082132800 (LWP 18669)]
[00000001] main libvlc debug: translation test: code is "Fr"
[New Thread 1090541888 (LWP 18688)]
[New Thread 1098934592 (LWP 18689)]
[New Thread 1107327296 (LWP 18690)]
[New Thread 1115720000 (LWP 18691)]
[New Thread 1124112704 (LWP 18692)]
[New Thread 1132505408 (LWP 18693)]
[New Thread 1140898112 (LWP 18694)]
600 700 [Thread 1140898112 (LWP 18694) exited]
[New Thread 1140898112 (LWP 18742)]
QPainter::begin: Cannot paint on a null pixmap
QPainter::setWorldTransform: Painter not active
QPainter::end: Painter not active, aborted
[New Thread 1149290816 (LWP 18743)]
[New Thread 1157683520 (LWP 18744)]
libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for 
PID 1285
[New Thread 1166076224 (LWP 18748)]
[New Thread 1174468928 (LWP 18749)]
[New Thread 1182861632 (LWP 18750)]
[New Thread 1191254336 (LWP 18751)]
[New Thread 1199647040 (LWP 18755)]
[00000666] freetype private error: failed to load font 
file /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1199647040 (LWP 18755)]
0x00002b3de3983caa in QueueMsg (p_this=0xa297f0, i_queue=0, i_type=1,
    psz_module=0x2aaab6bb4be7 "freetype",
    psz_format=0x2aaab6bb52f8 "thread %li: mutex_lock failed at %s:%d (%d:
%m)", _args=0x47811fb0) at misc/messages.c:387
387                 i_header_size += strlen( p_obj->psz_header ) + 4;
(gdb) bt full
#0  0x00002b3de3983caa in QueueMsg (p_this=0xa297f0, i_queue=0, i_type=1,
    psz_module=0x2aaab6bb4be7 "freetype",
    psz_format=0x2aaab6bb52f8 "thread %li: mutex_lock failed at %s:%d (%d:
%m)", _args=0x47811fb0) at misc/messages.c:387
        psz_old = 0x0
        i_header_size = 0
        p_obj = (vlc_object_t *) 0xa297f0
        psz_str = 0xba7570 "thread 1199647040: mutex_lock failed at 
freetype.c:474 (22:Argument invalide)"
        psz_header = 0x0
        args = {{gp_offset = 48, fp_offset = 48,
    overflow_arg_area = 0x478120a8, reg_save_area = 0x47811fd0}}
        p_item = (msg_item_t *) 0x0
        item = {i_type = 0, i_object_id = 0, i_object_type = 0,
  psz_module = 0x0, psz_msg = 0x0, psz_header = 0x0, date = 0}
        p_queue = (msg_queue_t *) 0x0
        __PRETTY_FUNCTION__ = "QueueMsg"
#1  0x00002b3de39836b8 in __msg_Generic (p_this=0xa297f0, i_queue=0, i_type=1,
    psz_module=0x2aaab6bb4be7 "freetype",
    psz_format=0x2aaab6bb52f8 "thread %li: mutex_lock failed at %s:%d (%d:
%m)")
    at misc/messages.c:232
        args = {{gp_offset = 40, fp_offset = 48,
    overflow_arg_area = 0x47812090, reg_save_area = 0x47811fd0}}
---Type <return> to continue, or q <return> to quit---
#2  0x00002aaab6bade72 in __vlc_mutex_lock (
    psz_file=0x2aaab6bb5134 "freetype.c", i_line=474, p_mutex=0xa27580)
    at ../../include/vlc_threads_funcs.h:139
        i_result = 22
        i_thread = 1199647040
#3  0x00002aaab6badcce in FontBuilder (p_this=0xb7ada0) at freetype.c:474
        p_filter = (filter_t *) 0xb7ada0
        p_sys = (filter_sys_t *) 0xa27540
        t1 = 0
        t2 = 0
#4  0x00002b3de421f09e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#5  0x00002b3de46fa4cd in clone () from /lib64/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.




More information about the vlc-devel mailing list