You are not logged in.

#1 2014-08-04 16:23:38

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Samsung printer fails after update to CUPS 1.7.5

On July 31 I updated my system and cups-1.7.4-1-x86_64, cups-filters-1.0.54-1-x86_64 and libcups-1.7.4-1-x86_64 got updated to cups-1.7.5-1-x86_64, cups-filters-1.0.55-1-x86_64 and libcups-1.7.5-1-x86_64, respectively. I just tried to print something, but instead of the page that should be printed, my printer, a Samsung ML-2165, printed:

INTERNAL ERROR - Incomplete Session by time out

      POSITION: 0x9eee (40686)

      SYSTEM: h6fw_5.53/os_hook

      LINE: 1353

      VERSION: SPL 5.53 07-22-2011

I'm using the Samsung ML-2160 printer driver, which worked flawlessly until recently (note that in the beginning I had problems printing more than 1 job without resetting the printer, as stated in the comments, but this issue magically went away).

I decided to set LogLevel to 'debug' and now my /var/log/cups/error_log reads:

D [04/Aug/2014:17:56:20 +0200] [Job 73] The following messages were recorded from 17:44:25 to 17:56:20
D [04/Aug/2014:17:56:20 +0200] [Job 73] Unloading...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Loading attributes...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Unloading...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Loading attributes...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Unloading...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Loading attributes...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Job restarted by user.
D [04/Aug/2014:17:56:20 +0200] [Job 73] time-at-processing=1407167771
D [04/Aug/2014:17:56:20 +0200] [Job 73] 3 filters for job:
D [04/Aug/2014:17:56:20 +0200] [Job 73] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [04/Aug/2014:17:56:20 +0200] [Job 73] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [04/Aug/2014:17:56:20 +0200] [Job 73] rastertosamsungspl (application/vnd.cups-postscript to printer/Samsung_ML-2160_Series, cost 0)
D [04/Aug/2014:17:56:20 +0200] [Job 73] job-sheets=none,none
D [04/Aug/2014:17:56:20 +0200] [Job 73] argv[0]="Samsung_ML-2160_Series"
D [04/Aug/2014:17:56:20 +0200] [Job 73] argv[1]="73"
D [04/Aug/2014:17:56:20 +0200] [Job 73] argv[2]="****"
D [04/Aug/2014:17:56:20 +0200] [Job 73] argv[3]="****straat 4 - Google Maps"
D [04/Aug/2014:17:56:20 +0200] [Job 73] argv[4]="1"
D [04/Aug/2014:17:56:20 +0200] [Job 73] argv[5]="EdgeControl=Fine number-up=1 JCLDarkness=NORMAL PageSize=A4 Resolution=600dpi noJCLSkipBlankPages InputSlot=Auto TonerSaveMode=Save MediaType=None job-uuid=urn:uuid:124f4d31-4e75-303a-5dd2-9da2273f0de5 job-originating-host-name=localhost time-at-creation=1407167054 time-at-processing=1407167771"
D [04/Aug/2014:17:56:20 +0200] [Job 73] argv[6]="/var/spool/cups/d00073-001"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[7]="CUPS_STATEDIR=/run/cups"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[8]="HOME=/var/spool/cups/tmp"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[10]="SERVER_ADMIN=root@dc7800"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[11]="SOFTWARE=CUPS/1.7.5"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[13]="USER=root"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[14]="CUPS_MAX_MESSAGE=2047"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[17]="IPP_PORT=631"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[18]="CHARSET=utf-8"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[19]="LANG=en_US.UTF-8"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[20]="PPD=/etc/cups/ppd/Samsung_ML-2160_Series.ppd"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[21]="RIP_MAX_CACHE=128m"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[22]="CONTENT_TYPE=application/pdf"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[23]="DEVICE_URI=usb://Samsung/ML-2160%20Series?serial=Z7CYB8GCAA003YK"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[24]="PRINTER_INFO=Samsung ML-2160 Series"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[25]="PRINTER_LOCATION="
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[26]="PRINTER=Samsung_ML-2160_Series"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[27]="PRINTER_STATE_REASONS=none"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[28]="CUPS_FILETYPE=document"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[29]="FINAL_CONTENT_TYPE=printer/Samsung_ML-2160_Series"
D [04/Aug/2014:17:56:20 +0200] [Job 73] envp[30]="AUTH_I****"
D [04/Aug/2014:17:56:20 +0200] [Job 73] Started filter /usr/lib/cups/filter/pdftopdf (PID 4266)
D [04/Aug/2014:17:56:20 +0200] [Job 73] Started filter /usr/lib/cups/filter/pdftops (PID 4267)
D [04/Aug/2014:17:56:20 +0200] [Job 73] Started filter /usr/lib/cups/filter/rastertosamsungspl (PID 4268)
D [04/Aug/2014:17:56:20 +0200] [Job 73] Started backend /usr/lib/cups/backend/usb (PID 4269)
D [04/Aug/2014:17:56:20 +0200] [Job 73] Restarted by "root".
D [04/Aug/2014:17:56:20 +0200] [Job 73] pdftops - copying to temp print file "/var/spool/cups/tmp/010ab53e725fc"
D [04/Aug/2014:17:56:20 +0200] [Job 73] Loading USB quirks from "/usr/share/cups/usb".
D [04/Aug/2014:17:56:20 +0200] [Job 73] Loaded 68 quirks.
D [04/Aug/2014:17:56:20 +0200] [Job 73] Printing on printer with URI: usb://Samsung/ML-2160%20Series?serial=Z7CYB8GCAA003YK
D [04/Aug/2014:17:56:20 +0200] [Job 73] libusb_get_device_list=11
D [04/Aug/2014:17:56:20 +0200] [Job 73] STATE: +connecting-to-device
D [04/Aug/2014:17:56:20 +0200] [Job 73] STATE: -connecting-to-device
D [04/Aug/2014:17:56:20 +0200] [Job 73] Printer found with device ID: MFG:Samsung;CMD:SPL,FWV,PIC,EXT;MDL:ML-2160 Series;CLS:PRINTER;MODE:SPL5,R0STATUS:BUSY; Device URI: usb://Samsung/ML-2160%20Series?serial=Z7CYB8GCAA003YK
D [04/Aug/2014:17:56:20 +0200] [Job 73] Device protocol: 2
D [04/Aug/2014:17:56:20 +0200] [Job 73] Sending data to printer.
D [04/Aug/2014:17:56:20 +0200] [Job 73] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [04/Aug/2014:17:56:20 +0200] [Job 73] Printer make and model: Samsung LaserPrinter
D [04/Aug/2014:17:56:20 +0200] [Job 73] Running command line for pstops: pstops 73 mk '****straat 4 - Google Maps' 1 'EdgeControl=Fine JCLDarkness=NORMAL PageSize=A4 Resolution=600dpi noJCLSkipBlankPages InputSlot=Auto TonerSaveMode=Save MediaType=None job-uuid=urn:uuid:124f4d31-4e75-303a-5dd2-9da2273f0de5 job-originating-host-name=localhost time-at-creation=1407167054 time-at-processing=1407167771'
D [04/Aug/2014:17:56:20 +0200] [Job 73] Using image rendering resolution 600 dpi
D [04/Aug/2014:17:56:20 +0200] [Job 73] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c 'save pop' -f /var/spool/cups/tmp/010ab53e725fc
D [04/Aug/2014:17:56:20 +0200] [Job 73] Started filter gs (PID 4275)
D [04/Aug/2014:17:56:20 +0200] [Job 73] Started filter pstops (PID 4276)
D [04/Aug/2014:17:56:20 +0200] [Job 73] PID 4266 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [04/Aug/2014:17:56:20 +0200] [Job 73] Page = 595x842; 12,12 to 582,830
D [04/Aug/2014:17:56:20 +0200] [Job 73] slow_collate=0, slow_duplex=0, slow_order=0
D [04/Aug/2014:17:56:20 +0200] [Job 73] Before copy_comments - %!PS-Adobe-3.0
D [04/Aug/2014:17:56:20 +0200] [Job 73] %!PS-Adobe-3.0
D [04/Aug/2014:17:56:20 +0200] [Job 73] %%BoundingBox: 0 0 596 842
D [04/Aug/2014:17:56:20 +0200] [Job 73] %%HiResBoundingBox: 0 0 596.00 842.00
D [04/Aug/2014:17:56:20 +0200] [Job 73] %%Creator: GPL Ghostscript 914 (ps2write)
D [04/Aug/2014:17:56:20 +0200] [Job 73] %%LanguageLevel: 2
D [04/Aug/2014:17:56:20 +0200] [Job 73] %%CreationDate: D:20140804175611+02'00'
D [04/Aug/2014:17:56:20 +0200] [Job 73] %%Pages: 1
D [04/Aug/2014:17:56:20 +0200] [Job 73] %%EndComments
D [04/Aug/2014:17:56:20 +0200] [Job 73] Before copy_prolog - %%BeginProlog
D [04/Aug/2014:17:56:20 +0200] [Job 73] Before copy_setup - %%Page: 1 1
D [04/Aug/2014:17:56:20 +0200] [Job 73] Before page loop - %%Page: 1 1
D [04/Aug/2014:17:56:20 +0200] [Job 73] Copying page 1...
D [04/Aug/2014:17:56:20 +0200] [Job 73] pagew = 570.0, pagel = 817.0
D [04/Aug/2014:17:56:20 +0200] [Job 73] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [04/Aug/2014:17:56:20 +0200] [Job 73] PageLeft = 12.5, PageRight = 582.5
D [04/Aug/2014:17:56:20 +0200] [Job 73] PageTop = 829.5, PageBottom = 12.5
D [04/Aug/2014:17:56:20 +0200] [Job 73] PageWidth = 595.0, PageLength = 842.0
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 1 pages...
D [04/Aug/2014:17:56:20 +0200] [Job 73] PID 4276 (pstops) exited with no errors.
D [04/Aug/2014:17:56:20 +0200] [Job 73] PID 4275 (gs) exited with no errors.
D [04/Aug/2014:17:56:20 +0200] [Job 73] PID 4267 (/usr/lib/cups/filter/pdftops) exited with no errors.
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 158 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 158 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 519 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 519 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 519 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 519 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 8192 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 8192 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 7963 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 7963 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 4901 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 4901 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 4442 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 4442 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 8192 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 8192 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 1679 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 1679 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read 7846 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Wrote 7846 bytes of print data...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Samsung_ML-2160_Series: spl2.c:1322: RenderGDI: Assertion `ul_comp_size < ul_band_size' failed.
D [04/Aug/2014:17:56:20 +0200] [Job 73] Sent 44411 bytes...
D [04/Aug/2014:17:56:20 +0200] [Job 73] PID 4268 (/usr/lib/cups/filter/rastertosamsungspl) crashed on signal 6.
D [04/Aug/2014:17:56:20 +0200] [Job 73] Hint: Try setting the LogLevel to "debug" to find out more.
D [04/Aug/2014:17:56:20 +0200] [Job 73] Waiting for read thread to exit...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Read thread still active, aborting the pending read...
D [04/Aug/2014:17:56:20 +0200] [Job 73] Resetting printer.
D [04/Aug/2014:17:56:20 +0200] [Job 73] PID 4269 (/usr/lib/cups/backend/usb) exited with no errors.
D [04/Aug/2014:17:56:20 +0200] [Job 73] End of messages
D [04/Aug/2014:17:56:20 +0200] [Job 73] printer-state=3(idle)
D [04/Aug/2014:17:56:20 +0200] [Job 73] printer-state-message="Filter failed"
D [04/Aug/2014:17:56:20 +0200] [Job 73] printer-state-reasons=none

(I wiped out some confidential information)

Notice the failure of the RenderCGI assertion, likely causing the crash of rastertosamsungspl. I searched on the net, but didn't find a solution. However, I remembered that the CUPS packages were updated a few days ago and I manually downgraded to the previous releases. This solved the problem for now.

Can someone see what's changed in the last release, especially regarding communication with a printer driver?

Offline

Board footer

Powered by FluxBB