boost::exception crash when throw from library

Hi all. My little test project (minimal testcase attached to this mail) crashed on ms windows7 when compiled by ms visual studio 2008 express edition. May be, my c++ code is wrong - any help appropriated. -- With best regards, Alexey Badyaev Russian Federation, Kemerovo

Alexey Badyaev wrote:
Hi all. My little test project (minimal testcase attached to this mail) crashed on ms windows7 when compiled by ms visual studio 2008 express edition. May be, my c++ code is wrong - any help appropriated.
Hi All again. Because no answers on my post, I solve my problem very simple - delete boost_exception library from my projects, and all crashes disappear! Keep nice job on other libraries! -- With best regards, Alexey Badyaev Russian Federation, Kemerovo

No need to be accusatory -- we're all volunteers here. :)
I was looking into it. FYI, if you want to disable the library, you
can #define BOOST_EXCEPTION_DISABLE.
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode
2011/10/6 Alexey Badyaev
Alexey Badyaev wrote:
Hi all. My little test project (minimal testcase attached to this mail) crashed on ms windows7 when compiled by ms visual studio 2008 express edition. May be, my c++ code is wrong - any help appropriated.
Hi All again. Because no answers on my post, I solve my problem very simple - delete boost_exception library from my projects, and all crashes disappear! Keep nice job on other libraries! -- With best regards, Alexey Badyaev Russian Federation, Kemerovo

Emil Dotchevski пишет:
No need to be accusatory -- we're all volunteers here. :) O, I'm sorry - my English very bad, my born language is Russian. Of cource, I'm not _accusatory_ :-) Thanks for you good answer below in thread - crash also disappear. -- With best regards, Alexey Badyaev Russian Federation, Kemerovo

2011/10/4 Alexey Badyaev
Hi all. My little test project (minimal testcase attached to this mail) crashed on ms windows7 when compiled by ms visual studio 2008 express edition. May be, my c++ code is wrong - any help appropriated.
You can not call diagnostic_information() from an implementation of what(). Diagnostic information from what() is supported by a different function, see http://www.boost.org/doc/libs/release/libs/exception/doc/diagnostic_informat.... Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode

Emil Dotchevski пишет:
You can not call diagnostic_information() from an implementation of what().
Diagnostic information from what() is supported by a different function, see http://www.boost.org/doc/libs/release/libs/exception/doc/diagnostic_informat....
Dear Emil! I change my test-case (attached to this email) by your hint. But test-case crash with message below: Assertion failed: ::boost::exception_detail::type_info_(typeid(*p)).type_==ti.type_, file c:\devtools\libs\boost_1_47_0\boost/exception/info.hpp, line 100 EXIT STATUS: 3 -- With best regards, Alexey Badyaev Russian Federation, Kemerovo

2011/10/7 Alexey Badyaev
I change my test-case (attached to this email) by your hint. But test-case crash with message below:
Assertion failed: ::boost::exception_detail::type_info_(typeid(*p)).type_==ti.type_, file c:\devtools\libs\boost_1_47_0\boost/exception/info.hpp, line 100
This bug was fixed a few weeks ago. Please try with the trunk revision. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
participants (2)
-
Alexey Badyaev
-
Emil Dotchevski