Project

General

Profile

Bug #1322

SEGV when debugging is active

Added by John Abbott over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
bug
Target version:
Start date:
27 Sep 2019
Due date:
% Done:

100%

Estimated time:
1.11 h
Spent time:

Description

Seems to work fine if compiled without --debug, but several tests fail (SEGV) when --debug is active:

**********************
*****  Bad news  *****
**********************
*****  The following CoCoA-5 tests failed, please tell us about it.
*****    lecture-HF2  test-HomomorphismOps  SourceAnna  radical

History

#1 Updated by John Abbott over 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10
I := ideal(zero(R));
ReducedGBasis(I); --> SEGV

#2 Updated by Anna Maria Bigatti over 4 years ago

  • Status changed from In Progress to Closed
  • Assignee set to John Abbott
  • % Done changed from 10 to 100

Silly problem, when you know it...
There was a debugging call CoCoA_ASSERT(myMinGens().empty()) (causing an infinite recursive call!!)
and the correct call is CoCoA_ASSERT(myMinGensValue.empty());.

#3 Updated by John Abbott over 4 years ago

Added a CoCoALib test

#4 Updated by John Abbott over 4 years ago

  • Estimated time set to 1.11 h

Also available in: Atom PDF