Macaulay2 / M2

The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
https://macaulay2.com
347 stars 231 forks source link

check(4, "LLLBases") segfaults on i386 #1564

Closed d-torrance closed 3 years ago

d-torrance commented 4 years ago

Another test failure from a draft of the Debian package on an i386 chroot:

i1 : check(4, "LLLBases")
-- running test 4 of package LLLBases on line 1418 in file M2/Macaulay2/packages/LLLBases.m2
--    rerun with: check_4 "LLLBases"
--making test results
 ulimit -c unlimited; ulimit -t 700; ulimit -m 850000; ulimit -s 8192; ulimit -n 512;  cd /tmp/M2-1171257-0/1-rundir/; GC_MAXIMUM_HEAP_SIZE=400M "/build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary" --int --no-randomize --no-readline --silent --stop --print-width 129 -e 'needsPackage("LLLBases", Reload => true, FileName => "/build/macaulay2-1.16+git55.94c4b7d+ds/M2/Macaulay2/packages/LLLBases.m2")' <"/tmp/M2-1171257-0/0.m2" >>"/tmp/M2-1171257-0/0.tmp" 2>&1
/tmp/M2-1171257-0/0.tmp:0:1: (output file) error: Macaulay2 exited with status code 1
/tmp/M2-1171257-0/0.m2:0:1: (input file)
M2: *** Error 1
stdio:1:1:(3): error: test #4 of package LLLBases failed

i2 : get "/tmp/M2-1171257-0/0.tmp"

