[Bug 414524] [NEW] MadFile(x) segfaults if x is Unicode

mrdiskodave spam2008 at nney.com
Sun Aug 16 19:17:32 UTC 2009


Public bug reported:

Binary package hint: python-pymad

mad.MadFile(x) # segfaults if x is Unicode

mad.MadFile(unicode_to_utf8(x)) # is fine

def unicode_to_utf8(s):
    assert type(s)==type(u"x")
    return s.encode("utf-8")

ProblemType: Bug
Architecture: i386
Dependencies:
 libgcc1 1:4.3.3-5ubuntu4
 gcc-4.3-base 4.3.3-5ubuntu4
 libmad0 0.15.1b-4
 findutils 4.4.0-2ubuntu4
 libc6 2.9-4ubuntu6
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: python-pymad 0.5.4-3.2build2
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: pymad
Uname: Linux 2.6.28-13-generic i686

** Affects: pymad (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
MadFile(x) segfaults if x is Unicode
https://bugs.launchpad.net/bugs/414524
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list