Bug#242258: marked as done (gnome-panel crashes on invalid .recently-used entry)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 31 May 2004 11:33:11 -0700


Your message dated Mon, 31 May 2004 20:27:27 +0200
with message-id <sa78yf8fo4w.fsf@Elwing.coinnetwork.dl>
and subject line Fixed by GNOME 2.6 upload to unstable
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Apr 2004 15:56:15 +0000
>From gervasi@di.unipi.it Mon Apr 05 08:56:15 2004
Return-path: <gervasi@di.unipi.it>
Received: from margot.di.unipi.it (margot) [131.114.3.213] (proxyuser)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BAWSM-0005cl-00; Mon, 05 Apr 2004 08:56:14 -0700
Received: from gervasi by margot with local (Exim 3.36 #1 (Debian))
	id 1BAWS3-0002bL-00; Mon, 05 Apr 2004 17:55:55 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Vincenzo Gervasi <gervasi@di.unipi.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnome-panel crashes on invalid .recently-used entry
X-Mailer: reportbug 2.56
Date: Mon, 05 Apr 2004 17:55:55 +0200
Message-Id: <E1BAWS3-0002bL-00@margot>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Scores: 1 1

Package: gnome-panel
Version: 2.4.2-4
Severity: important

gnome-panel crashes upon finding XML encoding problems in .recently used.
In particular, I had the following entry (created by OpenOffice.org):

<RecentItem>
  <URI>file:///home/gervasi/REFSQ04/Reviews/06%20&%2022%20Rolland.doc</URI>
  <Mime-Type>application/msword</Mime-Type>
  <Timestamp>1080897663</Timestamp>
  <Groups>
    <Group>OpenOffice.org</Group>
  </Groups>
</RecentItem>

As you can notice, the encoding of the file name "06 & 22 Rolland.doc" was
incorrect, in that the ampersand was not encoded as it should. However, it
is not acceptable that the panel crashes (in an endless loop, due to the
session manager re-launching it every time) just because an application or a
user has used an unusual file name. XML parsing errors at this stage should
be harmless -- at the worst, the offending entry should be dropped from
the recent files menu.

In my case, the problem was fixed by (manually) rewriting the entry as
follows:

<RecentItem>
  <URI>file:///home/gervasi/REFSQ04/Reviews/06%20&amp;%2022%20Rolland.doc</URI>
  <Mime-Type>application/msword</Mime-Type>
  <Timestamp>1080897663</Timestamp>
  <Groups>
    <Group>OpenOffice.org</Group>
  </Groups>
</RecentItem>

Notice how & was encoded to &amp; (whereas the previous &%2022 was an
illegal entity name).

Thanks for your excellent work,
-Vincenzo



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.2
Locale: LANG=it_IT, LC_CTYPE=it_IT

Versions of packages gnome-panel depends on:
ii  gnome-control-center        1:2.4.0-9    The GNOME Control Center for GNOME
ii  gnome-desktop-data          2.4.1-9      Common files for GNOME 2 desktop a
ii  gnome-panel-data            2.4.2-4      Common files for GNOME 2 panel
ii  gnome-session               2.4.2-4      The GNOME 2 Session Manager
ii  libart-2.0-2                2.3.16-3     Library of functions for 2D graphi
ii  libatk1.0-0                 1.4.1-1      The ATK accessibility toolkit
ii  libaudiofile0               0.2.6-3      Open-source version of SGI's audio
ii  libbonobo2-0                2.4.3-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0              2.4.3-2      The Bonobo UI library
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libesd0                     0.2.29-1     Enlightened Sound Daemon - Shared 
ii  libgconf2-4                 2.4.0.1-4    GNOME configuration database syste
ii  libgcrypt1                  1.1.12-4     LGPL Crypto library - runtime libr
ii  libglade2-0                 2.0.1-12     Library to load .glade files at ru
ii  libglib2.0-0                2.2.3-1      The GLib library of C routines
ii  libgnome-desktop-2          2.4.1-9      Utility library for loading .deskt
ii  libgnome2-0                 2.4.0-10     The GNOME 2 library - runtime file
ii  libgnomecanvas2-0           2.4.0-3      A powerful object-oriented display
ii  libgnomeui-0                2.4.0.1-10   The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0              2.4.1-5      The GNOME virtual file-system libr
ii  libgnomevfs2-common         2.4.1-5      The GNOME virtual file-system libr
ii  libgnutls7                  0.8.12-5     GNU TLS library - runtime library
ii  libgtk2.0-0                 2.2.4-3      The GTK+ graphical user interface 
ii  libice6                     4.3.0-7      Inter-Client Exchange library
ii  libjpeg62                   6b-9         The Independent JPEG Group's JPEG 
ii  liborbit2                   1:2.8.3-2    libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0          2.4.2-4      Library for GNOME 2 Panel applets
ii  libpango1.0-0               1.2.5-2.1    Layout and rendering of internatio
ii  libpng12-0                  1.2.5.0-5    PNG library - runtime
ii  libpopt0                    1.7-4        lib for parsing cmdline parameters
ii  libsm6                      4.3.0-7      X Window System Session Management
ii  libstartup-notification0    0.5-9        library for program launch feedbac
ii  libtasn1-0                  0.1.2-1      Manage ASN.1 structures (runtime)
ii  libwnck4                    2.4.0.1-4    Window Navigator Construction Kit 
ii  libx11-6                    4.3.0-7      X Window System protocol client li
ii  libxext6                    4.3.0-7      X Window System miscellaneous exte
ii  libxml2                     2.6.8-1      GNOME XML library
ii  xlibs                       4.3.0-7      X Window System client libraries m
ii  zlib1g                      1:1.2.1-5    compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 242258-done) by bugs.debian.org; 31 May 2004 18:28:11 +0000
>From Duck@duckcorp.org Mon May 31 11:28:11 2004
Return-path: <Duck@duckcorp.org>
Received: from home.duckcorp.org (mx.duckcorp.org) [62.4.22.189] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BUrW6-0004vT-00; Mon, 31 May 2004 11:28:10 -0700
Received: from localhost (localhost [127.0.0.1])
	by mx.duckcorp.org (Postfix) with ESMTP
	id C666D14C74F; Mon, 31 May 2004 20:27:38 +0200 (CEST)
