Bug#737054: oss-compat: deadlocks during remove

Andreas Beckmann anbe at debian.org
Wed Jan 29 19:39:29 UTC 2014


Package: oss-compat
Version: 5
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to remove,
the apt-get command gets killed after a timeout and there are two
processes running that probably didn't terminate as expected ...

>From the attached log (scroll to the bottom...):

0m19.1s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpqN70Hj', 'apt-get', 'remove', 'kmod', 'libkmod2:amd64', 'oss-compat']
59m19.1s ERROR: Terminating command due to excessive runtime
59m19.6s DUMP: 
  
  
  ***** Command was terminated after exceeding runtime limit (3540 s) *****
59m19.6s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmpqN70Hj', 'apt-get', 'remove', 'kmod', 'libkmod2:amd64', 'oss-compat']
59m19.6s INFO: Running scripts post_remove
59m19.6s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpqN70Hj', 'dpkg', '--purge', 'kmod', 'libkmod2:amd64']
59m19.6s DUMP: 
  (Reading database ... 6709 files and directories currently installed.)
  Removing kmod (16-2) ...
  Purging configuration files for kmod (16-2) ...
  Removing libkmod2:amd64 (16-2) ...
  Purging configuration files for libkmod2:amd64 (16-2) ...
59m19.6s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmpqN70Hj', 'dpkg', '--purge', 'kmod', 'libkmod2:amd64']
59m19.6s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpqN70Hj', 'dpkg', '--purge', 'oss-compat']
59m19.6s DUMP: 
  (Reading database ... 6708 files and directories currently installed.)
  Removing oss-compat (5) ...
  Purging configuration files for oss-compat (5) ...
59m19.6s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmpqN70Hj', 'dpkg', '--purge', 'oss-compat']
[...]
59m19.6s DEBUG: Starting command: ['lsof', '-w', '+D', '/tmp/piupartss/tmpqN70Hj']
59m19.9s DUMP: 
  COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF       NODE NAME
  sleep     12425 root  cwd    DIR   0,17      460 2690855434 /tmp/piupartss/tmpqN70Hj
  sleep     12425 root  rtd    DIR   0,17      460 2690855434 /tmp/piupartss/tmpqN70Hj
  sleep     12425 root  txt    REG   0,17    31208 2690856768 /tmp/piupartss/tmpqN70Hj/bin/sleep
  sleep     12425 root  mem    REG   0,17  1742520 2690864778 /tmp/piupartss/tmpqN70Hj/lib/x86_64-linux-gnu/libc-2.17.so
  sleep     12425 root  mem    REG   0,17   145160 2690867372 /tmp/piupartss/tmpqN70Hj/lib/x86_64-linux-gnu/ld-2.17.so
  sleep     12425 root    0r   CHR    1,3      0t0 2690855502 /tmp/piupartss/tmpqN70Hj/dev/null
  oss-compa 27400 root  cwd    DIR   0,17      460 2690855434 /tmp/piupartss/tmpqN70Hj
  oss-compa 27400 root  rtd    DIR   0,17      460 2690855434 /tmp/piupartss/tmpqN70Hj
  oss-compa 27400 root  txt    REG   0,17   117176 2690841077 /tmp/piupartss/tmpqN70Hj/bin/dash
  oss-compa 27400 root  mem    REG   0,17  1742520 2690864778 /tmp/piupartss/tmpqN70Hj/lib/x86_64-linux-gnu/libc-2.17.so
  oss-compa 27400 root  mem    REG   0,17   145160 2690867372 /tmp/piupartss/tmpqN70Hj/lib/x86_64-linux-gnu/ld-2.17.so
  oss-compa 27400 root    0r   CHR    1,3      0t0 2690855502 /tmp/piupartss/tmpqN70Hj/dev/null
59m19.9s DEBUG: Command failed (status=1), but ignoring error: ['lsof', '-w', '+D', '/tmp/piupartss/tmpqN70Hj']
59m19.9s ERROR: FAIL: Processes are running inside chroot:
  COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF       NODE NAME
  sleep     12425 root  cwd    DIR   0,17      460 2690855434 /tmp/piupartss/tmpqN70Hj
  sleep     12425 root  rtd    DIR   0,17      460 2690855434 /tmp/piupartss/tmpqN70Hj
  sleep     12425 root  txt    REG   0,17    31208 2690856768 /tmp/piupartss/tmpqN70Hj/bin/sleep
  sleep     12425 root  mem    REG   0,17  1742520 2690864778 /tmp/piupartss/tmpqN70Hj/lib/x86_64-linux-gnu/libc-2.17.so
  sleep     12425 root  mem    REG   0,17   145160 2690867372 /tmp/piupartss/tmpqN70Hj/lib/x86_64-linux-gnu/ld-2.17.so
  sleep     12425 root    0r   CHR    1,3      0t0 2690855502 /tmp/piupartss/tmpqN70Hj/dev/null
  oss-compa 27400 root  cwd    DIR   0,17      460 2690855434 /tmp/piupartss/tmpqN70Hj
  oss-compa 27400 root  rtd    DIR   0,17      460 2690855434 /tmp/piupartss/tmpqN70Hj
  oss-compa 27400 root  txt    REG   0,17   117176 2690841077 /tmp/piupartss/tmpqN70Hj/bin/dash
  oss-compa 27400 root  mem    REG   0,17  1742520 2690864778 /tmp/piupartss/tmpqN70Hj/lib/x86_64-linux-gnu/libc-2.17.so
  oss-compa 27400 root  mem    REG   0,17   145160 2690867372 /tmp/piupartss/tmpqN70Hj/lib/x86_64-linux-gnu/ld-2.17.so
  oss-compa 27400 root    0r   CHR    1,3      0t0 2690855502 /tmp/piupartss/tmpqN70Hj/dev/null
  
59m20.1s DEBUG: kill -15 27400
59m20.3s DEBUG: kill -15 12425


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oss-compat_5.log.gz
Type: application/x-gzip
Size: 9892 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20140129/7e4fe930/attachment.bin>


More information about the Pkg-games-devel mailing list