Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost 1.43 - Exception before main() is called
From: Emil Dotchevski (emil_at_[hidden])
Date: 2010-05-12 15:42:20


On Wed, May 12, 2010 at 7:13 AM, Rob Yull <ryull_at_[hidden]> wrote:
> The call stack (>>> is where the exception is caught).
>
> KernelBase.dll!_RaiseException_at_16()  + 0x58 bytes
>
> msvcr100d.dll!_CxxThrowException(void * pExceptionObject, const
> _s__ThrowInfo * pThrowInfo)  Line 157      C++
>
>>>>BoostTest.exe!boost::copy_exception<boost::exception_detail::bad_alloc_>(const
>>>> boost::exception_detail::bad_alloc_ & e)  Line 47             C++
>
> BoostTest.exe!boost::exception_detail::get_bad_alloc<42>()  Line 80 + 0x9f
> bytes          C++
>
> BoostTest.exe!`dynamic initializer for
> 'boost::exception_detail::exception_ptr_bad_alloc<42>::e''()  Line 94 + 0x28
> bytes                C++
>
> msvcr100d.dll!_initterm(void (void)* * pfbegin, void (void)* * pfend)  Line
> 873  C
>
> BoostTest.exe!__tmainCRTStartup()  Line 473 + 0xf bytes            C
>
> BoostTest.exe!mainCRTStartup()  Line 371           C
>
> kernel32.dll!@BaseThreadInitThunk_at_12()  + 0x12 bytes
>
> ntdll.dll!___RtlUserThreadStart_at_8()  + 0x27 bytes
>
> ntdll.dll!__RtlUserThreadStart_at_8()  + 0x1b bytes
>
>
>
> Did something change between 1.42 and 1.43 that would cause this?

May be related to changes I made in Boost Exception however I can't
reporduce the crash with the latest trunk revision an MSVC 9. Anything
more specific you can add?

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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