Opened 10 years ago
Closed 10 years ago
#6933 closed Bugs (invalid)
Access-violations in C:boost\boost\boost\asio\basic_io_object.hpp
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Access-violation | Cc: | boost@… |
Description
Moin Moin.
If the basic_io_object constructor is being interrupted by an exception, it will be creating an access-violation within the destructor due to the fact, that te reference will not have been initialised. For my local installation, I added a bool variable, tracking the initialisation and throw an exception in the get* functions, and do nothing within the destructor .
Tschuess,
Michael.
Moin Moin. If the basic_io_object constructor is being interrupted by an exception,
Attachments (1)
Change History (2)
by , 10 years ago
Attachment: | basic_io_object.hpp added |
---|
comment:1 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sorry, I do not understand your bug report. If the constructor exits with an exception then the destructor should not run at all.
Please reopen this ticket if you can supply a complete compilable test case that shows the problem, thanks.