2to3-2.7 crashed with UnicodeDecodeError in read(): 'utf8' codec can't decode byte 0xf6 in position 22890: invalid start byte

Bug #713935 reported by Scott Kitterman
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-dns (Ubuntu)
Invalid
High
Unassigned
python2.6 (Ubuntu)
Invalid
Undecided
Unassigned
python2.7 (Ubuntu)
Invalid
High
Unassigned
python3.1 (Ubuntu)
Invalid
Undecided
Unassigned
python3.2 (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: python2.7

Ran 2to3 -wv on the DNS directory in python-dns.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: python2.7 2.7.1-3
ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
Uname: Linux 2.6.38-1-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Sun Feb 6 01:41:58 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/2to3-2.7
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110202)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python2.7 /usr/bin/2to3 -wv DNS
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=
PythonArgs: ['/usr/bin/2to3', '-wv', 'DNS']
SourcePackage: python2.7
Title: 2to3-2.7 crashed with UnicodeDecodeError in read(): 'utf8' codec can't decode byte 0xf6 in position 22890: invalid start byte
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Scott Kitterman (kitterman) wrote :
visibility: private → public
Revision history for this message
Scott Kitterman (kitterman) wrote :

The same issue affects all four 2to3 versions in the archive.

tags: removed: need-duplicate-check
Revision history for this message
Matthias Klose (doko) wrote :

which file was processed?

Changed in python3.2 (Ubuntu):
status: New → Incomplete
Changed in python2.7 (Ubuntu):
status: New → Incomplete
Changed in python2.6 (Ubuntu):
status: New → Won't Fix
Changed in python3.1 (Ubuntu):
status: New → Won't Fix
Revision history for this message
Scott Kitterman (kitterman) wrote :

It was DNS/Lib.py. Reduced test case about to be attached.

Changed in python2.7 (Ubuntu):
importance: Undecided → High
status: Incomplete → Triaged
Changed in python3.2 (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → High
Revision history for this message
Scott Kitterman (kitterman) wrote :

2to3 testcase will reproduce the issue.

Revision history for this message
Matthias Klose (doko) wrote :

this seems to be an iso encoding, not utf, as the header suggests.

Changed in python-dns (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Changed in python3.2 (Ubuntu):
status: Triaged → Invalid
Changed in python3.1 (Ubuntu):
status: Won't Fix → Invalid
Changed in python2.7 (Ubuntu):
status: Triaged → Invalid
Changed in python2.6 (Ubuntu):
status: Won't Fix → Invalid
Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 713935] Re: 2to3-2.7 crashed with UnicodeDecodeError in read(): 'utf8' codec can't decode byte 0xf6 in position 22890: invalid start byte

It may be encoded incorrectly, but that doesn't mean crashing is the right thing to do. It should be handled more gracefully.

Revision history for this message
dino99 (9d9) wrote :

This version has expired long ago; no more supported

Changed in python-dns (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.