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

Bug#848876: /usr/bin/gs: filter failed in cups, GS return "Erreur de segmentation"



Package: ghostscript
Version: 9.06~dfsg-2+deb8u4
Severity: important
File: /usr/bin/gs

Dear Maintainer,

With a Jessie, no more printing success since new install. But when i use localhost:631 to  print native cups  test page, this one is ok !
I can reproduce with that 
strace -e open gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None -dAutoFilterColorImages=false \ 
       -dNOPLATFONTS -dPARANOIDSAFER -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer -dColorConversionStrategy=/LeaveColorUnchanged \ 
       -dDoNumCopies -r600 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sOutputFile=$OUTFILE $INFILE

result is :
 open("/usr/share/ghostscript/fonts/Sephora.pdf", O_RDONLY) = -1 ENOENT (No such file or directory)
 open("/usr/local/lib/ghostscript/fonts/Sephora.pdf", O_RDONLY) = -1  ENOENT (No such file or directory)
 open("/usr/share/fonts/Sephora.pdf", O_RDONLY) = -1 ENOENT (No such file or directory) 
 open("Sephora.pdf", O_RDONLY)           = 4 --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} --- +++
  killed by SIGSEGV +++ /home/gbulot/bin/fix_pdf.sh : ligne 15 : 23104
  Erreur de segmentation  strace -e open $GS -q -dNOPAUSE -dBATCH
  -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoRotatePages=/None
  -dAutoFilterColorImages=false -dNOPLATFONTS -dPARANOIDSAFER
  -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/printer
  -dColorConversionStrategy=/LeaveColorUnchanged -dDoNumCopies -r600
  -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -sOutputFile=$OUTFILE $INFILE  

cups                                        1.7.5-11+deb8u1
ghostscript                                 9.06~dfsg-2+deb8u4
cups-pdf   				    2.6.1-15
printer-driver-cups-pdf   		    2.6.1-15



pdfinfo Sephora.pdf
Creator:        cairo 1.9.5 (http://cairographics.org)
Producer:       cairo 1.9.5 (http://cairographics.org)
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          1
Encrypted:      no
Page size:      595.3 x 841.9 pts (A4)
Page rot:       0
File size:      264214 bytes
Optimized:      no
PDF version:    1.5

Note i: with an other  document (CP_TO11740867.pdf) is the same trouble

Producer:       FOP 0.20.5
[...]
File size:      1454031 bytes
Optimized:      no
PDF version:    1.3



-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ghostscript depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  gsfonts                1:8.11+urwcyr1.0.7~pre44-4.2
ii  libc6                  2.19-18+deb8u6
ii  libgs9                 9.06~dfsg-2+deb8u4

ghostscript recommends no packages.

Versions of packages ghostscript suggests:
ii  ghostscript-x  9.06~dfsg-2+deb8u4

-- no debconf information


Reply to: