I've got the very same problem as some Debian folks: http://lists.debian.org/debian-devel/2002/debian-devel-200205/msg00795.html In my case the hang occurs when selecting the exact printer model / driver. The cupsd chews up some 85% CPU time and hangs.
can you fill a bug on http://www.cups.org/str.php please
Sure, did that right away. The assigned STR number is 490.
you can try to set your CFLAGS to -O3 -march=yourcputype, remerge cups and try again
That's what I always use on the affected machine. (I prefer conservative settings on my server.) The only additional argument in use is -pipe, but that shouldn't change the compilation result in any way.
For whatever reason I can circumvent the problem setting the ServerName to localhost in cupsd.conf.
but it's an upstream bug
Created attachment 34348 [details] Printer IPP File
I have a very similar problem (same?). But it cannot be solved by setting "serverName" to "localhost". After adding the printer (Magicolor2300DL, IPP) in the web admin the site is hanging when going back to the printer. In gnome-cups-manager the printer is shown and can be removed. But when printing a test page in gnome-cups-manager it is showing client-error-charset-not-supported. I've checked the printers charset... UTF-8, see attached file (Printer IPP File). I have no idea ... remerging doesn't solve this problem. Thanks for any help.
(In reply to comment #5) > For whatever reason I can circumvent the problem setting the ServerName to > localhost in cupsd.conf. > Hi, I have exactly the same problem here. Unfortunately, setting ServerName to localhost does not help anymore. I tried to recompile cups without ssl, slp and pam stuff, but the problem remained. I then removed anything than contains some bug file system hierarchy file such as media-gfx/gimp-print net-print/foomatic-filters app-text/ghostscript-esp and recompile cups without any success. So, I cannot add a printer (mine is an HP Laserjet 6L) using the web interface nor the kprint system, and so I cannot print at all... Any help will be greatly appreciated. regards. 'emerge info' says: # emerge --info Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bootsplash bzip2 cdparanoia cdr cpudetection crypt cups curl dbus dga directfb dts dv dvb dvd dvdread eds emacs emboss encode exif expat fam fbcon ffmpeg flac foomaticdb fortran gd gdbm ggi gif gimpprint glut gmp gstreamer gtk2 hal idn imagemagick imlib java jpeg junit kde kdeenablefinal kdexdeltas lcms libcaca libg++ libwww lirc mad matroska mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python qt quicktime readline ruby samba sasl sdl slp spell sse ssl svg svga symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev vorbis win32codecs wmf xml xml2 xv xvid zlib linguas_en linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY
(In reply to eipi from comment #9) > (In reply to comment #5) > > For whatever reason I can circumvent the problem setting the ServerName to > > localhost in cupsd.conf. > > > > Hi, I have exactly the same problem here. Unfortunately, setting ServerName > to localhost does not help anymore. I tried to recompile cups without ssl, > slp and pam stuff, but the problem remained. I then removed anything than > contains some bug file system hierarchy file such as media-gfx/gimp-print > net-print/foomatic-filters app-text/ghostscript-esp and recompile cups > without any success.https://dubaiescortsgirls.me/ > > So, I cannot add a printer (mine is an HP Laserjet 6L) using the web > interface nor the kprint system, and so I cannot print at all... > > Any help will be greatly appreciated. > > regards. > > 'emerge info' says: > # emerge --info > Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, > 2.6.14-gentoo-r2 i686) > ================================================================= > System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz > Gentoo Base System version 1.6.14 > ccache version 2.3 [enabled] > dev-lang/python: 2.3.5, 2.4.2 > sys-apps/sandbox: 1.2.12 > sys-devel/autoconf: 2.13, 2.59-r6 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 > sys-devel/binutils: 2.16.1 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.11-r2 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CBUILD="i386-pc-linux-gnu" > CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" > CHOST="i386-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env > /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config > /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ > /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ > /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ > /var/qmail/control" > CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" > CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig ccache distlocks sandbox sfperms strict" > GENTOO_MIRRORS="http://distfiles.gentoo.org > http://distro.ibiblio.org/pub/linux/distributions/gentoo" > LDFLAGS="-Wl,-O1" > LINGUAS="en fr" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="x86 X a52 aac aalib alsa apm arts audiofile avi bash-completion berkdb > bitmap-fonts bootsplash bzip2 cdparanoia cdr cpudetection crypt cups curl > dbus dga directfb dts dv dvb dvd dvdread eds emacs emboss encode exif expat > fam fbcon ffmpeg flac foomaticdb fortran gd gdbm ggi gif gimpprint glut gmp > gstreamer gtk2 hal idn imagemagick imlib java jpeg junit kde kdeenablefinal > kdexdeltas lcms libcaca libg++ libwww lirc mad matroska mikmod mmx mng motif > mp3 mpeg mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcre > pdflib perl png ppds python qt quicktime readline ruby samba sasl sdl slp > spell sse ssl svg svga symlink tcpd tetex theora threads tiff truetype > truetype-fonts type1-fonts udev vorbis win32codecs wmf xml xml2 xv xvid zlib > linguas_en linguas_fr userland_GNU kernel_linux elibc_glibc" > Unset: ASFLAGS, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY I can circumvent the problem setting the ServerName to localhost in cupsd.conf.