On Thu, Apr 29, 2010 at 07:01:10PM +1000, Minh Nguyen wrote:
> Hi folks,
>
> Sage 4.4.1.alpha2 builds OK on sage.math. I wasn't able to run
> doctests on the Sage library. When trying to wrap up a binary for
> sage.math, the reason became apparent:
>
> [mvngu@sage sage-4.4.1.alpha2]$ ./sage -bdist
>
4.4.1.alpha2-sage.math.washington.edu
> Sage works!
> *** glibc detected *** python: corrupted double-linked list:
> 0x0000000002f6a640 ***
I've ran valgrind on the binary you built on sage.math and get the warnings
below, which seem to point at polybori.
To test further, I upgraded to the new polybori package from #8192 at home in a
sage 4.4 install, but that didn't cause any trouble. I'm building alpha2 at
home now to see if I get the errors on exit there at all. Maybe it would also
be worth checking if the errors on sage.math disappear when downgrading
polybori.
Unfortunately it only actually crashes on exit on sage.math about once in 10-15
times.
-Willem Jan
==29134== Invalid read of size 4
==29134== at 0x30A93070: __tcf_1 (sp_counted_base_gcc_x86.hpp:50)
==29134== by 0x570010F: exit (in /lib/
libc-2.7.so)
==29134== by 0x4BAAC2: handle_system_exit (pythonrun.c:1716)
==29134== by 0x4BACC9: PyErr_PrintEx (pythonrun.c:1126)
==29134== by 0x4BB925: PyRun_SimpleFileExFlags (pythonrun.c:1035)
==29134== by 0x4163B9: Py_Main (main.c:142)
==29134== by 0x56E91C3: (below main) (in /lib/
libc-2.7.so)
==29134== Address 0x3240f490 is not stack'd, malloc'd or (recently) free'd
==29134==
==29134== Invalid read of size 8
==29134== at 0x30A93087: __tcf_1 (CCuddCore.h:208)
==29134== by 0x570010F: exit (in /lib/
libc-2.7.so)
==29134== by 0x4BAAC2: handle_system_exit (pythonrun.c:1716)
==29134== by 0x4BACC9: PyErr_PrintEx (pythonrun.c:1126)
==29134== by 0x4BB925: PyRun_SimpleFileExFlags (pythonrun.c:1035)
==29134== by 0x4163B9: Py_Main (main.c:142)
==29134== by 0x56E91C3: (below main) (in /lib/
libc-2.7.so)
==29134== Address 0x3180e918 is 8 bytes inside a block of size 64 free'd
==29134== at 0x4C227BC: operator delete(void*) (vg_replace_malloc.c:342)
==29134== by 0x570010F: exit (in /lib/
libc-2.7.so)
==29134== by 0x4BAAC2: handle_system_exit (pythonrun.c:1716)
==29134== by 0x4BACC9: PyErr_PrintEx (pythonrun.c:1126)
==29134== by 0x4BB925: PyRun_SimpleFileExFlags (pythonrun.c:1035)
==29134== by 0x4163B9: Py_Main (main.c:142)
==29134== by 0x56E91C3: (below main) (in /lib/
libc-2.7.so)
==29134==
==29134== Invalid write of size 8
==29134== at 0x30A93092: __tcf_1 (CCuddCore.h:208)
==29134== by 0x570010F: exit (in /lib/
libc-2.7.so)
==29134== by 0x4BAAC2: handle_system_exit (pythonrun.c:1716)
==29134== by 0x4BACC9: PyErr_PrintEx (pythonrun.c:1126)
==29134== by 0x4BB925: PyRun_SimpleFileExFlags (pythonrun.c:1035)
==29134== by 0x4163B9: Py_Main (main.c:142)
==29134== by 0x56E91C3: (below main) (in /lib/
libc-2.7.so)
==29134== Address 0x3180e918 is 8 bytes inside a block of size 64 free'd
==29134== at 0x4C227BC: operator delete(void*) (vg_replace_malloc.c:342)
==29134== by 0x570010F: exit (in /lib/
libc-2.7.so)
==29134== by 0x4BAAC2: handle_system_exit (pythonrun.c:1716)
==29134== by 0x4BACC9: PyErr_PrintEx (pythonrun.c:1126)
==29134== by 0x4BB925: PyRun_SimpleFileExFlags (pythonrun.c:1035)
==29134== by 0x4163B9: Py_Main (main.c:142)
==29134== by 0x56E91C3: (below main) (in /lib/
libc-2.7.so)
--
To post to this group, send an email to
sage-...@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-devel
URL:
http://www.sagemath.org