Opened 10 years ago

Closed 10 years ago

#579 closed bug (fixed)

changing minpoly triggers segfault

Reported by: kroeker@… Owned by: somebody
Priority: major Milestone: 4-1-0 and higher
Component: singular-kernel Version: 4-0-0
Keywords: changing minpoly segfault Cc:

Description

Here is the example:

ring rng = (0,a),x,dp;
minpoly = a^2-1;
minpoly = a^2-2;
minpoly = a^2-2;

//Singular : signal 11 (v: 4001):
//current line:>>minpoly = a^2-2;<<
//Segment fault/Bus error occurred at 8405db2 because of 8 (r:1393260548)

Proposal:

Either changing minpoly should not be allowed or it should not cause a segfault.

Change History (2)

comment:1 Changed 10 years ago by hannes

setting minpoly twice is a (C) bad idea. fixed with 8ecfcb9219329ec01c449344113f36d2396d6056

comment:2 Changed 10 years ago by hannes

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