Received: from mx.duckcorp.org ([127.0.0.1])
	by localhost (Elwing [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 32310-09; Mon, 31 May 2004 20:27:31 +0200 (CEST)
Received: from Elwing.coinnetwork.dl (localhost [127.0.0.1])
	by mx.duckcorp.org (Postfix) with ESMTP
	id 282B114C74D; Mon, 31 May 2004 20:27:31 +0200 (CEST)
From: =?utf-8?q?Marc_Dequ=C3=A8nes?= (Duck) <Duck@DuckCorp.org>
To: 242074-done@bugs.debian.org, 186484-done@bugs.debian.org,
	235903-done@bugs.debian.org, 216577-done@bugs.debian.org,
	249906-done@bugs.debian.org, 238862-done@bugs.debian.org,
	242258-done@bugs.debian.org, 250807-done@bugs.debian.org
Subject: Fixed by GNOME 2.6 upload to unstable
Organization: DuckCorp
Date: Mon, 31 May 2004 20:27:27 +0200
Message-ID: <sa78yf8fo4w.fsf@Elwing.coinnetwork.dl>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-Virus-Scanned: by Amavis at CoinNetwork
Delivered-To: 242258-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 6

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


These bugs were not closed by upload because of manual tagging.
They are closed by new packages from experimental recently uploaded into
sid.

And thx to the GNOME Team Core members for managing this upload very
well.

=2D-=20
Marc Dequ=C3=A8nes (Duck)

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAu3kSsczZcpAmcIYRAnT1AKCONweSeD5oqAqVX1BvZHiF/Rs97QCgqK+7
UHqfsrAPMA5v0WrQiSzAcm8=
=OnDm
-----END PGP SIGNATURE-----
--=-=-=--