#12055: Upgrade PALP
-----------------------------------+----------------------------------------
Reporter: vbraun | Owner: AlexGhitza
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.8
Component: algebraic geometry | Resolution:
Keywords: | Work_issues:
Upstream: N/A | Reviewer: Andrey Novoseltsev, Jeroen
Demeyer
Author: Volker Braun | Merged:
Dependencies: |
-----------------------------------+----------------------------------------
Comment(by vbraun):
Jeroen, are you using a different compiler than /usr/bin/gcc? Or perhaps
some funky CFLAGS? Our binaries are not the same on sage.math, so
something is fishy here:
{{{
vbraun@sage:~/Sage$ ll /mnt/usb1/scratch/jdemeyer/sage*/local/bin/nef-6d.x
-rwxr-xr-x 1 jdemeyer jdemeyer 1112924 2011-11-29 10:23
/mnt/usb1/scratch/jdemeyer/sage-4.8.alpha3_PALP_failure/local/bin/nef-6d.x
vbraun@sage:~/Sage$ ll /home/vbraun/Sage/sage-4.8.alpha2/local/bin/nef-
6d.x
-rwxr-xr-x 1 vbraun vbraun 1016813 2011-11-29 11:22
/home/vbraun/Sage/sage-4.8.alpha2/local/bin/nef-6d.x
}}}
When I run my version in valgrind I get no errors, but when I run your
version in valgrind I get lots of uninitialized variable errors:
{{{
vbraun@sage:~/Sage$ ~/Sage/valgrind/valgrind-3.7.0/vg-in-place
/mnt/usb1/scratch/jdemeyer/sage-4.8.alpha3_PALP_failure/local/bin/nef-6d.x
-N -f -p < /tmp/palp_in
==9884== Memcheck, a memory error detector
==9884== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==9884== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==9884== Command:
/mnt/usb1/scratch/jdemeyer/sage-4.8.alpha3_PALP_failure/local/bin/nef-6d.x
-N -f -p
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x43A0A6: part_nef (Nefpart.c:569)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x40EE3A: GLZ_Make_Trian_NF (Polynf.c:142)
==9884== by 0x439CF1: part_nef (Nefpart.c:818)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x40EE87: GLZ_Make_Trian_NF (Polynf.c:145)
==9884== by 0x439CF1: part_nef (Nefpart.c:818)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x40F0A7: GLZ_Make_Trian_NF (Polynf.c:159)
==9884== by 0x439CF1: part_nef (Nefpart.c:818)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x40F300: GLZ_Make_Trian_NF (Polynf.c:166)
==9884== by 0x439CF1: part_nef (Nefpart.c:818)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x4389A1: Initial_Conditions (Nefpart.c:551)
==9884== by 0x439D88: part_nef (Nefpart.c:820)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x4389FC: Initial_Conditions (Nefpart.c:551)
==9884== by 0x439D88: part_nef (Nefpart.c:820)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x439143: Select_Sv (Nefpart.c:733)
==9884== by 0x439DD9: part_nef (Nefpart.c:821)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
==9884== Conditional jump or move depends on uninitialised value(s)
==9884== at 0x4391C9: Select_Sv (Nefpart.c:469)
==9884== by 0x439DD9: part_nef (Nefpart.c:821)
==9884== by 0x43557A: Make_E_Poly (E_Poly.c:1266)
==9884== by 0x402AEF: main (nef.c:294)
==9884==
M:27 8 N:7 6 codim=2 #part=0
np=0 d:0 p:0 0sec 0cpu
==9884==
==9884== HEAP SUMMARY:
==9884== in use at exit: 0 bytes in 0 blocks
==9884== total heap usage: 42 allocs, 42 frees, 543,330,152 bytes
allocated
==9884==
==9884== All heap blocks were freed -- no leaks are possible
==9884==
==9884== For counts of detected and suppressed errors, rerun with: -v
==9884== Use --track-origins=yes to see where uninitialised values come
from
==9884== ERROR SUMMARY: 1367 errors from 9 contexts (suppressed: 2 from 2)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12055#comment:19>
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.