[vlc-devel] Segfault in freetype

Guy Paddock guy.paddock at gmail.com
Sun Nov 25 08:51:33 CET 2007


Looks like your local copy had a conflict with the HEAD revision, so
it gave you a diff instead.

On Nov 25, 2007 2:44 AM, Gilles Sabourin <gilles.sabourin at free.fr> wrote:
> Le Sunday 25 November 2007 08:34:31 Gilles Sabourin, vous avez écrit:
> > 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
> >
> > Bernie,
> >
> >
> > I'll try to reproduce the fontbuilder segfault. For the time being, I get
> > an error at compilation time :
> >
> >
> > /bin/sh ../../libtool --tag=CC   --mode=compile
> > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -DSYS_LINUX -I../../include
> > -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin
> > freetype` -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef
> > -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings
> > -Wmissing-prototypes -Wvolatile-register-var -MT
> > libfreetype_plugin_la-freetype.lo -MD -MP -MF
> > .deps/libfreetype_plugin_la-freetype.Tpo -c -o
> > libfreetype_plugin_la-freetype.lo `test -f 'freetype.c' ||
> > echo './'`freetype.c
> >
> > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DSYS_LINUX -I../../include
> > -I../../include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE
> > -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/share/locale\"
> > -DDATA_PATH=\"/usr/share/vlc\" -DPLUGIN_PATH=\"/usr/lib64/vlc\" -DDEBUG
> > -DHAVE_RELEASE -O0 -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=freetype
> > -DMODULE_NAME_IS_freetype -g -fvisibility=hidden -I/usr/include/freetype2
> > -DHAVE_FONTCONFIG -I/usr/include -DHAVE_FRIBIDI -Wall -Wextra
> > -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith
> > -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes
> > -Wvolatile-register-var -MT libfreetype_plugin_la-freetype.lo -MD -MP -MF
> > .deps/libfreetype_plugin_la-freetype.Tpo -c freetype.c  -fPIC -DPIC -o
> > .libs/libfreetype_plugin_la-freetype.o
> > freetype.c: In function 'Create':
> > freetype.c:385: error: expected expression before '<<' token
> > freetype.c: In function 'Destroy':
> > freetype.c:485: error: expected expression before '<<' token
> > make[4]: *** [libfreetype_plugin_la-freetype.lo] Error 1
> > make[4]: Leaving directory
> > `/usr/src/packages/BUILD/vlc-beta-0.9.0/modules/misc'
> > make[3]: *** [all-modules] Error 1
> > make[3]: Leaving directory
> > `/usr/src/packages/BUILD/vlc-beta-0.9.0/modules/misc'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/src/packages/BUILD/vlc-beta-0.9.0/modules'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/packages/BUILD/vlc-beta-0.9.0'
> > make: *** [all] Error 2
> > error: Bad exit status from /var/tmp/rpm-tmp.76139 (%build)
> >
> > Gilles Sabourin
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > http://mailman.videolan.org/listinfo/vlc-devel
>
> Sorry, don't care. Got back a strange freetype.c which does not look like the
> one in svn repository after a svn update. Have this kind of tag around line
> #385 :
>
> <<<<<<<<<<<.mine
> ...
> ...
> >>>>>>>>>>>.23314
>
> Deleted last freetype.c. Seems ok.
>
> Greetings,
> Gilles Sabourin
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



More information about the vlc-devel mailing list