I can confirm this - at least with sage-4.6.alpha1
drkirkby@hawk:~/sage-4.6.alpha1$ ./sage
----------------------------------------------------------------------
| Sage Version 4.6.alpha1, Release Date: 2010-09-18 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: copy(x)
------------------------------------------------------------
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).
------------------------------------------------------------
Dave
I can confirm this for Sage 4.5 on OS X, although there I get:
------------------------------------------------------------
Unhandled SIGBUS: A bus error 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).
------------------------------------------------------------
Dan
--
--- Dan Drake
----- http://mathsci.kaist.ac.kr/~drake
-------
Just FYI, the version distributed with Ubuntu is *ages* old (in
Sage-time), and is not recommended to run.
Whoever makes a PPA for the current Sage release for Ubuntu would be
heralded a hero, I'm sure.
Jason
> Sage segfaults when printing a copy of something symbolics :
>
> sage: copy(x)
I can confirm this for 4.6.a2 (Mac OS X, 10.6.4).
Justin
--
Justin C. Walker
Curmudgeon-at-large
Director
Institute for the Absorption of Federal Funds
----
186,000 Miles per Second
Not just a good idea:
it's the law!
----
As I noted earlier, I see this on my machine (Sun Ultra 27 running OpenSolaris).
However, it must be relatively new, as I do *NOT* see the segfault at
http://t2nb.math.washington.edu:8000
which is running Sage 4.5.1. That said, that's a big-endian machine, which could
just be relevant.
Dave
Worth noting is the PPC and SPARC are both big endian, so the fact it is ok on
t2 does not mean it's only a problem on little endian machines.
When Sage builds, there are around 3000 warnings messages from the compilers. I
can't help feeling we should be spending a bit more time looking over those, and
a bit less time adding new features.
Dave
It is crashing while executing code which is part of of the pynac package, more
precisely this file:
./sage-4.6.alpha2/pynac-0.2.0.p5/src/ginac/ex.cpp
It is now
http://trac.sagemath.org/sage_trac/ticket/10099
Dave
def __copy__(self):
return new_Expression_from_GEx(self._parent, self._gobj)
--Mike
I've already posted a patch.
--Mike
It works for me, as I remarked at
http://trac.sagemath.org/sage_trac/ticket/10099
However, I don't feel able to review completely myself, as I don't understand
this. But I can report it works on my OpenSolaris machine.
dave