Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463518 - net-print/splix-2.0.0_p20111206 with net-print/cups-1.5.2-r4 - rastertoqpdl hangs while printing
Summary: net-print/splix-2.0.0_p20111206 with net-print/cups-1.5.2-r4 - rastertoqpdl h...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 18:48 UTC by Jaak Ristioja
Modified: 2013-06-13 22:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2013-03-27 18:48:10 UTC
My Samsung SCX-4200 printer recently stopped working all of a sudden (net-print/cups-1.5.2-r4 was reinstalled 2 days ago). Even after a restart, printing doesn't work (e.g. when printing a test page from the web administration interface). It appears that the /usr/libexec/cups/filter/rastertoqpdl process hangs. I have net-print/cups-1.5.2-r4 and net-print/splix-2.0.0_p20111206.


Relevant pstree -ptal output:

  |-cupsd,30191 -C /etc/cups/cupsd.conf
  |   |-rastertoqpdl,28872 311 jotik Test Page 1 job-uuid=urn:uuid:5acd0643-7a42-31c9-6cd8-204c317d480b job-originating-host-name=localhost time-at-creation=1364409088 time-at-processing=1364409088 AP_D_InputSlot=
  |   |   `-{rastertoqpdl},28874
  |   `-usb,28873 311 jotik Test Page 1 job-uuid=urn:uuid:5acd0643-7a42-31c9-6cd8-204c317d480b job-originating-host-name=localhost time-at-creation=1364409088 time-at-processing=1364409088 AP_D_InputSlot=


(gdb) thread apply all bt from rastertoqpdl:

Thread 1 (process 28874):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000098a13998e3 in Semaphore::operator-- (this=0x98a15a0080 <_work>) at src/semaphore.cpp:73
#2  0x00000098a139904a in _cacheControllerThread (_exitVar=0x98a15a0068 <_stopCacheControllerThread>) at src/cache.cpp:211
#3  0x00007b038c7f8e56 in start_thread (arg=0x7b038a275700) at pthread_create.c:305
#4  0x00007b038b8eae3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115


Nothing in access_log or error_log except this:

E [27/Mar/2013:20:07:28 +0200] Filter "hpgltops" not found.
W [27/Mar/2013:20:18:05 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz!
W [27/Mar/2013:20:18:06 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz!
E [27/Mar/2013:20:18:07 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
W [27/Mar/2013:20:18:07 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz!
W [27/Mar/2013:20:18:07 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz!
W [27/Mar/2013:20:18:07 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz!
W [27/Mar/2013:20:18:07 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz!
W [27/Mar/2013:20:18:07 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz!
W [27/Mar/2013:20:18:07 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz!
W [27/Mar/2013:20:18:07 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz!
W [27/Mar/2013:20:18:07 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz!
W [27/Mar/2013:20:19:47 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz!
W [27/Mar/2013:20:19:47 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz!
E [27/Mar/2013:20:19:47 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
W [27/Mar/2013:20:19:48 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz!
W [27/Mar/2013:20:19:48 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz!
W [27/Mar/2013:20:19:48 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz!
W [27/Mar/2013:20:19:48 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz!
W [27/Mar/2013:20:19:48 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz!
W [27/Mar/2013:20:19:48 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz!
W [27/Mar/2013:20:19:48 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz!
W [27/Mar/2013:20:19:48 +0200] [CGI] Missing NickName and ModelName in /usr/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz!


lsusb:

Bus 001 Device 003: ID 04e8:341b Samsung Electronics Co., Ltd SCX-4200 series
Comment 1 Jaak Ristioja 2013-03-27 18:53:00 UTC
net-print/cups-1.5.2-r4  USE="acl filters gnutls jpeg pam png ssl threads tiff -X -avahi -dbus -debug -java -kerberos -ldap -perl -python (-selinux) -slp -static-libs -usb -xinetd" LINGUAS="-es"
net-print/splix-2.0.0_p20111206  USE="jbig"

emerge --info:

Portage 2.1.11.55 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.7.9-hardened-worship x86_64)
=================================================================
System uname: Linux-3.7.9-hardened-worship-x86_64-AMD_Opteron-tm-_Processor_148-with-gentoo-2.1
KiB Mem:     3075124 total,    292156 free
KiB Swap:    3919848 total,   3841880 free
Timestamp of tree: Wed, 27 Mar 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -ggdb"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow acl amd64 bzip2 caps chroot cli cracklib crypt cups curl dri flac geoip git gmp gnutls hal hardened iconv icu idn ipv6 jpeg justify lzo mmx modules mudflap multilib ncurses nptl ogg opencl openmp pam pax_kernel pcre pic png readline session snmp speex sse sse2 ssl subversion svg syslog tcpd threads tiff unicode urandom vhosts xattr xinerama zlib" ABI_X86="64" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="en et en_GB en_US" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Bernard Cafarelli gentoo-dev 2013-04-04 12:19:18 UTC
Thanks for the detailed report! I have a SCX-4200W and it still works fine, but I use ~arch cups

I'll try and downgrade my setup at home to stable to check this
Comment 3 Bernard Cafarelli gentoo-dev 2013-04-08 17:59:44 UTC
After a downgrade to 1.5.2-r4, re-merge of splix and update of the ppd file, it still works for me here

Can you try to update the ppd file again to be on the safe side? (ie remove it from /etc/cups/ppd and go through "Modify printer" to set it again). Else this may be a hardened problem, but I am not sure where to look at this
Comment 4 Bernard Cafarelli gentoo-dev 2013-06-13 22:20:06 UTC
Don't hesitate to reopen if updating the ppd file did not work