Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-24 Thread Jeroen Demeyer
On 2010-10-24 16:07, Jan Groenewald wrote: > Does SAGE_DEBUG=yes lower -O3 to -O2? Actually, -O0 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at h

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-24 Thread Jan Groenewald
Hi On Fri, Oct 22, 2010 at 05:30:35PM -0500, Mitesh Patel wrote: > Would it help to try again with a PARI compiled with less aggressive > optimizations than our default -O3? For example, > > env SAGE_DEBUG=yes ./sage -f pari-2.3.5.p4.spkg > dmesg | grep segfault | wc -l > ./sage -t devel/sage/sa

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-23 Thread Jan Groenewald
Hi On Sat, Oct 23, 2010 at 10:26:45AM -0700, leif wrote: > >  * Ubuntu 9.04 x86 (32-bit Pentium 4 Prescott, gcc 4.3.3) > >  * Ubuntu 9.04 x86_64 (Core2, gcc 4.3.3) > >  * Ubuntu 10.04 x86_64 (Core2, gcc 4.4.3) > > P.S.: For Sage *4.5.3* (all built from scratch), I also get the > segfault when tes

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-22 Thread Mitesh Patel
On Sun, Oct 17, 2010 at 07:16:58PM +0200, Jeroen Demeyer wrote: > r...@capepoint:/usr/local/src/sage-4.5.3/spkg/standard#env SAGE_CHECK=yes > sage -f pari-2.3.5.p4.spkg > Force installing pari-2.3.5.p4.spkg > ... > Finished installing pari-2.3.5.p4.spkg > r...@capepoint:/usr/local/src/sage-4.5.3/

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-19 Thread John Cremona
Setting SAGE_CHECK=yes just means that after building the pari library, the self-test routines are also run. It does not affect Sage after the new spkg is installed. John On Tue, Oct 19, 2010 at 1:32 PM, Jan Groenewald wrote: > Hi > > On Sun, Oct 17, 2010 at 07:16:58PM +0200, Jeroen Demeyer wro

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-19 Thread Jan Groenewald
Hi On Sun, Oct 17, 2010 at 07:16:58PM +0200, Jeroen Demeyer wrote: > env SAGE_CHECK=yes ./sage -f > http://sage.math.washington.edu/home/release/sage-4.6.alpha3/sage-4.6.alpha3/spkg/standard/pari-2.4.3.svn-12577.p7.spkg This still caused a segfault for me in dmesg while doctests pass. Is SAGE_CHE

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jan Groenewald
Hi On Mon, Oct 18, 2010 at 07:28:23AM -0500, Jason Grout wrote: > As an offhand idea, with the disclaimer that I haven't read this > entire thread, but an idea that has caused such problems before. > Did you move the Sage directory? There are still lots of loose ends > that are left dangling when

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jan Groenewald
Hi On Mon, Oct 18, 2010 at 01:46:48PM +0200, Jeroen Demeyer wrote: > On 2010-10-18 13:43, Jan Groenewald wrote: > > Also, why does this depend on the system libgmp and not the sage libgmp? > > This depends on the setting of LD_LIBRARY_FLAG. If you do the same > within "sage -sh" you should get t

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread François Bissey
> Hi > > On Sun, Oct 17, 2010 at 09:37:55AM +0200, Jan Groenewald wrote: > > Looking for libpari-gmp.so, I found these: > > r...@capepoint:/usr/local/src/sage-4.5.3/local/lib#ls -l libpari* > > -rwxr-xr-x 1 root root 3160120 Oct 11 17:06 libpari-gmp.so.2 > > -rwxr-xr-x 1 root root 3160120 Oct 11 1

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jeroen Demeyer
On 2010-10-18 13:43, Jan Groenewald wrote: > Also, why does this depend on the system libgmp and not the sage libgmp? This depends on the setting of LD_LIBRARY_FLAG. If you do the same within "sage -sh" you should get the correct library. -- To post to this group, send an email to sage-devel@go

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jan Groenewald
Hi On Sun, Oct 17, 2010 at 09:37:55AM +0200, Jan Groenewald wrote: > Looking for libpari-gmp.so, I found these: > r...@capepoint:/usr/local/src/sage-4.5.3/local/lib#ls -l libpari* > -rwxr-xr-x 1 root root 3160120 Oct 11 17:06 libpari-gmp.so.2 > -rwxr-xr-x 1 root root 3160120 Oct 11 17:06 libpari-g

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-17 Thread Jan Groenewald
Hi On Sun, Oct 17, 2010 at 08:26:08PM +0200, Jeroen Demeyer wrote: > On 2010-10-17 20:09, John Cremona wrote: > > After doing that the doctest still passes, and I still get > > > > j...@selmer%dmesg|grep pari > > [8562085.592129] gp[1128] trap invalid opcode ip:7f7f003b5be7 > > sp:7fff08dcd840 er

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-17 Thread Jeroen Demeyer
On 2010-10-17 20:09, John Cremona wrote: > After doing that the doctest still passes, and I still get > > j...@selmer%dmesg|grep pari > [8562085.592129] gp[1128] trap invalid opcode ip:7f7f003b5be7 > sp:7fff08dcd840 error:0 in libpari-gmp-2.4.so.3[7f7f000d3000+421000] > [8562093.886034] gp[26164]

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-17 Thread John Cremona
After doing that the doctest still passes, and I still get j...@selmer%dmesg|grep pari [8562085.592129] gp[1128] trap invalid opcode ip:7f7f003b5be7 sp:7fff08dcd840 error:0 in libpari-gmp-2.4.so.3[7f7f000d3000+421000] [8562093.886034] gp[26164] trap invalid opcode ip:7fafab0bdbe7 sp:7fffb3ad7540 e

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-17 Thread Jeroen Demeyer
Very strange that these errors do not result in a failing doctest... John, Jan: On the failing machines, could you install the PARI spkg with checking enabled? i.e. please do env SAGE_CHECK=yes ./sage -f http://sage.math.washington.edu/home/release/sage-4.6.alpha3/sage-4.6.alpha3/spkg/standard

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-17 Thread John Cremona
On two different 64-bit ubuntu machines: 1 works fine: j...@fermat%uname -a Linux fermat 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux j...@fermat% sage -v | Sage Version 4.6.alpha3, Release Date: 2010-10-08 | * Warning: this is a prerelease versi

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-17 Thread Jan Groenewald
Hi As I've had one external confirmation, more than one sage version, and several laptops here, I'll continue to think about this. Looking for libpari-gmp.so, I found these: r...@capepoint:/usr/local/src/sage-4.5.3/local/lib#ls -l libpari* -rwxr-xr-x 1 root root 3160120 Oct 11 17:06 libpari-gmp

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-15 Thread Jeroen Demeyer
Also, I can NOT reproduce the segfault on the following system with sage-4.6.alpha3: $ Linux arcanis 2.6.32-gentoo-r7 #5 SMP Thu Jun 10 23:07:26 CEST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz GenuineIntel GNU/Linux $ gcc --version gcc-4.4.3 (Gentoo 4.4.3-r2 p1.2) 4.4.3 Copyright (C) 2

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-15 Thread Jan Groenewald
Hi > On Fri, Oct 15, 2010 at 03:02:07AM -0500, Jason Grout wrote: > > Hope that helps. > > So it is NOT 64bit specific. Perhaps it is Ubuntu specific. Uhm no, Jason had ubuntu there. Jan -- .~. /V\ Jan Groenewald /( )\www.aims.ac.za ^^-^^ -- To post to this group, send an

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-15 Thread Jan Groenewald
Hi On Fri, Oct 15, 2010 at 03:02:07AM -0500, Jason Grout wrote: > Hope that helps. So it is NOT 64bit specific. Perhaps it is Ubuntu specific. Jan -- .~. /V\ Jan Groenewald /( )\www.aims.ac.za ^^-^^ -- To post to this group, send an email to sage-devel@googlegroups.com To

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-15 Thread Jan Groenewald
Hi Summary: On a mixture of sage 4.5.2, 4.5.3, and 4.6alpha3 Linux: i7 64bit: sefgault E8400 64bit: segfault T4300 64bit: segfault T3200 64bit: segfault T2300 32bit: no segfault OS X 10.6 (Marshall: 32 or 64 bit?): no segfault Conjecture: It is a Linux specific 64bit problem. Can some people o