segmentation fault in t-toom53 test with MAC OS X Catalina (Clang 11.0)

Juergen Reuter juergen.reuter at desy.de
Tue Oct 8 21:49:50 UTC 2019


Hi all,
I get the following segmentation fault when running the test suite of 
gmplib 6.1.2,
configured just with prefix=/usr/local,
  /usr/bin/cc --version
Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

FAIL t-toom53 (exit status: 139)

This is the backtrace from running lldb on it:
sh-3.2# lldb .libs/t-toom53
(lldb) target create ".libs/t-toom53"
Current executable set to '.libs/t-toom53' (x86_64).
(lldb) run
Process 31069 launched: 
'/usr/local/packages/gmp-6.1.2/_build/tests/mpn/.libs/t-toom53' (x86_64)
Process 31069 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = 
EXC_BAD_ACCESS (code=1, address=0x7ffeefc00000)
     frame #0: 0x000000010013cdf5 libgmp.10.dylib`__gmpn_add_n + 245
libgmp.10.dylib`__gmpn_add_n:
->  0x10013cdf5 <+245>: movq   0x10(%rsi), %r10
     0x10013cdf9 <+249>: movq   0x18(%rsi), %r11
     0x10013cdfd <+253>: leaq   0x20(%rsi), %rsi
     0x10013ce01 <+257>: adcq   0x10(%rdx), %r10
Target 0: (t-toom53) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = 
EXC_BAD_ACCESS (code=1, address=0x7ffeefc00000)
   * frame #0: 0x000000010013cdf5 libgmp.10.dylib`__gmpn_add_n + 245
     frame #1: 0x0000000100163731 libgmp.10.dylib`__gmpn_toom_eval_pm1 + 321
     frame #2: 0x000000010015b7e5 libgmp.10.dylib`__gmpn_toom53_mul + 341

$ uname -a
Darwin Orome-2.local 19.0.0 Darwin Kernel Version 19.0.0: Wed Sep 25 
20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64 x86_64 i386 
MacBookAir5,1 Darwin

Please let me know any further information you need.
Cheers,
     JRR

-- 
--
---------------------------------
Juergen Reuter
DESY Theory Group, Bldg. 2a
Notkestr. 85
22607 Hamburg, GERMANY
Tel +49 (0)40 8998 3895
Fax +49 (0)40 8998 2777
skype: jr_reuter
---------------------------------



More information about the gmp-bugs mailing list