Package: libruby1.8
Version: 1.8.7-2
Severity: normal

May warrant higher severity: this bug breaks unrelated packages. In
fact, it breaks the installation of any packages at all.  However, I
would expect someone else to have reported this if it were a general
problem.  My aptitude update hung at "Registering documents with
dhelp..." until I killed the parent process.

Here's the relevant terminal log:
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 removed, 482 changed, 1 added doc-base file(s)...
NoMethodError: private method `gsub' called for nil:NilClass 
(/usr/lib/ruby/1.8/uri/common.rb:289:in `escape'
/usr/lib/ruby/1.8/dhelp/exporter/html.rb:119:in `uri_escape'
(erb):48:in `export_section_page'
(erb):47:in `each'
(erb):47:in `export_section_page'
(erb):43:in `each'
(erb):43:in `export_section_page'
/usr/lib/ruby/1.8/dhelp/exporter/html.rb:94:in `export_section_page'
/usr/lib/ruby/1.8/dhelp/exporter/html.rb:42:in `export'
/usr/lib/ruby/1.8/dhelp/exporter/html.rb:41:in `each_pair'
/usr/lib/ruby/1.8/dhelp/exporter/html.rb:41:in `export'
/usr/sbin/dhelp_parse:132: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:91)
Registering documents with dhelp...


At this point, it hung, consuming > 80% of the CPU.  Here's a trace of
the jobs.  The first one is the one using the CPU; each succeeding one
is the parent of the one above.  Jobs like the first one (index++)
kept running and being respawned.  In other words, a job like 30248
would run for awhile, finish, and then a new one would run.

[EMAIL PROTECTED]:~/.ssh$ ps -l 30248
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY        TIME CMD
4 R     0 30248 30003 90  80   0 - 13379 -      pts/9      0:05 
/usr/bin/index++ --config-file /usr/share/dhelp/swish++.conf --index-file 
/var/lib/dhelp/doc
[EMAIL PROTECTED]:~/.ssh$ ps -l 30003
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY        TIME CMD
0 S     0 30003 28839  0  80   0 -  2496 -      pts/9      0:04 
/usr/bin/ruby1.8 -w /usr/sbin/dhelp_parse -a 
/var/lib/doc-base/documents/ldp-en-network-inst
[EMAIL PROTECTED]:~/.ssh$ ps -l 28839
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY        TIME CMD
0 S     0 28839 28837  0  80   0 -  2551 -      pts/9      0:02 /usr/bin/perl 
/usr/sbin/install-docs --install-changed
[EMAIL PROTECTED]:~/.ssh$ ps -l 28837
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY        TIME CMD
0 S     0 28837 27220  0  80   0 -   628 -      pts/9      0:00 /bin/sh 
/var/lib/dpkg/info/doc-base.postinst triggered /usr/share/doc-base


I killed 30003 and installation then proceeded.
-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (40, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libruby1.8 depends on:
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libncurses5            5.6+20080308-1    Shared libraries for terminal hand
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

libruby1.8 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to