Boost logo

Boost :

Subject: Re: [boost] [test] crash with the following test
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2010-09-28 14:00:15


On Tue, Sep 28, 2010 at 6:06 AM, Jürgen Hunold <juergen.hunold_at_[hidden]> wrote:
> Hi Felipe,
>
> On Monday, 27. September 2010 16:44:31 Felipe Magno de Almeida wrote:
>> On Fri, Sep 24, 2010 at 8:38 AM, Felipe Magno de Almeida
>> ping?

Hi Jurgen,

> I think I know why you don´t get an answer...

Thanks, Here it is:
A stacktrace:

> test1.exe!boost::unit_test::framework::get(unsigned long id=1, boost::unit_test::test_unit_type t=tut_suite) Line 388 + 0x8 bytes C++
         test1.exe!boost::unit_test::framework::get<boost::unit_test::test_suite>(unsigned
long id=1) Line 73 + 0xb bytes C++
         test1.exe!boost::unit_test::traverse_test_tree(unsigned long id=1,
boost::unit_test::test_tree_visitor & V={...}) Line 234 + 0xd
bytes C++
         test1.exe!boost::unit_test::framework::run(unsigned long id=1, bool
continue_test=true) Line 403 + 0xd bytes C++
         test1.exe!boost::unit_test::unit_test_main(bool (void)*
init_func=0x004103c0, int argc=1, char * * argv=0x00354358) Line 185
+ 0x9 bytes C++
         test1.exe!main(int argc=1, char * * argv=0x00354358) Line 63 + 0x12 bytes C++
         test1.exe!__tmainCRTStartup() Line 582 + 0x19 bytes C
         test1.exe!mainCRTStartup() Line 399 C
         kernel32.dll!_BaseProcessStart_at_4() + 0x23 bytes

> Please provide more information. A backtrace is better, a compileable test
> best. Some archive I can unpack and run "bjam" on, the very best ;-))

Attached a Jamroot and test.cpp that shows the problem.
I'm using Windows XP Pro SP3 and msvc-9.0. But it is reproduceable
with msvc-10.0express and msvc-8.0.

Thanks in advance,

-- 
Felipe Magno de Almeida



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk