Opened 8 years ago

Closed 8 years ago

#714 closed bug (fixed)

example crashes by repeated call to primdecGTZ(). Memory management bug?

Reported by: kroeker@… Owned by: hannes
Priority: minor Milestone: 4-1-0 and higher
Component: dontKnow Version: 4-0-2
Keywords: Cc:


Repeated call to primdecGTZ() with the following example leads to a segfault. Memory management issue?


proc runExample()
  ring rng = (0),(x,y,z,w),(wp(3,1),wp(4,4),C);
  short = 0 ;
  option(redSB) ;
  ideal J =20/3*x^2*y*z+3*x^2*z^2*w+25*x*z^2*w^2,23/37*x^3-21/16*x*y*z*w^2+5/29;
  def L = primdecGTZ(J);

proc repeat(n)
  int i;

  for (i=1;i<n;i++)
     dbprint(1,"crashes at i= ",i);


Change History (2)

comment:1 Changed 8 years ago by Oleksandr

Owner: changed from somebody to hannes

Memory corruption?

comment:2 Changed 8 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.