Closed d-torrance closed 3 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 *-
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
Fixed in #2016 -- closing
Another test failure from a draft of the Debian package on an i386 chroot:
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 thedevelopment
branch and get a better stack trace.