[Bug 1835723] Re: std::bad_alloc during SVN update in CTest

Launchpad Bug Tracker 1835723 at bugs.launchpad.net
Wed Aug 7 12:11:07 UTC 2019


This bug was fixed in the package cmake - 3.10.2-1ubuntu2.18.04.1

---------------
cmake (3.10.2-1ubuntu2.18.04.1) bionic; urgency=medium

  * debian/patches/1893.patch:
    - cherry-pick upstream fix for ctest update bug
      LP: #1835723

 -- Gianfranco Costamagna <locutusofborg at debian.org>  Sat, 13 Jul 2019
09:20:52 +0200

** Changed in: cmake (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1835723

Title:
  std::bad_alloc during SVN update in CTest

Status in cmake package in Ubuntu:
  Fix Released
Status in cmake source package in Bionic:
  Fix Released

Bug description:
  [Impact] 
  * Users using ctest cmake feature

  [Test Case]
  * Compile in a row
  git clone https://github.com/gismo/gismo/
  cd gismo
  mkdir build
  cd build
  cmake .. -DGISMO_BUILD_UNITTESTS=ON
  make -j 8

  after some attempts it might fail


  [Regression Potential] 
  * Low, this is part of upstream codebase since years, and its a crash fix

  [Other Info]
  After I upgraded my testing server from 16.04 to Ubuntu 18.04.2 LTS the last week, I keep getting errors during SVN update while running CTest (version 3.10.2) which cause CTest to quit too early:

  terminate called after throwing an instance of 'std::bad_alloc'
    what():  std::bad_alloc
  Aborted (core dumped)

  This does not affect every run, yet it happens pretty often – I found
  this error in 6 out of 8 runs during the last night.

  CMake’s bug tracker claims this to have been fixed in CMake 3.11
  (https://gitlab.kitware.com/cmake/cmake/issues/17854) but Ubuntu 18.04
  is sticking with 3.10.

  Installing the most recent CMake 3.14.5 from
  https://cmake.org/download/ (as per
  https://askubuntu.com/a/952929/250300) fixed the issue for me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1835723/+subscriptions



More information about the foundations-bugs mailing list