Opened 17 years ago

Closed 17 years ago

#517 closed Bugs (Rejected)

is_empty sets my paths' _M_p to 0xffffffff

Reported by: nobody Owned by: beman_dawes
Milestone: Component: filesystem
Version: None Severity:
Keywords: Cc:

Description

Env:
  FreeBSD 5.4
  gcc 3.4.2
  boost: 1.33.0

Before calling is_empty on a valid dir, I have a path
with _M_p set to a valid address. After calling
is_empty _M_p points to 0xffffffff

In libs/filesystem/src/operations_posix_windows.cpp we
have the dir_itr_init function at line 273. At linie
302 it calls:
m_imp->entry_path.m_path_append( "dummy", no_check );

When returning from this function _M_p is no longer
valid (points to 0xffffffff).

I'm guessing more info is needed, so you are welcome to
write me and I will help in any way I can.

Best regards
db

Change History (3)

comment:1 by nobody, 17 years ago

Logged In: NO 

Forgot to write my email: db@trunet.dk

comment:2 by beman_dawes, 17 years ago

Logged In: YES 
user_id=51042

More information needed. Submitter queried by private email.

comment:3 by beman_dawes, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=51042

The best guess on this is that it was an error outside of
the Filesystem library.

--Beman
Note: See TracTickets for help on using tickets.