[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Arx-users] Segfault accessing the publix ArX archive
From: |
Walter Landry |
Subject: |
Re: [Arx-users] Segfault accessing the publix ArX archive |
Date: |
Sun, 05 Dec 2004 20:10:46 -0500 (EST) |
Marc Recht <address@hidden> wrote:
> > I got another report of gnome-vfs having problems in 2.8. My debian
> > testing machine was running 2.6 until today when it was upgraded to
> > 2.8. Now I get a segfault. So I guess the good news is that I can
> > debug this directly now ;)
>
> This are indeed good news. The gnome-vfs bug is IMHO the only thing
> preventing ArX running out of the box on NetBSD/OS X.
It turns out that the bug is quite simple. In 2.6, gnome-vfs2 breaks
if you don't url-encode any http urls you give it. In 2.8, it breaks
if you do. Bah.
I'm still not sure why the backtrace showed garbage. I got the same
thing. In think it was walking all over itself in memory.
In any case, the fix is really simple: comment out this section
if(location.substr(0,4)=="http")
{
/* Escape the string for http. We can't use it for
everything, because other servers don't do the
conversion. */
location=std::string(gnome_vfs_escape_host_and_path_string
(location.c_str()));
}
in src/arx/include/gvfs.hpp (about lines 86-93).
Let me know if that works for you.
Walter
- Re: [Arx-users] Segfault accessing the publix ArX archive, (continued)
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/03
- Re: [Arx-users] Segfault accessing the publix ArX archive, Kevin Smith, 2004/12/04
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/04
- Re: [Arx-users] Segfault accessing the publix ArX archive, Kevin Smith, 2004/12/04
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/04
- Re: [Arx-users] Segfault accessing the publix ArX archive, Kevin Smith, 2004/12/04
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/05
- Re: [Arx-users] Segfault accessing the publix ArX archive, Kevin Smith, 2004/12/05
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/05
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/05
- Re: [Arx-users] Segfault accessing the publix ArX archive,
Walter Landry <=
- Re: [Arx-users] Segfault accessing the publix ArX archive, Kevin Smith, 2004/12/05
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/06
- Re: [Arx-users] Segfault accessing the publix ArX archive, Kevin Smith, 2004/12/06
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/06
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/06
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/06
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/07
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/08
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/08
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/08