Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] crash with the following test
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2010-09-22 17:52:25


On Wed, Sep 22, 2010 at 6:07 PM, Richard
<legalize+jeeves_at_[hidden]> wrote:
> [Please do not mail me a copy of your followup]
>
> boost-users_at_[hidden] spake the secret code
> <AANLkTimseEh-6JKGq=0usPsBg7gPtpruoPa+P67V2W-C_at_[hidden]> thusly:
>
>>With boost 1.44.0 (the same happens with 1.43) the following test
>>causes a crash in framework.ipp:388 with a dereference of a NULL
>>pointer. [...]
>>
>>-- test.cpp --
>>#define BOOST_TEST_MODULE parse_empty_import_documents
>>#include <boost/test/included/unit_test.hpp>
>>
>>BOOST_AUTO_TEST_CASE (parse_empty_import_documents)
>>{
>>}
>>-- test.cpp --
>
> Does the crash disappear if you give your auto test case and your test
> module different names?

No, the crash happens exactly the same if I change the module test
name to parse_empty_import_documents_module.

> --
> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download

Regards,

-- 
Felipe Magno de Almeida

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