#11575: Preparing for PolyBoRi's upcoming release 0.8
-------------------------------+--------------------------------------------
Reporter: AlexanderDreyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: packages | Keywords:
Work_issues: | Upstream: None of the above - read trac
for reasoning.
Reviewer: | Author:
Merged: | Dependencies:
-------------------------------+--------------------------------------------
Comment(by AlexanderDreyer):
I manager to install gentoo-prefix on an old ppc to debug things further.
The most current polybori builds nicely on that prefix, but I can now
reproduce issue mentioned here:
https://bitbucket.org/brickenstein/polybori/issue/1/non-aligned-pointer-
being-freed-on-os-x when using wither ipbori or invoking ipython with the
following manual commands:
Python 2.7.2 (default, Aug 22 2011, 13:36:51)
Type "copyright", "credits" or "license" for more information.
{{{
IPython 0.10.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import sys
In [2]: sys.path.insert(0,"pyroot")
In [3]: from polybori.frontend import *
[...]
python2.7(77363) malloc: *** error for object 0x1d315a8: Non-aligned
pointer being freed
*** set a breakpoint in malloc_error_break to debug
python2.7(77363) malloc: *** mmap(size=3221204992) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
[...]
*** set a breakpoint in malloc_error_break to debug
python2.7(77388) malloc: *** mmap(size=3221204992) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
In [4]: x(1)*x(1)
python2.7(77388) malloc: *** error for object 0x1d315a8: Non-aligned
pointer being freed
*** set a breakpoint in malloc_error_break to debug
Out[4]: x(
}}}
Invoking plain python doesn't cause any trouble:
{{{
Python 2.7.2 (default, Aug 22 2011, 13:36:51)
[GCC 4.2.1 (Gentoo 4.2.1_p5666, Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.insert(0,"pyroot")
>>> from polybori.frontend import *
>>> x(1)*x(1)
x(1)
}}}
So maybe an ipython issue?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11575#comment:63>
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.