[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: |
Wed, 22 Dec 2004 20:50:12 -0500 (EST) |
Walter Landry <address@hidden> wrote:
> 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?
I managed to get more time on a Fink machine, and I got the same
error about removing non-empty directories. Specifically, that error
shows up if I get arx.2.1,145 and "merge --in-place".
So I tried the patch above. It completes the merge, but I now get an
error about bad checksums. I will have to look into this more. I am
wondering if this has anything to do with HFS being case-insensitive.
Walter
- Re: [Arx-users] Segfault accessing the publix ArX archive, (continued)
- 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, 2004/12/17
- Re: [Arx-users] Segfault accessing the publix ArX archive,
Walter Landry <=
- 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