Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#3476 closed Bugs (duplicate)

[asio] attempt to copy-construct an iterator from a singular iterator

Reported by: Dmitry Goncharov <dgoncharov@…> Owned by: chris_kohlhoff
Milestone: Boost 1.41.0 Component: asio
Version: Boost Release Branch Severity: Problem
Keywords: asio Cc: chris@…, akim.demaille@…

Description

The following program triggers an assert in the debug mode of gnu stl.

dgoncharov@localhost ~/asiobug $ cat main.cpp

#include <unistd.h>

#include <boost/asio/io_service.hpp>

#include <boost/asio/posix/stream_descriptor.hpp>

int main()

{

boost::asio::io_service ios;

boost::asio::posix::stream_descriptor sd(ios);

}

See the attachment for details

Attachments (1)

report (6.8 KB ) - added by Dmitry Goncharov <dgoncharov@…> 13 years ago.

Download all attachments as: .zip

Change History (5)

by Dmitry Goncharov <dgoncharov@…>, 13 years ago

Attachment: report added

comment:1 by akim.demaille@…, 13 years ago

This following thread contains answers. I have the same problem with 1.40. It is a pity that the debug mode is not used during testing.

http://groups.google.com/group/boost-list/browse_thread/thread/5eecec53397d0c52/05b272fb9a9000c5

comment:2 by Akim Demaille <akim.demaille@…>, 13 years ago

Cc: akim.demaille@… added

comment:3 by chris_kohlhoff, 13 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #3098, which is fixed in 1.40.0. I have confirmed that the attached test case does fail with 1.39 but does not with 1.40.

If there is a failure with 1.40 then please raise a new ticket with a new test case.

If you care about the _GLIBCXX_DEBUG debug mode then feel free to run the automated boost regression tests in that configuration.

comment:4 by Alexandra Ramirez, 11 years ago

Version: Boost 1.39.0Boost Release Branch

Hah, Italy protesters rally against Berlusconi

Note: See TracTickets for help on using tickets.