avahi-discover crashed with Error in setlocale()

Bug #131205 reported by BonBonTheJon
10
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/avahi-discover
InterpreterPath: /usr/bin/python2.5
Package: avahi-discover 0.6.20-2ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/avahi-discover
ProcCwd: /home/jon
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/avahi-discover']
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

Tags: apport-crash
Revision history for this message
BonBonTheJon (jonathan-mueller) wrote :
Changed in avahi:
importance: Undecided → Medium
Revision history for this message
Lars Ljung (larslj) wrote :

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.

Changed in avahi:
status: New → Confirmed
Revision history for this message
BonBonTheJon (jonathan-mueller) wrote :

I haven't had the problem in a long time. I'm wondering if this can be closed.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Confirmed the code is the same in Ubuntu 9.04. Decreasing importance as this doesn't seem to be affecting many people. I can't see a valid reason why the setlocale() should fail so not sure if a code change is appropriate.

Changed in avahi (Ubuntu):
importance: Medium → Low
status: Confirmed → Triaged
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.