gnome-lirc-properties crashed with error in on_io()

Bug #224954 reported by Pavel Mlčoch on 2008-04-30
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-lirc-properties (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: gnome-lirc-properties

select IR leadtek

ProblemType: Crash
Architecture: i386
Date: Thu May 1 00:20:57 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-lirc-properties
InterpreterPath: /usr/bin/python2.5
Package: gnome-lirc-properties 0.2.5-0ubuntu1 [modified: var/lib/scrollkeeper/en_GB/scrollkeeper_cl.xml var/lib/scrollkeeper/en_GB/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/C/scrollkeeper_cl.xml var/lib/scrollkeeper/C/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/af/scrollkeeper_cl.xml var/lib/scrollkeeper/af/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ar/scrollkeeper_cl.xml var/lib/scrollkeeper/ar/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/be/scrollkeeper_cl.xml var/lib/scrollkeeper/be/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/bg/scrollkeeper_cl.xml var/lib/scrollkeeper/bg/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/bn/scrollkeeper_cl.xml var/lib/scrollkeeper/bn/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/bs/scrollkeeper_cl.xml var/lib/scrollkeeper/bs/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ca/scrollkeeper_cl.xml var/lib/scrollkeeper/ca/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/cs/scrollkeeper_cl.xml var/lib/scrollkeeper/cs/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/da/scrollkeeper_cl.xml var/lib/scrollkeeper/da/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/de/scrollkeeper_cl.xml var/lib/scrollkeeper/de/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/el/scrollkeeper_cl.xml var/lib/scrollkeeper/el/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/en/scrollkeeper_cl.xml var/lib/scrollkeeper/en/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/pt_BR/scrollkeeper_cl.xml var/lib/scrollkeeper/pt_BR/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/eo/scrollkeeper_cl.xml var/lib/scrollkeeper/eo/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/es/scrollkeeper_cl.xml var/lib/scrollkeeper/es/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/et/scrollkeeper_cl.xml var/lib/scrollkeeper/et/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/eu/scrollkeeper_cl.xml var/lib/scrollkeeper/eu/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/fi/scrollkeeper_cl.xml var/lib/scrollkeeper/fi/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/fr/scrollkeeper_cl.xml var/lib/scrollkeeper/fr/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/gl/scrollkeeper_cl.xml var/lib/scrollkeeper/gl/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/he/scrollkeeper_cl.xml var/lib/scrollkeeper/he/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/hr/scrollkeeper_cl.xml var/lib/scrollkeeper/hr/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/hu/scrollkeeper_cl.xml var/lib/scrollkeeper/hu/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/id/scrollkeeper_cl.xml var/lib/scrollkeeper/id/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/is/scrollkeeper_cl.xml var/lib/scrollkeeper/is/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/it/scrollkeeper_cl.xml var/lib/scrollkeeper/it/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ja/scrollkeeper_cl.xml var/lib/scrollkeeper/ja/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ka/scrollkeeper_cl.xml var/lib/scrollkeeper/ka/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/kn/scrollkeeper_cl.xml var/lib/scrollkeeper/kn/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ko/scrollkeeper_cl.xml var/lib/scrollkeeper/ko/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ku/scrollkeeper_cl.xml var/lib/scrollkeeper/ku/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/lt/scrollkeeper_cl.xml var/lib/scrollkeeper/lt/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/lv/scrollkeeper_cl.xml var/lib/scrollkeeper/lv/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ms/scrollkeeper_cl.xml var/lib/scrollkeeper/ms/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/nb/scrollkeeper_cl.xml var/lib/scrollkeeper/nb/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/nl/scrollkeeper_cl.xml var/lib/scrollkeeper/nl/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/nn/scrollkeeper_cl.xml var/lib/scrollkeeper/nn/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/oc/scrollkeeper_cl.xml var/lib/scrollkeeper/oc/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/pa/scrollkeeper_cl.xml var/lib/scrollkeeper/pa/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/pl/scrollkeeper_cl.xml var/lib/scrollkeeper/pl/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/pt/scrollkeeper_cl.xml var/lib/scrollkeeper/pt/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ro/scrollkeeper_cl.xml var/lib/scrollkeeper/ro/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ru/scrollkeeper_cl.xml var/lib/scrollkeeper/ru/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/si/scrollkeeper_cl.xml var/lib/scrollkeeper/si/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/sk/scrollkeeper_cl.xml var/lib/scrollkeeper/sk/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/sl/scrollkeeper_cl.xml var/lib/scrollkeeper/sl/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/sq/scrollkeeper_cl.xml var/lib/scrollkeeper/sq/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/sr/scrollkeeper_cl.xml var/lib/scrollkeeper/sr/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/zh_CN/scrollkeeper_cl.xml var/lib/scrollkeeper/zh_CN/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/sv/scrollkeeper_cl.xml var/lib/scrollkeeper/sv/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/te/scrollkeeper_cl.xml var/lib/scrollkeeper/te/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/th/scrollkeeper_cl.xml var/lib/scrollkeeper/th/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/tl/scrollkeeper_cl.xml var/lib/scrollkeeper/tl/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/tr/scrollkeeper_cl.xml var/lib/scrollkeeper/tr/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/uk/scrollkeeper_cl.xml var/lib/scrollkeeper/uk/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/ur/scrollkeeper_cl.xml var/lib/scrollkeeper/ur/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/uz/scrollkeeper_cl.xml var/lib/scrollkeeper/uz/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/vi/scrollkeeper_cl.xml var/lib/scrollkeeper/vi/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/zh_TW/scrollkeeper_cl.xml var/lib/scrollkeeper/zh_TW/scrollkeeper_extended_cl.xml var/lib/scrollkeeper/scrollkeeper_docs]
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gnome-lirc-properties
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=cs_CZ.UTF-8
 LANGUAGE=cs_CZ:cs:en_GB:en
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gnome-lirc-properties']
SourcePackage: gnome-lirc-properties
Title: gnome-lirc-properties crashed with error in on_io()
Traceback:
 Traceback (most recent call last):
   File "/var/lib/python-support/python2.5/gnome_lirc_properties/lirc.py", line 833, in on_io
     packet = self.__socket and self.__socket.recv(128)
 error: (104, 'Connection reset by peer')
Uname: Linux 2.6.24-16-generic i686
UserGroups:

Pavel Mlčoch (pavkamlc) wrote :
Murray Cumming (murrayc) wrote :

Could this be an exception that we should be catching?

Mathias Hasselmann (hasselmm) wrote :

Looks like lircd crashes after sending some few lines to its socket. Should not happen, but can be worked arround by catching the exception.
So I agree on catching it and setting packet to '' in the exception handler.

Murray Cumming (murrayc) wrote :

OK, I think I have fixed this in svn upstream, though I obviously can't test it without having the "IR leadtek" hardware:

2008-05-15 Murray Cumming <email address hidden>

 * gnome_lirc_properties/lirc.py: KeyListener.__on_io_event():
 Catch a SocketError when doing socket.recv(), to avoid a possible crash.
 Ubuntu bug
 http://bugs.launchpad.net/ubuntu/+source/gnome-lirc-properties/+bug/224954
 (not filed upstream).

Changed in gnome-lirc-properties:
status: New → Fix Committed
Changed in gnome-lirc-properties:
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-lirc-properties - 0.2.7-0ubuntu1

---------------
gnome-lirc-properties (0.2.7-0ubuntu1) intrepid; urgency=low

  * New upstream version (LP: #218691)
    - Fix crash with ValueError in __init__() (LP: #226745)
    - Fix crash with error in io() (LP: #224954)
    - Better method for filtering type of IR device (LP: #221177)
  * debian/rules
    - removal of rmdir of the locale dir, since it is not empty anymore.
    - clean up of help/gnome-lirc-properties.pot
  * Bump to Standard-Version 3.8.0
  * debian/copyright:
    - corrected the location of the GPL-2
    - Addition of the copyright of Openismus GmbH

 -- Christophe Sauthier <email address hidden> Mon, 11 Aug 2008 14:42:36 +0200

Changed in gnome-lirc-properties:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers