Jeroen Demeyer on Mon, 07 Jan 2013 08:59:50 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
OS X 10.6: PARI-2.5.3 gp-dyn GCC-4.6.3 -O0 SIGSEGV |
I get a segmentation fault on Mac OS X 10.6 running gp-dyn from PARI-2.5.3 compiled using GCC-4.6.3 with the -O0 option executing factor(10356613*10694706299664611221) This is probably not PARI's fault, but I thought I should report it anyway. Is this a known problem? Interestingly, the problem seems to be related to dynamic linking, it does not occur with gp-sta. PARI/GP was configured with: $ export CFLAGS="-O0" $ ./Configure --without-gmp --without-readline gdb backtrace: (gdb) run Starting program: /Users/jdemeyer/pari-2.5.3/gp Reading symbols for shared libraries .++++.. done GP/PARI CALCULATOR Version 2.5.3 (released) i386 running darwin (x86-64 kernel) 64-bit version compiled: Jan 6 2013, gcc-4.6.3 (GCC) (readline not compiled in, extended help enabled) Copyright (C) 2000-2011 The PARI Group PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER. Type ? for help, \q to quit. Type ?12 for how to get moral (and possibly technical) support. parisize = 8000000, primelimit = 500509 ? factor(10356613*10694706299664611221) Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 0x00007fff8a66cfc1 in dyld_stub_binder () (gdb) bt #0 0x00007fff8a66cfc1 in dyld_stub_binder () #1 0x0000000100413398 in stub helpers () make bench reports more trouble: * Testing objets for gp-sta..TIME=2 for gp-dyn..BUG [2] * Testing analyz for gp-sta..TIME=34 for gp-dyn..BUG [16] * Testing number for gp-sta..TIME=49 for gp-dyn..BUG [34] * Testing polyser for gp-sta..TIME=10 for gp-dyn..BUG [9] * Testing linear for gp-sta..TIME=12 for gp-dyn..BUG [8] * Testing elliptic for gp-sta..TIME=22 for gp-dyn..BUG [6] * Testing sumiter for gp-sta..TIME=48 for gp-dyn..BUG [47] * Testing graph for gp-sta..TIME=11 for gp-dyn..BUG [11] * Testing program for gp-sta..TIME=21 for gp-dyn..BUG [1] * Testing trans for gp-sta..TIME=56 for gp-dyn..BUG [43] * Testing nfields for gp-sta..TIME=174 for gp-dyn..BUG [39]