Hi Caluca, On 5 July 2012 08:54, Caluca <[email protected]> wrote:
> Well it seems I have a little bit of time. > > I still get the same error when removing the .pyc files beforehand. I > tried something new, but this still does not work however there is a slight > change in the error. Instead of starting a sage session and then executing > my code with: > > run flowSolver.py > > I ran my code directly from the terminal without starting a sage session > by: > > sage flowSolver.py > > In the first attempt I got: > > /usr/lib/sage/spkg/bin/sage: line 312: 4135 Segmentation fault (core > dumped) sage-ipython "$@" -i > > and in the second attempt I got > > /usr/lib/sage/spkg/bin/sage: line 468: 5244 Segmentation fault (core > dumped) python "$@" > > The errors are on different lines, respectively 312 and 468. I do not know > whether this is relevant, but it > doesn't hurt to share. > That may be the before and after the creation of the pyc files. I only get this on line 468 though. Could you adapt your program and shorten it to isolate the bug, so that we can run $ sage -gdb sage: run flowSolver.py and get no interactive questions, i.e. hardcode some parameters, and a low number of iterations so that it runs quickly, even 10 is enough. This will speed up testing a lot. Regards, Jan -- > 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-support > URL: http://www.sagemath.org > -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ -- 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-support URL: http://www.sagemath.org
