#9583: Unhandled SIGSEGV with 4.5.2.alpha0 on t2
-----------------------+----------------------------------------------------
Reporter: mpatel | Owner: drkirkby
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.5.2
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Comment(by jhpalmieri):
I modified the "load" method to add some print statements:
{{{
def load(self, value=None):
if value == None:
value = (None,0,0)
self.global_options[0] = int(value[0])
global Kstd1_deg
global Kstd1_mu
print value[0], value[1], value[2]
Kstd1_deg = value[1]
print "Kstd1_deg defined"
print Kstd1_deg
Kstd1_mu = value[2]
print "Kstd1_mu defined"
print Kstd1_mu
}}}
Then when I run "sage -br", I get this: it's not happy about setting
{{{Kstd1_mu}}}:
{{{
----------------------------------------------------------------------
| Sage Version 4.5.2.alpha0, Release Date: 2010-07-21 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
100663426 0 0
Kstd1_deg defined
0
------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred in Sage.
This probably occurred because a *compiled* component
of Sage has a bug in it (typically accessing invalid memory)
or 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 (sorry).
------------------------------------------------------------
}}}
I tried changing the assignment for Kstd1_mu to {{{Kstd1_mu = 0}}} but it
didn't help.
In the file {{{SAGE_ROOT/local/include/singular/kstd1.h}}}, the variables
{{{Kstd1_deg}}} and {{{Kstd1_mu}}} are defined differently; could that be
causing the problem?
{{{
extern int LazyPass,LazyDegree,mu,Kstd1_deg;
#define Kstd1_mu mu
}}}
As far as using t2, I think if you have an account on sage.math, you have
one on t2.math, same password, same home directory. Different /scratch
directory. My build is in /scratch/palmieri/sage..., and it should be
world-readable.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9583#comment:14>
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.