[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616054: ghostscript: segfault on particular file not reproducible in git master



On Wed, 2011-03-02 at 15:56 -0600, Jonathan Nieder wrote:
> Hi Yves-Alexis,
> 
> Yves-Alexis Perez wrote:
> 
> > I tried:
> >
> > DEB_BUILD_OPTIONS='noopt,nostrip' debuild -us -uc
> 
> This should be
> 
> 	DEB_BUILD_OPTIONS='noopt nostrip' debuild -us -c

Hmhm, thanks.
> 
> > An example gcc command line is:
> >
> > gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64
> > -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -fPIC  -O2 -Wall
> > -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes
> > -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement
> > -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned
> > long int" -g -O2 -g -O2 -fPIC -DUSE_LIBPAPER -DGS_DEVS_SHARED
> > -DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/9.01\" -I./psi -I./obj
> > -I./obj -I./base  -o ./obj/zcharout.o -c ./psi/zcharout.c
> >
> > (so no -O0)
> 
> That's okay, and even preferred (disabling optimization can mask
> some bugs).

Yes, but if I can reproduce the bug with -O0, that means I can provide a
backtrace which is more useful :)

Regards,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: