[Pkg-cups-devel] Bug#461349: (upgrade stalls w/100% CPU ... ) / Merge with #455731?

A. Costa agcosta at gis.net
Sun Jan 20 08:08:46 UTC 2008


I used 'dpkg' to downgrade from 'cupsys' v1.3.5-1 to v1.3.4-4, but the
downgrade produced the same bug, (100% CPU unkillable 'index++'
stall).  Which implies 'cupsys' is not the problem.

During an upgrade of a couple hundred packages the other night, the same
bug occurred with other packages, such as:

	slib (3a5-3)
	maint-guide (1.2.12)
	gimp-help-en (2.4.0-2)

...and others.  It's hard to imagine how 'cupsys' could cause that.
Perhaps this bug's 'severity' should be worse than 'important'.  It
breaks 'apt-get' too, since after the error 'apt-get' fails and
suggests running 'dpkg --configure -a' which also fails.  (Plain 'dpkg'
still works.)

More online searching revealed this harmless-looking bug:

	#455731 dhelp cron failed
	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455731

I tried the '/usr/lib/ruby/1.8/dhelp.rb' patch suggested there, (see
attached .diff), and it helped (in an odd way):

	% dpkg -i cupsys_1.3.5-1_i386.deb
	{ ...etc... }
	Preparing to replace cupsys 1.3.4-4 (using .../cupsys_1.3.5-1_i386.deb) ...
	Stopping Common Unix Printing System: cupsd.
	Unpacking replacement cupsys ...
	Setting up cupsys (1.3.5-1) ...
	Dhelp::IndexerError: Couldn't index /var/lib/doc-base/documents/cupsys using /usr/bin/index++ --config-file /usr/share/dhelp/swish++.conf --index-file /var/lib/dhelp/documents.index --incremental - (/usr/lib/ruby/1.8/dhelp.rb:368:in `index'
	/usr/sbin/dhelp_parse:112:in `main'
	/usr/lib/ruby/1.8/commandline/application.rb:250:in `run'
	/usr/lib/ruby/1.8/commandline/application.rb:269:in `__set_auto_run'
	/usr/sbin/dhelp_parse:93)
	Starting Common Unix Printing System: cupsd.

...that is the patch is inapplicable, buggy, or maybe I typed it in
wrong, and it breaks '/usr/lib/ruby/1.8/dhelp.rb'; but that breakage
prevents the 100% CPU unkillable process.  After the patch 'dpkg
--configure -a' worked, which fixed 'apt-get'.  Some document index
aren't updated, but that's the lesser of two evils.

Bugs #46139 & #455731 seem somehow related; should they be merged?  If not,
to what other package might this bug belong?

HTH...



-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhelp.diff
Type: text/x-diff
Size: 666 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20080120/25d93178/attachment.diff 


More information about the Pkg-cups-devel mailing list