Hi,

I have updated my deal.II checkout to -r17373 and run the test program given in 
the thread

  Re: [deal.ii] SolutionTransfer ./. BlockVector assignment operator=

In contrast to previous deal.II versions (-r17340), the test program
produces a segmentation fault (instead of a failed assert).

This is caused by dealii::LogStream:

  (gdb) run
  Starting program: /Users/ccorn/BUILD/c++test/dealii_BlockVector 
  Reading symbols for shared libraries .........+...+ done

  Program received signal EXC_BAD_ACCESS, Could not access memory.
  Reason: KERN_INVALID_ADDRESS at address: 0xfffffff4
  0x02066164 in LogStream (this=0x228105c) at source/log.cc:62
  62        std_out->setf(std::ios::showpoint | std::ios::left);

I then decided to add

  #include <base/logstream.h>

to the test program source. Thereafter, the program ran as expected:

  dealii_BlockVector.cc:37: failed assertion `c.n_blocks() == b.n_blocks()'

It seems that including <base/logstream.h> is now necessary for all deal.II 
applications, even small test cases, otherwise they cannot start up.

Could that new requirement be relaxed?

Regards,
-- 
Christian Cornelssen

Attachment: signature.asc
Description: PGP signature

_______________________________________________

Reply via email to