Bug#294532: gedit: crash with libgnome-vfs
Botond Botyanszki
Botond Botyanszki <debian-bugs@siliconium.net>,
294532@bugs.debian.org
Wed, 16 Feb 2005 21:20:51 +0100
On Tue, 15 Feb 2005 11:31:02 +0100
Lo=EFc Minier <lool@dooz.org> wrote:
> Please try to get a "backtrace" of the problem, this can be done with
Sorry for the lack of info.=20
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 next
start, it dies.
I recompiled gedit without optimization and debug stripping,
so gdb gives:
(gdb) r
Starting program: /usr/bin/gedit
[New Thread 16384 (LWP 21082)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 21082)]
0x40af0c2f in strlen () from /lib/libc.so.6
(gdb) bt full
#0 0x40af0c2f in strlen () from /lib/libc.so.6
No symbol table info available.
#1 0xbffff068 in ?? ()
No symbol table info available.
#2 0x080a62e2 in make_valid_utf8 (name=3D0x0) at egg-recent-item.c:251
string =3D (GString *) 0x818cb08
remainder =3D 0x818cafc "______\030\b______\030\b"
invalid =3D 0x16 <Address 0x16 out of bounds>
remaining_bytes =3D 0
valid_bytes =3D 0
#3 0x08128c58 in ?? ()
No symbol table info available.
egg-recent-item.c is using gnome-vfs (judging from a quick glance at the
source).
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.
Found it in #294532.
I'm CC-ing.