On 1 April 2011 12:54, Burcin Erocal <bur...@erocal.org> wrote:
> On Fri, 01 Apr 2011 00:37:46 +0100
> "Dr. David Kirkby" <david.kir...@onetel.net> wrote:
>
>> I've built Sage 64-bit on OpenSolaris but it crashes at startup. I've
>> run gdb and find the bit of code that's causing the crash is this.
>>
>> ./devel/sage-main/sage/symbolic/function.cpp
>>
>>
>>   /* "sage/symbolic/function.pyx":109
>>   *                 raise ValueError,  real_fname + " parameter must
>> be callable" *
>>   *         if not self._is_registered():             # <<<<<<<<<<<<<<
>>   *             self._register_function()
>>   *
>>   */
> <snip>
>> allows Sage to run. It's not 100% stable, but much better than before.
>>
> <snip>
>> Can anyone see if there might be something wrong with this code,
>> which is causing Sage to segfault?
>
> It might be due to the linker initializing the library in a different
> order. Can you post a backtrace so we can see which function it is
> trying to construct?
>
> Moving the lines
>
> # This must come before Calculus -- it initializes the Pynac library.
> import sage.symbolic.pynac
>
> in sage/all.py higher in the file might work around this problem. The
> correct solution would be to import the offending function lazily or
> locally.
>
>
> Cheers,
> Burcin

I just started to download 4.7.alpha3. Once I have that downloaded and
built it, I'll post a backtrace. If it helps, I'm willing to give you
an account on the machine "hawk" which is used by the buildbot. Unlike
t2.math, it is pretty quick (quad core 3.33 GHz Xeon).

Dave

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to