Boost Users :
Subject: Re: [Boost-users] [Asio] Crash on service delete
From: Indrek Sünter (indreksnt_at_[hidden])
Date: 2011-07-09 14:30:41
Seems to be fixed. It may have been the effect of multiple bugs.
Had some thread racings and passed a temporary variable as an argument to an
Thanks for all the help!
2011/7/1 Indrek Sünter <indreksnt_at_[hidden]>
> Strange, because I can run it on any other thread except for the one that
> the socket was constructed with.
> With the socket thread, it always crashes at the deletion of io_service.
> With any other thread, it works well.
> Also, this problem only seems to appear on Windows 7 (64bit, boost 1.46.1)
> and not on Ubuntu 11.04 (64bit, boost 1.42.0).
> Need to check it on some other versions and platforms. Might be that I'm
> doing something that's not portable.
> On Fri, Jul 1, 2011 at 6:54 PM, Igor R <boost.lists_at_[hidden]> wrote:
>> > It seems that async_connect should not be called from the same service
>> or thread that the socket is working on.
>> > I wonder if this is correct or I have made a mistake somewhere that
>> causes such behavior.
>> No, this's not correct.
>> Boost-users mailing list
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net