Re: [Cppcms-users] Failing assertion in asynchronous application
Brought to you by:
artyom-beilis
|
From: Artyom <art...@ya...> - 2010-10-20 21:23:11
|
>
> today I discovered an assertion in booster::shared_ptr that fails under
> specific circumstances in asynchronous applications.
> If a client (browser) closes the current connection while its request is
> still served and release_context() is called after the connection had
> been closed already, the server exits with the following error message:
Can you give me the backtrace?
>
> iweb2.fcgi: booster/booster/shared_ptr.h:305: T*
> booster::shared_ptr<T>::operator->() const [with T =
> cppcms::impl::cgi::connection]: Assertion `px != 0' failed.
>
> Do I have to perform any check before I call release_context() or is
> this considered to be a bug?
It may be the bug that was fixed in trunk, however trunk not really stable
at this point, so backtrace will help me to understand if this is it.
Artyom
|