#12157: Segfault in __Pyx_check_binary_version
------------------------------+---------------------------------------------
Reporter: vbraun | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone: sage-4.8
Component: linear algebra | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------------+---------------------------------------------
Sage 4.8.alpha4 doesn't start up on Ubuntu oneiric (11.10) but dies with
the segfault
{{{
#0 0x0000000000012336 in ?? ()
#1 0x00007fffdf226612 in __Pyx_check_binary_version () at
sage/matrix/matrix_modn_dense_float.cpp:17227
#2 initmatrix_modn_dense_float () at
sage/matrix/matrix_modn_dense_float.cpp:15808
#3 0x00007ffff7b1c625 in _PyImport_LoadDynamicModule (
name=0x7ffffffc81c0 "sage.matrix.matrix_modn_dense_float",
pathname=0x7ffffffc70f0
"/home/wstein/sage/sage-4.8.alpha5/local/lib/python2.6/site-
packages/sage/matrix/matrix_modn_dense_float.so",
fp=<optimized out>) at ./Python/importdl.c:53
#4 0x00007ffff7b1a6bc in import_submodule (mod=0x17df750,
subname=0x7ffffffc81cc "matrix_modn_dense_float",
fullname=0x7ffffffc81c0 "sage.matrix.matrix_modn_dense_float") at
Python/import.c:2589
#5 0x00007ffff7b1a93f in load_next (mod=0x17df750, altmod=0x17df750,
p_name=<optimized out>,
buf=0x7ffffffc81c0 "sage.matrix.matrix_modn_dense_float",
p_buflen=0x7ffffffc81b0)
at Python/import.c:2409
}}}
This problem has been identified on sage-on-gentoo
https://github.com/cschwan/sage-on-gentoo/issues/108 as an undefined
givaro symbol when dloading `sage.matrix.matrix_modn_dense_float`, and can
be fixed by specifying the library in `module_list.py`
Analysis:
1. This bug depends on architecture and the dload order of various
modules. This is why it has not been observed initially.
2. In case of a linking error, `Pyx_check_binary_version` should give a
useful error and not just segfault. I believe this is a bug in Sage's low-
level error handling.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12157>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.