Opened 21 months ago

Last modified 2 months ago

#30702 new defect

givaro + libsingular leads to segfault

Reported by: tmonteil Owned by:
Priority: major Milestone: sage-9.7
Component: finite rings Keywords:
Cc: cpernet, roed, slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by slelievre)

When a finite field uses givaro as a backend, it is possible to deal with polynomial rings in a single variable, but dealing with multivariate polynomial ring (libsingular) leads to segfaults.

Here is an example:

sage: F = GF(3, impl='givaro')
sage: F
Finite Field of size 3
sage: type(F)                                                                                                                                                                                                
<class 'sage.rings.finite_rings.finite_field_givaro.FiniteField_givaro_with_category'>


sage: R.<a0> = PolynomialRing(F)
sage: type(R)
<class 'sage.rings.polynomial.polynomial_ring.PolynomialRing_dense_finite_field_with_category'>                                                                                                                                                                           
sage: F(R(2))
2

sage: R.<a0,a1> = PolynomialRing(F)
sage: type(R)
<class 'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular'>
sage: F(R(2))
....
Segmentation fault

Not sure who to blame though.

From a report at Ask Sage question 53696: Crash with polynomial over Givaro finite field.

Change History (7)

comment:1 Changed 21 months ago by slelievre

  • Cc cpernet slelievre added

comment:2 Changed 21 months ago by mkoeppe

  • Milestone changed from sage-9.2 to sage-9.3

comment:3 Changed 16 months ago by slelievre

  • Cc roed added
  • Component changed from number theory to finite rings
  • Description modified (diff)

comment:4 Changed 14 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Moving to 9.4, as 9.3 has been released.

comment:5 Changed 11 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5

comment:6 Changed 7 months ago by mkoeppe

  • Milestone changed from sage-9.5 to sage-9.6

comment:7 Changed 2 months ago by mkoeppe

  • Milestone changed from sage-9.6 to sage-9.7
Note: See TracTickets for help on using tickets.