o2 = -- -*- M2-comint -*- hash: 696724523

     i1 : --/build/macaulay2-1.16+git55.94c4b7d+ds/M2/Macaulay2/packages/LLLBases.m2:1418: location of test code

              setRandomSeed 0

     o1 = 0

     i2 :     m0 = random(ZZ^20, ZZ^30, Height=>100000)

     o2 = | 98411 5026  1031  8886  10567 12107 88764 61423 64339 34423 49836 67743 5321  28139 53704 71320 10639 45984 85397 78112
          | 37144 43027 25678 90511 53045 70038 43444 62291 73712 70990 89585 55452 20906 9887  79289 60749 41434 15970 43950 97099
          | 91969 24502 85799 97524 40790 56040 5592  32641 79018 35756 73851 20831 83802 86428 79035 41701 90978 10638 20362 71228
          | 69319 75070 90617 58048 65831 27997 11652 40360 84887 71486 49668 40469 59912 45604 50132 96140 88777 36928 24917 92244
          | 92232 38998 92459 71913 66676 610   83320 76167 10493 85237 27798 62919 90794 64357 67060 80454 82664 91530 35460 51011
          | 74106 5107  66772 96347 3968  59215 50789 34590 20041 68857 83447 67937 72965 90859 38606 32389 56115 87073 73005 40704
          | 16659 28007 74458 82206 24353 35783 30646 37486 46735 49555 48389 4311  63551 30765 25202 42622 19527 96538 8126  23335
          | 8444  9398  59765 24403 79924 58153 4251  96525 14716 28079 10110 29115 80075 51877 85345 13220 27328 52691 36628 15298
          | 54291 45945 8880  25963 88900 83145 57021 55892 96530 31945 55889 31840 93636 48290 56547 71765 61322 11441 28185 79148
          | 57307 86018 59172 28839 9426  83039 70693 97496 77013 47196 56664 91330 44553 39411 26146 9914  81802 48487 43403 61901
          | 23752 96230 37027 93979 92534 54510 63170 69891 57710 68    15304 76222 18014 84368 16093 30569 6971  61372 84527 11663
          | 35421 30224 31009 57679 28369 84515 84038 89964 27642 59932 86927 27617 40887 4788  38384 1226  91298 37236 1364  48337
          | 5071  76402 74507 25376 14014 72429 82750 75889 11831 43464 97505 91243 94850 96228 67454 16351 75321 45190 69942 79260
          | 91336 5398  83374 4700  11877 7410  52294 17928 87052 27269 78092 26437 41855 92971 96519 17067 18750 81330 53878 38720
          | 45133 35395 29001 42565 40612 44866 63432 11250 65363 44736 68099 53454 63659 65400 42278 18949 55357 2881  40252 52668
          | 51263 59445 32098 5969  45577 72488 64181 39880 36560 39364 8713  37369 71411 28349 51831 26960 66808 45629 16814 94553
          | 22523 35766 33974 26520 15612 94073 40478 41246 73329 81642 89699 97747 51123 43702 22437 83703 93159 35702 89026 16173
          | 52821 38447 25550 71410 63223 710   54720 27959 63639 31817 73108 85531 3147  54265 56549 96182 99931 58096 19006 27387
          | 71400 90387 43138 9074  38974 79513 2607  86906 29376 61994 25035 2488  41012 24979 24269 22998 70080 68338 98209 23190
          | 98197 80853 55069 16753 42244 10467 10164 75569 45170 93423 32545 12178 38690 60600 8729  98223 38593 94837 92685 43572
          ----------------------------------------------------------------------------------------------------------------------------
          33796 88003 88960 98860 4423  94190 52409 28591 27563 11539 |
          83734 36504 19115 19958 63180 87067 70902 75985 56844 23963 |
          97671 43583 47791 37817 49638 82873 26276 88403 64460 77398 |
          1526  36521 79590 47071 1927  57917 62638 14738 39056 17863 |
          58680 56463 20845 28598 17543 55060 31910 30401 90656 45067 |
          3492  55946 90952 3511  21285 99730 8219  52552 49680 3804  |
          25146 72848 42835 23922 76513 95468 44455 75472 67002 64370 |
          1966  2550  67170 15526 34846 31685 9660  51202 46266 82348 |
          27290 52368 87594 27002 30283 45794 32017 37393 24151 55241 |
          83544 72854 20922 41796 62420 89190 99389 10633 25242 48240 |
          38173 17885 1584  18677 92759 68757 21027 97838 15268 79557 |
          71291 43324 99948 5369  24210 96294 96529 24751 22786 96575 |
          84874 90817 95950 49167 9561  39798 1303  86235 10736 89950 |
          36982 70285 36663 56667 49241 2869  71620 40694 61366 79552 |
          77571 28133 35777 11622 52330 87619 30160 94608 56416 91099 |
          86326 45499 64306 55577 71426 95728 18298 52443 8973  54168 |
          36403 51093 1034  82584 23116 72927 50471 24502 14637 95725 |
          54665 89267 41699 31178 2283  5075  64058 60618 29751 61749 |
          3435  77695 44189 20332 58485 8869  38742 67684 19276 94843 |
          14206 48931 93733 28109 25655 78626 23836 93484 72154 3219  |

                   20        30
     o2 : Matrix ZZ   <--- ZZ

     i3 :     m1 = syz m0;

                   30        10
     o3 : Matrix ZZ   <--- ZZ

     i4 :     m = m1;

                   30        10
     o4 : Matrix ZZ   <--- ZZ

     i5 : 
              setRandomSeed 0

     o5 = 0

     i6 :     m0 = random(ZZ^40, ZZ^50, Height=>10000)

     o6 = | 107  1236 9426 2639 5007 4508 2565 3860 6083 7515 6868 7767 11   587  7376 1815 3103 7282 5797 4238 472  969  7581 1554
          | 4376 8922 6033 2954 2563 8939 1783 4521 3736 6425 9223 8858 6270 3265 5322 8952 97   1183 1269 1244 7453 7548 9543 6838
          | 3187 8880 2164 1822 8713 7466 6614 2607 4332 664  3257 6402 3847 930  4376 5519 5710 362  447  390  1055 2146 1979 2293
          | 3783 4259 7844 4718 7779 2725 8666 1364 3753 4041 5366 9886 4477 7074 9377 9034 5337 6572 4755 2011 1034 1029 9277 4160
          | 8570 1727 6206 6740 7917 2821 9058 4406 7311 1772 9892 7264 9789 2066 6537 8362 1065 4642 329  548  8446 7887 7876 1239
          | 275  8971 9476 4355 7572 6643 6857 4726 6794 3948 2736 8973 6753 8377 5542 452  3458 9635 8765 9442 2871 4296 7175 3456
          | 8444 1454 5867 7228 8651 2448 744  7484 7312 4423 8219 2892 8497 8272 3602 842  7717 9443 8539 1860 8974 7604 5823 4525
          | 5139 2177 4502 8044 4496 4788 6963 430  2550 6699 9952 6618 2496 3154 8467 1042 9813 8392 3951 889  271  4257 7071 9153
          | 8155 5098 7645 1544 2207 3592 2449 7106 3216 486  8972 7579 2620 5662 3572 6553 7776 5818 4987 7448 5180 1919 3373 9980
          | 7368 8598 6888 7112 6300 5113 3143 2622 7318 1927 9660 1479 8813 6661 3795 1792 2938 7611 6815 4890 6209 1816 5381 5880
          | 2653 1206 610  8478 4447 8595 9250 5692 1501 1159 1085 3804 259  1613 287  870  9343 5646 6243 8    1599 736  5809 1405
          | 5071 9166 3015 4986 4837 4552 6971 1859 8897 7305 4643 4675 4307 4814 6945 5248 9636 1616 8102 1192 5609 647  8633 5786
          | 9416 4574 9001 8176 7701 980  9378 7936 4749 4901 8476 428  9608 9200 6741 9480 6869 7807 3111 4157 4436 2047 2440 7501
          | 2111 5917 1225 2967 7655 1524 9785 6951 1941 2078 1303 6089 99   8632 7261 8750 47   3760 4684 2328 690  7829 6530 7375
          | 6139 8886 1119 3657 2401 5838 2366 9966 7347 7826 6084 8030 5293 3847 197  3438 1342 6483 9128 7062 4683 4372 143  2457
          | 3669 8591 5358 8558 4311 8818 6205 5952 7040 9561 1914 9179 373  4240 7498 7451 4092 6374 6500 5014 762  9141 4203 4696
          | 8231 8896 2595 5132 4164 3425 8648 3516 2731 89   1319 5016 5156 7006 2888 563  389  3206 7058 3732 5843 2421 2796 7572
          | 5864 6377 6893 155  4565 7395 1272 6806 4461 3178 6479 3219 5614 3866 2180 6315 4712 3534 5380 4743 9144 6140 7539 2705
          | 5026 4184 7410 3792 9410 9762 8114 7479 9032 5890 5974 2973 7484 8476 1851 8417 7099 6585 6913 151  2465 3347 3926 489 
          | 8118 286  1542 7793 9323 5616 5631 1028 1634 6732 7452 7490 2268 8211 4784 5658 9259 962  8010 2494 6465 3490 7151 21  
          | 9534 8019 6952 1655 4302 1918 1627 1814 5674 2283 6483 8873 6100 1387 954  9786 8911 3206 4116 9660 8786 5787 5335 3312
          | 8403 9579 5379 5454 4601 5275 4544 6737 4538 9333 3400 7467 3909 5682 8001 8160 1154 1490 9179 6151 1722 864  309  9222
          | 5494 8425 710  2988 3611 9510 5825 1526 1584 9271 9936 8289 2154 9264 8969 9054 2316 5418 8550 6327 1838 6653 3525 6387
          | 7256 8527 3578 5950 2488 2679 4160 9528 1644 5147 2050 6273 1994 5579 2479 8201 3336 1364 5373 1565 6893 2713 9397 4436
          | 6230 8992 6844 3317 5321 6053 9610 3492 3895 953  4625 3869 5756 6244 5289 7628 8767 4531 9011 9345 4519 9400 4655 429 
          | 9033 4700 5592 3321 4522 7397 5153 8762 3009 8765 426  6590 937  6751 1615 3174 5728 5440 9016 8909 4517 4000 7826 1952
          | 5107 9797 1400 1556 1882 7885 3539 1966 2175 5908 8367 2385 8382 676  640  9741 2653 168  9875 9208 9707 3646 7739 5089
          | 9398 5969 1637 403  8874 8729 7694 1624 1034 1426 4261 9439 3094 5102 4353 2685 7434 1263 3654 2840 9372 2265 8194 2743
          | 4098 5874 4251 8704 7601 7099 4468 5405 8931 7270 4315 2936 9370 4483 2256 9808 5850 4017 6292 7352 2741 210  9599 6235
          | 5398 9074 7869 4278 7429 5784 2881 5755 556  3221 7926 9162 8578 9315 8507 5833 8793 5980 4616 4209 4341 5846 612  913 
          | 5549 369  5157 9990 1630 8933 2934 2954 3574 7030 3291 8087 8049 918  2714 4102 7290 2143 9326 1584 9784 8629 6750 1604
          | 8558 3893 2118 68   8119 2948 8944 4214 5049 2869 8118 467  2305 4220 9891 7887 307  166  7626 3169 3600 6763 6115 2478
          | 2627 8022 830  6596 9087 9854 2802 4406 3511 5188 2148 9936 7437 1505 1034 2008 5308 8697 4361 1416 2007 4002 4607 1987
          | 2998 295  3142 684  6610 6229 3912 3635 7538 5699 510  68   724  7821 5638 6643 4452 3742 9791 420  5167 1744 350  5886
          | 5679 2292 7349 7665 5875 6250 3477 3058 9028 3051 7692 8851 7560 3439 3357 8881 601  1892 2911 3811 7308 6331 7966 1797
          | 8467 6245 7710 8315 1971 9478 3978 5513 2293 5543 9737 5628 9804 6646 5802 9992 2071 2938 3281 8482 9434 6664 7604 1071
          | 1031 1140 5568 516  3147 9914 8533 3435 5369 7391 6288 8583 8782 5925 7892 1133 6447 554  1262 2499 7934 702  8449 5507
          | 9294 3968 2607 1527 8244 1226 2692 9396 15   5075 8736 9970 4780 7655 9130 1025 6596 1974 8121 4311 4877 3734 2442 1356
          | 3879 7969 6574 6737 5922 7219 7469 1204 5179 9234 528  5621 6105 2935 7692 231  5677 6599 9824 2221 3341 6233 6136 8623
          | 8697 6980 7592 7512 9887 683  8126 5110 1612 8869 1466 4132 1795 5355 7866 3766 7650 9772 3923 7176 7837 3648 6088 9695
          ----------------------------------------------------------------------------------------------------------------------------
          3556 8966 304  25   8916 9164 7608 5130 3020 2025 5266 4758 4271 2175 4695 4197 25   4945 5517 3805 163  9939 7154 1019 9230
          5156 3671 8563 3559 2012 2618 3688 1237 488  4604 6328 3246 5376 704  9092 7694 4170 1907 717  3972 2842 7659 2652 7506 8189
          2186 7162 8797 2136 6974 7042 810  3656 1502 8171 333  1766 9685 2165 7766 2591 7388 2203 2092 3315 3902 793  6441 8851 3377
          3119 8229 153  7761 8399 7348 4035 9053 9297 422  5759 7068 7650 7751 7277 4500 6119 6764 9894 874  5653 8817 9241 3770 9134
          6882 8313 5604 4131 3727 7451 5109 2710 4078 5689 2220 5246 8747 3095 9959 9156 6201 1690 9886 8659 4184 7172 2850 9693 1544
          2039 8694 6134 7076 3095 8686 6602 8878 2951 5172 29   1857 4117 773  7225 5093 5834 822  7600 9149 9019 9752 1315 9692 6341
          7948 3017 3571 907  1763 1196 5620 5096 2364 196  6122 6632 4820 5432 6947 8586 3207 5500 5789 5754 5405 2962 1222 8877 3210
          3314 6466 4949 5252 1613 4607 6067 6431 4150 9139 3997 7840 9900 6778 9773 6825 4338 4155 1781 3656 1385 4152 5875 854  2155
          351  1246 6924 2396 6524 188  48   7323 5122 3813 3530 5878 8273 958  3576 868  7864 8329 3802 3464 3469 387  760  9920 6528
          2972 9798 30   6935 4812 5045 790  5619 9889 4145 777  5533 2484 437  5235 4717 3105 2676 2683 2230 636  1260 5921 658  8097
          4496 17   48   7309 2621 3416 9584 4907 7969 9150 6994 5695 5778 1189 8748 1483 922  2668 9999 166  9254 5107 749  4141 1556
          1304 5528 681  3887 1019 7990 6632 4338 8335 6370 3989 7985 8280 1836 9994 7542 3783 1734 6035 446  2924 7629 2630 959  1851
          4808 8781 9759 7206 4919 295  3309 4715 301  4612 2003 3372 9407 7990 8975 7576 5268 6700 1792 5565 4130 6306 9269 74   4217
          6368 292  8069 7641 4967 7518 9350 5290 7276 1388 1683 8252 7491 905  7105 349  5779 8901 6029 1785 7915 4179 4401 3914 4263
          2845 9104 2774 3050 2790 569  3484 8052 8345 4927 8206 7225 3393 7553 1942 8363 1362 9495 2994 9066 5746 6769 4224 2346 1392
          2984 1870 8402 6326 2084 1215 3474 628  6760 5318 369  7681 666  9899 8407 3724 1856 428  1572 2174 2948 4044 309  2693 1388
          1468 7425 2336 5942 2725 2615 3945 7177 5061 9713 3999 498  32   1793 5490 8784 619  7607 4076 212  4754 1216 4106 4224 2142
          3668 3758 6734 6490 9857 5669 1921 2326 5995 5915 9694 7731 5501 5513 6102 4581 8828 2593 9957 2354 9929 9946 8384 1714 9048
          4934 9287 9216 5087 8695 1096 5144 2298 1483 9087 1791 7124 9729 8906 3869 2442 9064 4428 763  2661 4477 9443 9836 7161 1957
          1877 7994 6204 6726 2696 9321 3641 7058 2706 3382 2401 1906 4390 5742 1458 6013 4846 762  7135 1204 9792 3316 1407 2265 1723
          3072 150  3007 4812 2323 728  6069 6335 3105 4441 4211 261  9911 6893 2565 3980 4742 8387 4275 3269 8056 7760 3517 3728 9920
          2766 3375 4000 1766 7809 3122 3756 1056 5369 4831 9534 1988 1086 9604 4919 3414 2532 5976 221  8591 2176 7124 9928 1173 5127
          2843 7604 8101 6388 5129 5089 6311 8963 9266 3877 5833 4459 2305 7821 3800 5141 5875 8659 5182 281  7469 978  2224 2264 1735
          7758 4136 7822 3573 6173 9851 2295 7598 8111 3025 2216 2268 210  4794 1519 7409 2635 3940 4226 9815 1408 7207 6217 5405 2192
          5161 8909 5821 2787 9427 8614 2434 4565 4943 1546 1160 6485 4358 8453 9264 4281 4317 3583 2756 7465 7746 2815 2399 9642 6099
          8166 6952 5631 6363 1817 4151 656  9289 1700 7499 6878 1456 5129 1337 1391 4391 2485 8621 9867 7142 9195 4422 5437 8754 4595
          557  5662 698  3022 9740 2613 9140 5396 5187 5373 6642 1685 7344 2219 2893 717  7192 4862 4344 7101 1900 3721 9755 6589 5727
          2834 7274 4105 1034 2007 4317 1498 3032 2851 2878 113  3288 2133 4104 215  1048 8289 432  192  8733 4067 7087 3915 2760 6949
          4973 9438 121  2249 4805 7417 5738 7018 3643 863  5488 8569 3381 4132 8475 5983 5342 5397 6504 2516 2239 5676 7250 2357 7935
          5197 5011 5073 3280 5843 4607 7080 9648 5569 6114 107  7789 9386 7782 1292 4810 7969 8713 691  3138 5926 8349 950  6602 5024
          7974 8500 798  7898 1639 7853 57   7386 2457 9868 5316 6025 8884 9762 3428 1784 3823 1667 6727 6691 2323 9641 8977 9153 4844
          1875 9248 8320 3614 4854 4454 6074 3986 8317 9882 4201 320  452  3882 7274 9136 7062 4590 3687 3055 9276 2218 2161 7949 1612
          9471 7914 2290 8094 657  7715 6848 6160 1184 5895 8339 3971 5197 4136 2406 6450 3991 9197 2689 2313 2568 6487 9617 456  4115
          5034 6529 2392 4858 7636 8785 4701 7747 9721 1631 2706 5698 5180 1795 2363 3352 6557 7435 6433 2597 5752 4108 2267 3170 8455
          834  9225 8376 4377 8920 7811 315  5722 9357 2629 6541 6535 5323 4675 1807 7061 6211 2947 2540 2101 2008 9652 5428 89   230 
          9818 9208 2215 3010 4081 8100 7475 928  4058 2144 1193 7895 994  5609 2569 491  4644 8321 5726 6477 3756 3912 6129 5769 6595
          9123 8478 8408 2454 2118 2708 7758 7834 4869 7680 8695 4934 7797 4596 1731 3127 69   4049 742  6092 8017 3314 42   2485 6455
          769  5227 8836 4852 6461 2612 7897 6903 4182 9244 1062 2176 9202 4327 3874 5554 6869 238  8884 6273 587  5917 9874 7389 6795
          5891 9353 6685 5633 3173 6558 4244 8449 6988 9545 497  3449 5518 1914 165  9642 5924 7911 9102 1871 2995 3727 1793 8794 4044
          5662 701  9844 1452 2581 2528 3290 4522 697  2761 5769 5558 7163 1456 4055 3594 7190 7493 5587 5156 8476 6949 6812 4317 7591
          ----------------------------------------------------------------------------------------------------------------------------
          4208 |
          389  |
          3711 |
          9431 |
          7697 |
          9224 |
          7708 |
          5562 |
          59   |
          609  |
          4940 |
          2126 |
          7199 |
          7906 |
          3323 |
          5721 |
          9849 |
          2340 |
          2207 |
          102  |
          3268 |
          17   |
          5265 |
          4341 |
          2694 |
          8193 |
          3747 |
          5899 |
          6086 |
          1165 |
          7107 |
          572  |
          5252 |
          4145 |
          3913 |
          591  |
          2316 |
          9299 |
          3583 |
          8554 |

                   40        50
     o6 : Matrix ZZ   <--- ZZ

     i7 :     m1 = syz m0;
     -- SIGSEGV
     -* stack trace, pid: 1171300
      0# 0x56633A43 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
      1# 0x56633D0C in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
      2# __kernel_sigreturn in linux-gate.so.1
      3# 0xF6041E2C in /lib/i386-linux-gnu/libc.so.6
      4# 0x567468AF in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
      5# 0x5687458D in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
      6# 0x56850198 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
      7# 0x568503BD in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
      8# 0x5698B807 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
      9# 0x566A2BEB in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     10# 0x5666E79E in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     11# 0x5666DF26 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     12# 0x56673782 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     13# 0x56696CB9 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     14# 0x5666E79E in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     15# 0x56673782 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     16# 0x566828FD in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     17# 0x5666E79E in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     18# 0x566703CE in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     19# 0x56673C88 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     20# 0x5666ED06 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     21# 0x56673CEB in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     22# 0x5666ED06 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     23# 0x5666F38B in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     24# 0x5666DE77 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     25# 0x56673782 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     26# 0x56696CB9 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     27# 0x5666E79E in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     28# 0x56673782 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     29# 0x566828FD in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     30# 0x566743F4 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     31# 0x5666ED06 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     32# 0x5666DF7F in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     33# 0x56674ABB in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     34# 0x566A9642 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     35# 0x566AA15D in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     36# 0x566AAEDB in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     37# 0x5666E79E in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     38# 0x5666D999 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     39# 0x5666DEEF in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     40# 0x56674ABB in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     41# 0x566A9642 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     42# 0x566AA377 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     43# 0x566AB07A in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     44# 0x56633491 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     45# 0x56999509 in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     46# 0x5699971F in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     47# 0x56999DEC in /build/macaulay2-1.16+git55.94c4b7d+ds/M2/usr-dist/i686-Linux-Debian-unstable/bin/M2-binary
     48# GC_inner_start_routine in /usr/lib/i386-linux-gnu/libgc.so.1
     49# GC_call_with_stack_base in /usr/lib/i386-linux-gnu/libgc.so.1
     50# GC_start_routine in /usr/lib/i386-linux-gnu/libgc.so.1
     51# 0xF63BD0B4 in /lib/i386-linux-gnu/libpthread.so.0
     52# clone in /lib/i386-linux-gnu/libc.so.6
     -- end stack trace *-

