Package: python-pymad
Version: 0.5.3-2
Severity: normal

Running quodlibet (music player leveraging pymad and other libraries)
with the "wrong" selection of MP3s would consistently for some people
yield the error in the subject. It only occurs with MP3s enabled, and
we've swapped out all other libraries used with MP3s.  While I have
never reproduced it myself, the cause looks obvious.

In pymadfile.c:py_madfile_seek_time, the last line returns Py_None
without a corresponding Py_INCREF. You can search for other instances
where it returns Py_None only after a Py_INCREF. The fix should be to
add the Py_INCREF(Py_None);

I believe the behavior should be easy to replicate with a script that
used seek_time in an infinite loop. If so, it should be easy to confirm
that the INCREF fixes it.

Michael

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (601, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages python-pymad depends on:
ii  python2.3-pymad               0.5.3-2    Python wrapper to the MPEG Audio D

-- no debconf information


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

Reply via email to