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

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



Hi Yves-Alexis,

Thanks a lot for the detailed bugreport!

On Wed, Mar 02, 2011 at 08:18:30AM +0100, Yves-Alexis Perez wrote:
I have some eps files (not easily sharable though) which make segfault
gs everytime. I've tried to rebuild ghostscript from upstream sources
to make a usable backtrace, but it appears that it's not reproducible
using git master nor 9.00 tag.

Perhaps the bug then is in one of the convenience libraries.

Just yesterday I discovered that the separately released jbig2dec project is not uptodate with the code shipped with ghostscript sources.

Could you try rebuilding using upstream 9.00 tag but then rip out the jbig2dec subdir and instead link against the Debian-provided libjbig2dec?


I tried to rebuild the debian package but it doesn't seem to support DEB_BUILD_OPTIONS

Whoops.  If that is true, it is a bug in itself!

Did you actually try setting such options, or did you look at the rules file and gave up when you found no ifdef explicitly in there?

If the latter, please note that this package uses CDBS which abstracts away those ifdef's (else it possibly means that not ghostsctript but cdbs is broken!)


so I've tried rebuild manually using tips from another bug report, but:

configure: WARNING: unrecognized options: --enable-debug

Yeah - ghostscript only uses limited autotools features, so that one doesn't surprise me.


So I'm doing CFLAGS='-O0 -g' ./configure && make and it gives:

make: *** No rule to make target `src/compress.c', needed by
`obj/compress.o'.  Stop.

Above will pass CFLAGS to configure but not to make. Even though configure do advertise supporting CFLAGS in environment, it might very well be that ghostscript do not respect it.

Was above failure tried against...

  some release of Debian package (with patches applied)
  current head of Debian package development (with patches applied)
  some upstream release
  some snapshot of upstream development

?


 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature


Reply to: