Hi! When I build sage-5.7.beta2 with SAGE_DEBUG then I get a crash, with the following Cython backtrace, upon quitting Sage:
Cython backtrace (newest frame = last) -------------------------------------- #0 0x0000000000400794 in main() #1 0x00007f9a771218aa in Py_Main() #2 0x00007f9a77105b2e in Py_Finalize() #3 0x00007f9a770f1ac5 in _PyImport_Fini() #4 0x00007f9a77037baf in _Py_Dealloc() #5 0x00007f9a77028d5b in dict_dealloc() #6 0x00007f9a77037baf in _Py_Dealloc() #7 0x00007f9a77028d5b in dict_dealloc() #8 0x00007f9a77037baf in _Py_Dealloc() #9 0x00007f9a641a91c4 in fast_tp_dealloc() at /home/simon/SAGE/debug/sage-5.7.beta2/devel/sage-main/sage/rings/integer.pyx:6053 6048 6049 # Free the object. This assumes that Py_TPFLAGS_HAVE_GC is not 6050 # set. If it was set another free function would need to be 6051 # called. 6052 > 6053 PyObject_FREE(o) 6054 6055 6056 hook_fast_tp_functions() 6057 from sage.misc.allocator cimport hook_tp_functions #10 0x00007f9a7703976d in _PyObject_DebugFree() #11 0x00007f9a770398a8 in _PyObject_DebugFreeApi() #12 0x00007f9a77039b0a in _PyObject_DebugCheckAddressApi() #13 0x00007f9a77039c2c in _PyObject_DebugDumpAddress() #14 0x00007f9a77402a10 in __restore_rt() #15 0x00007f9a7385c94a in sage_signal_handler() #16 0x00007f9a7385d252 in sigdie() #17 0x00007f9a7385d12b in print_enhanced_backtrace() #18 0x00007f9a76d6e860 in waitpid() Could it be that the assumption to not have Py_TPFLAGS_HAVE_GC simply doesn't hold? What other free function should be used instead? Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.