Bug#294532: gedit: crash with libgnome-vfs

Loïc Minier Loïc Minier , 294532@bugs.debian.org
Wed, 16 Feb 2005 22:28:16 +0100


        Hi,

On Wed, Feb 16, 2005, Botond Botyanszki wrote:
> 
> The bug is triggered with recently used files which are bound to
> gnome-vfs's http module. If I open a location http://somewhere.com/file=
 in
> gedit and then close it, it will be in the recent files list. On the ne=
xt
> start, it dies.

 A http:// URL is not enough (I've got plenty in my recently-used) but I
 could trigger a bug with the recently-used in #294532 indeed.

> I recompiled gedit without optimization and debug stripping,
> so gdb gives:
...
> egg-recent-item.c is using gnome-vfs (judging from a quick glance at th=
e
> source).

 Yes.

> The problem is the same with gnome-panel. If there is a file with a
> http:// URI in "Recent Documents", it crashes too.
> And looking at its source, it has the same version of egg-recent-item.c=
.
> Why isn't this a lib? This is sick.

 I was surprized too when I discovered how libegg should be used.  It's
 a kind of scratch lib to implement new features dirtily, and then they
 are moved to the right place.

 I attach you the README in the libegg CVS, it will probably present
 libegg better than I can.

> Found it in #294532.

 Thanks for Cc:ing, it was interesting.

 It seems there's a whole class of problems with libegg and projects are
 supposed to resync their local copy of libegg to the latest version
 whenever possible, but there's no "release", so it's kind of dangerous.

 You can search for "recently-used" in comments on bugs.gnome.org,
 you'll find a bunch of open bugs, and a lot on libegg!


 For your particylar problem, please try gedit 2.8.3, it's stuck for a
 while because of gedit-dev, but you can download it at
 <http://joule.via.ecp.fr/~lool/debian/gedit/2.8.3-1/> if you trust my
 signature.

 It might fix your problem.

 If it doesn't, please attach me your .recently-used.

   Thanks,

-- 
Loïc Minier <lool@dooz.org>
"Neutral President: I have no strong feelings one way or the other."