Package: cplay
Version: 1.49-10
Severity: normal
Tags: patch

Every shell-command I tried kills cplay:

| shell$ true
| Traceback (most recent call last):
|       File "/usr/bin/cplay", line 1643, in main
|               app.run()
|       File "/usr/bin/cplay", line 1466, in run
|               self.keymapstack.process(c)
|       File "/usr/bin/cplay", line 95, in process
|               if keymap and keymap.process(code):
|       File "/usr/bin/cplay", line 117, in process
|               apply(method, args)
|       File "/usr/bin/cplay", line 1586, in
|               stop_input
|               apply(self.stop_input_hook, args)
|       File "/usr/bin/cplay", line 690, in
|               stop_shell
|               pid, r = os.waitpid(pid, 0)
|       OSError: [Errno 10] No child processes

Please feel free to ask if you need further information.
I guess it would be good to think about ignoring SIGCHLD, but the
following patch provides a simple workaround the problem:

| 690c690,691
| <         pid, r = os.waitpid(pid, 0)
| ---
| >         try: pid, r = os.waitpid(pid, os.WNOHANG)
| >         except os.error: pass

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.18
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages cplay depends on:
ii  python                        2.3.5-8    An interactive high-level object-o

Versions of packages cplay recommends:
ii  python-pyvorbis               1.3-1      A Python interface to the Ogg Vorb
ii  vorbis-tools                  1.1.1-5    several Ogg Vorbis tools

-- no debconf information


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

Reply via email to