On my computer I get a segfault just doing :
----------------------------------------------------------------------
| Sage Version 4.7.rc1, Release Date: 2011-04-30 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: K = GF(1<<16,'a'); L = GF(1<<32,'b')
sage: K.Hom(L)[0]
Finite Field in a of size 2^16
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/libcsage.so(print_backtrace
+0x31)[0x7f86df446df2]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/libcsage.so(sigdie+0x14)
[0x7f86df446e24]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libcsage.so(sage_signal_handler+0x1d3)[0x7f86df446a39]
/lib/libpthread.so.0(+0xef60)[0x7f86e48b2f60]
/lib/libc.so.6(gsignal+0x35)[0x7f86e3eeb165]
/lib/libc.so.6(abort+0x180)[0x7f86e3eedf70]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/libcsage.so(init_csage+0x0)
[0x7f86df4478ac]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/libntl.so(_ZN3NTL5ErrorEPKc
+0x1f)[0x7f86dec3d35f]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libntl.so(_ZN3NTL5buildERNS_12GF2XArgumentERKNS_4GF2XERKNS_11GF2XModulusEl
+0xb4)[0x7f86deb66b74]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libntl.so(_ZN3NTL13ProjectPowersERNS_4GF2XERKS0_lS3_RKNS_11GF2XModulusE
+0xab)[0x7f86deb677ab]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libntl.so(_ZN3NTL12DoMinPolyModERNS_4GF2XERKS0_RKNS_11GF2XModulusElS3_
+0x37)[0x7f86deb68117]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libntl.so(_ZN3NTL12IrredPolyModERNS_4GF2XERKS0_RKNS_11GF2XModulusEl
+0x53)[0x7f86deb685f3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/python2.6/site-packages/
sage/rings/finite_rings/element_ntl_gf2e.so(+0xe7f3)[0x7f86ca3897f3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/python2.6/site-packages/
sage/rings/finite_rings/element_ntl_gf2e.so(+0xf706)[0x7f86ca38a706]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/python2.6/site-packages/
sage/rings/finite_rings/finite_field_base.so(+0xdbbd)[0x7f86cffc5bbd]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/python2.6/site-packages/
sage/rings/morphism.so(+0xf09f)[0x7f86d597609f]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(+0xa10b8)[0x7f86e4b610b8]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x3a79)[0x7f86e4ba16a9]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(+0x70c12)[0x7f86e4b30c12]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(+0x5794f)[0x7f86e4b1794f]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(+0xa54ec)[0x7f86e4b654ec]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_CallObjectWithKeywords+0x47)[0x7f86e4b9d637]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/python2.6/site-packages/
sage/structure/parent.so(+0x13e60)[0x7f86dbf36e60]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_CallObjectWithKeywords+0x47)[0x7f86e4b9d637]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(+0x6069a)[0x7f86e4b2069a]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/python2.6/site-packages/
sage/structure/parent_gens.so(+0x7753)[0x7f86d9273753]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x4ef5)[0x7f86e4ba2b25]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x5a8a)[0x7f86e4ba36ba]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(+0x70b26)[0x7f86e4b30b26]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(+0x5794f)[0x7f86e4b1794f]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyObject_Call+0x53)[0x7f86e4b0acf3]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(+0xa3e84)[0x7f86e4b63e84]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x1933)[0x7f86e4b9f563]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCode+0x32)[0x7f86e4ba4932]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x4ccb)[0x7f86e4ba28fb]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x5364)[0x7f86e4ba2f94]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x5364)[0x7f86e4ba2f94]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x5a8a)[0x7f86e4ba36ba]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x5364)[0x7f86e4ba2f94]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x5364)[0x7f86e4ba2f94]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalFrameEx+0x5364)[0x7f86e4ba2f94]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCodeEx+0x879)[0x7f86e4ba4839]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyEval_EvalCode+0x32)[0x7f86e4ba4932]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyRun_FileExFlags+0xb0)[0x7f86e4bc6d10]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/
libpython2.6.so.
1.0(PyRun_SimpleFileExFlags+0xdf)[0x7f86e4bc774f]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/libpython2.6.so.1.0(Py_Main
+0xb23)[0x7f86e4bd4a03]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f86e3ed7c4d]
python[0x4006a1]
------------------------------------------------------------------------
Unhandled SIGABRT: An abort() occurred in Sage.
This probably occurred because a *compiled* component of Sage has a
bug
in it and is not properly wrapped with sig_on(), sig_off(). You might
want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate.
This does not happen for values smaller than 16, but does also happen
for bigger values.
This happens when the morphisms get checked in sage.rings.morphism at
the line:
t = parent.domain()._is_valid_homomorphism_(parent.codomain(),
im_gens)
potentially deeper.
If I add something silly as print parent.codomain() just before that
line it does not segfault anymore...
I'm using sage 4.7.rc1 on debian amd64, gcc 4.6.
Can anybody reproduce that behavior, so we should open a trac ticket ?
I could not find anything similar here or on trac.
I'll continue investigating it anyway.