radiotray crashed with XPathEvalError if a group name contains a single quote

Bug #1019277 reported by Oliver Joos
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
radiotray (Ubuntu)
New
Undecided
Unassigned

Bug Description

A group name containing a single quote ' (e.g. "Puls'Radio") can be entered. But then RadioTray crashes, even when restarted! I had to edit ~/.local/share/radiotray/bookmark.xml manually to make it start again.

I think special characters should be escaped to allow them passing through XPath. Or (less convenient) the group name textfield could ignore/reject keystrokes of such characters. Or (least convenient) they could be replaced with underscores _ or similar.

This bug occurs in my Ubuntu 11.04 with radiotray 0.6.1-1 and with radiotray 0.6.4 (installed from deb-file).

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: radiotray 0.6.1-1
ProcVersionSignature: Ubuntu 2.6.38-15.60-generic 2.6.38.8
Uname: Linux 2.6.38-15-generic i686
Architecture: i386
Date: Fri Jun 29 14:37:39 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/radiotray
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/radiotray
ProcEnviron:
 LANGUAGE=de_CH:en
 PATH=(custom, user)
 LANG=de_CH.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/radiotray']
SourcePackage: radiotray
Title: radiotray crashed with XPathEvalError in lxml.etree._XPathEvaluatorBase._raise_eval_error (src/lxml/lxml.etree.c:112894)(): Invalid predicate
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio bluetooth cdrom dialout lpadmin plugdev pulse pulse-access sambashare vboxusers www-data

Revision history for this message
Oliver Joos (oliver-joos) wrote :
visibility: private → public
tags: removed: need-duplicate-check
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.