Hi Jean-Pierre, On 27 Mai, 14:31, Jean-Pierre Flori <jpfl...@gmail.com> wrote: > I'll take care of it with a fix hopefully.
It turns out that the error occurs in the list() method of a homset, which starts with sage: K = GF(1<<16,'a'); L = GF(1<<32,'b') sage: self = K.Hom(L) sage: D = self.domain() sage: C = self.codomain() sage: f = D.modulus() sage: g = C['x'](f) sage: r = g.roots() Now, the following works: sage: for a,_ in r: ....: print a ....: t = D.hom(a,C) ....: But this segfaults!! sage: for a,_ in r: ....: t = D.hom(a,C) ....: In other words, printing the elements `a` seems to initialise some data, and without printing them data are missing, resulting in a segfault. Or put differently, the initialisation of finite field elements is incomplete. By the way, the elements `a` have a custom __repr__ method - shouldn't it be _repr_ with a single underscore? Cheers, Simon -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org