The stack trace isn't very helpful at the moment since this is based on the release-1.16 branch, before #1432. I'll see if I can reproduce the issue on the development branch and get a better stack trace.

d-torrance commented 4 years ago

Here's the stacktrace courtesy of boost:

-- SIGSEGV
-* stack trace, pid: 1352647
 0# stack_trace(std::ostream&, bool) at ../../../../Macaulay2/d/main.cpp:124
 1# segv_handler at ../../../../Macaulay2/d/main.cpp:240
 2# 0xF7F88580 in linux-gate.so.1
 3# 0xF5EFFE2C in /lib/i386-linux-gnu/libc.so.6
 4# RingZZ::mult(ring_elem, ring_elem) const at ../../../../Macaulay2/e/ZZ.cpp:261
 5# Ring::mult_vec(ring_elem, vecterm*) const at ../../../../Macaulay2/e/ring-vecs.cpp:190
 6# HermiteComputation::gb_reduce(vecterm*&, vecterm*&) const at ../../../../Macaulay2/e/hermite.cpp:443
 7# HermiteComputation::start_computation() at ../../../../Macaulay2/e/hermite.cpp:259
 8# rawStartComputation at ../../../../Macaulay2/e/x-gb.cpp:609
 9# interface_rawStartComputation at ../../../../Macaulay2/d/interface.dd:3428
10# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1297
11# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1253
12# evaluate_applyFCE.part.0.isra.0 at ../../../../Macaulay2/d/evaluate.d:738
13# method1234o at ../../../../Macaulay2/d/actors5.d:740
14# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1297
15# evaluate_applyFCE.part.0.isra.0 at ../../../../Macaulay2/d/evaluate.d:738
16# iteratedApply at ../../../../Macaulay2/d/actors3.d:2086
17# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1297
18# evaluate_applyFCS at ../../../../Macaulay2/d/evaluate.d:461
19# evaluate_applyFCC.part.0 at ../../../../Macaulay2/d/evaluate.d:558
20# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1300
21# evaluate_applyFCC.part.0 at ../../../../Macaulay2/d/evaluate.d:562
22# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1300
23# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1424
24# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1253
25# evaluate_applyFCE.part.0.isra.0 at ../../../../Macaulay2/d/evaluate.d:738
26# method1234o at ../../../../Macaulay2/d/actors5.d:740
27# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1297
28# evaluate_applyFCE.part.0.isra.0 at ../../../../Macaulay2/d/evaluate.d:738
29# iteratedApply at ../../../../Macaulay2/d/actors3.d:2086
30# evaluate_applyFCC.part.0 at ../../../../Macaulay2/d/evaluate.d:658
31# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1300
32# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1328
33# evaluate_evalexcept at ../../../../Macaulay2/d/evaluate.d:1428
34# readeval3(parse_TokenFile_struct*, char, parse_DictionaryClosure_struct*, char, char, char) at ../../../../Macaulay2/d/interp.dd:272
35# loadprint(M2_string_struct*, parse_DictionaryClosure_struct*, char) at ../../../../Macaulay2/d/interp.dd:345
36# commandInterpreter_2(tagged_union*) at ../../../../Macaulay2/d/interp.dd:460
37# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1297
38# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1253
39# evaluate_evalraw at ../../../../Macaulay2/d/evaluate.d:1253
40# evaluate_evalexcept at ../../../../Macaulay2/d/evaluate.d:1428
41# readeval3(parse_TokenFile_struct*, char, parse_DictionaryClosure_struct*, char, char, char) at ../../../../Macaulay2/d/interp.dd:272
42# readeval(parse_TokenFile_struct*, char, char) at ../../../../Macaulay2/d/interp.dd:284
43# interp_process at ../../../../Macaulay2/d/interp.dd:593
44# interpFunc(ArgCell*) at ../../../../Macaulay2/d/main.cpp:193
45# ThreadTask::run(SupervisorThread*) at ../../../../Macaulay2/system/supervisor.cpp:377
46# SupervisorThread::threadEntryPoint() at ../../../../Macaulay2/system/supervisor.cpp:436
47# SupervisorThread::threadEntryPoint(void*) at ../../../../Macaulay2/system/supervisor.hpp:100
48# GC_inner_start_routine in /usr/lib/i386-linux-gnu/libgc.so.1
49# GC_call_with_stack_base in /usr/lib/i386-linux-gnu/libgc.so.1
50# GC_start_routine in /usr/lib/i386-linux-gnu/libgc.so.1
51# start_thread in /lib/i386-linux-gnu/libpthread.so.0
52# __clone in /lib/i386-linux-gnu/libc.so.6
-- end stack trace *-
d-torrance commented 4 years ago

Based on the stacktrace, this may be the same bug as #1429. Both involve calls to mpz_reallocate_limbs:

https://github.com/Macaulay2/M2/blob/07a3f7eddac0cfa174ee7eb0eb8e6c5b83e21fd3/M2/Macaulay2/e/ZZ.cpp#L245 https://github.com/Macaulay2/M2/blob/07a3f7eddac0cfa174ee7eb0eb8e6c5b83e21fd3/M2/Macaulay2/e/ZZ.cpp#L261

d-torrance commented 3 years ago

Fixed in #2016 -- closing