[Debconf-devel] Bug#486094: debconf: hangs on selecting "show a side-by-side difference between the versions"

Jens Thiele karme at berlios.de
Mon Jun 16 14:20:11 UTC 2008


Package: debconf
Version: 1.5.22
Followup-For: Bug #486094

there diffinitely is a bug somewhere
i have seen the same problem
at first 100% cpu is consumed for a long time
strace does not show anything
but ltrace shows a lot of memcpy/memmoves:
memmove(0x8a12b40, 0x8a17018, 1, 0x83407b0, 0)                                       = 0x8a12b40
memcpy(0x8349500, "Xw3\b", 4)                                                        = 0x8349500
memmove(0x9158c90, 0xb736b008, 180950, 0x83407b0, 0x83406b0)                         = 0x9158c90
memmove(0x89ff8e0, 0x9158c90, 1, 0x80dc10c, 0x8170008)                               = 0x89ff8e0
memmove(0x88d4f30, 0x89ff8e0, 1, 0, 0x8170008)                                       = 0x88d4f30
memmove(0x91ab398, 0x9158c91, 180949, 0x80dc10c, 0x8170008)                          = 0x91ab398
memmove(0x91fdaa0, 0x91ab398, 180949, 1, 0x8170008)                                  = 0x91fdaa0
memset(0x8cf39f0, '\000', 8)                                                         = 0x8cf39f0
pthread_getspecific(0, 0, 8, 0xb7e44506, 4)                                          = 0x8170008
malloc(4)                                                                            = 0x8a14c68
=> maybe "normal" operation

after that it seems another process is started that wants to write to stderr but hangs
(and the parent hangs reading)

parent?
jens at thialfi:~$ sudo strace -f -p 5917
Process 5917 attached - interrupt to quit
read(11,  <unfinished ...>
Process 5917 detached

child?
jens at thialfi:~$ sudo strace -f -p 6328
Process 6328 attached - interrupt to quit
write(2, "i\" = -* ]]; then elif [[ \"$i\" = "..., 4096 <unfinished ...>
Process 6328 detached

note: i changed the frontent from dialog to readline after that

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

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

Versions of packages debconf depends on:
ii  debconf-i18n                  1.5.22     full internationalization support 
ii  perl-base                     5.10.0-10  The Pathologically Eclectic Rubbis

Versions of packages debconf recommends:
ii  apt-utils                     0.7.14+b1  APT utility programs

-- debconf information:
  debconf-apt-progress/title:
  debconf-apt-progress/info:
* debconf/priority: high
  debconf-apt-progress/preparing:
  debconf-apt-progress/media-change:
* debconf/frontend: Readline





More information about the Debconf-devel mailing list