avahi-discover crashed with Error in setlocale()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
avahi (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Been having trouble with locale. Restarted and avahi must have crashed.
ProblemType: Crash
Architecture: i386
Date: Wed Aug 8 17:46:48 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.5
Package: avahi-discover 0.6.20-2ubuntu2
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcCwd: /home/jon
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: avahi
Title: avahi-discover crashed with Error in setlocale()
Uname: Linux athena 2.6.22-9-386 #1 Fri Aug 3 00:21:52 GMT 2007 i686 GNU/Linux
Changed in avahi: | |
importance: | Undecided → Medium |
If there are any problems with the locale the call to locale. setlocale( locale. LC_ALL, '') will raise an Python exception, this exception is never caught. The bug is still there in avahi-discover 0.6.20-2ubuntu3.2.
The attached patch makes the program print an error message to stdout and then continue as usual.