bzr import-dsc crashes if an author's name is not ascii

Bug #447745 reported by Marien Zwart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
Undecided
Unassigned
bzr-builddeb (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bzr-builddeb

import-dsc sets author information from debian/changelog and/or debian/control as revision property as bytestrings. At least using bzr 2.0 chk_serializer's write_revision_to_string tries to encode those to utf-8, which fails if the names aren't ascii. I'll attach the crash file. You should be able to use lv2core_1.0ubuntu1.dsc to reproduce this, which you can get using "apt-get source lv2core" in karmic. If that doesn't work for some reason please say so and I'll cook up a failing dsc.

I've hacked around this for now by decoding to unicode in two spots in bzr-builddeb. See lp:~marienz/+junk/import-dsc-hack for that. It's in +junk because I don't have the faintest idea if this fix is correct.

ProblemType: Bug
Architecture: i386
Date: Sat Oct 10 04:49:18 2009
DistroRelease: Ubuntu 9.10
Package: bzr-builddeb 2.2~ubuntu3
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.42-generic
SourcePackage: bzr-builddeb
Uname: Linux 2.6.31-13-generic i686
XsessionErrors:
 (gnome-settings-daemon:4298): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:4298): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:4343): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:4349): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (gnome-panel:4342): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.2/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window

Revision history for this message
Marien Zwart (marienz) wrote :
Revision history for this message
Jonathan Riddell (jr) wrote :

This no longer seems to be a problem

Changed in bzr-builddeb:
status: New → Fix Released
Changed in bzr-builddeb (Ubuntu):
status: New → Fix Released
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.