[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: |
Fri, 17 Dec 2004 20:45:13 -0500 (EST) |
Walter Landry <address@hidden> wrote:
> Marc Recht <address@hidden> wrote:
> > > It looks like it is having problems deleting the ,,merge_branches temp
> > > directory. Specifically, it is not deleting all of the contents of a
> > > directory before deleting the directory. What happens if you comment
> > > out the destructor in src/arx/include/Temp_Directory.hpp (lines 45-48)
> > >
> >
> > It leaves 62 ,,* (non-empty) directories, but seems to complete.
>
> Great. At least we now know where the problem is. The only thing
> that I can think of is that readdir is not reentrant, so it finished
> the listing of the subdirectory before it is empty. Someone just
> posted a patch to the Boost web site adding that functionality in. I
> will update you when I have a patch.
I have a better idea. How about you change the destructor in
src/arx/include/Temp_Directory.hpp to read
~Temp_Directory()
{
gvfs::remove_all(path.native_file_string());
}
and add in
#include "gvfs.hpp"
near the top. Does that solve the problem?
Walter
- Re: [Arx-users] Segfault accessing the publix ArX archive, (continued)
- 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
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/11
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/11
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/12
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/12
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/14
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/14
- Re: [Arx-users] Segfault accessing the publix ArX archive,
Walter Landry <=
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/22
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/23
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/23
- Re: [Arx-users] Segfault accessing the publix ArX archive, Marc Recht, 2004/12/24
- Re: [Arx-users] Segfault accessing the publix ArX archive, Walter Landry, 2004/12/07