On Wednesday, September 3, 2014 4:57:19 PM UTC+2, Simon King wrote: > > Dear all, > > I just installed the valgrind spkg, did "make", and then started "./sage > --valgrind", in order to run a stress test for what I call "biseq" > (bounded integer sequences) at #15820. Eventually, I want to use biseqs > to implement Gröbner basis computations with a non-commutative F5 > algorithm. > > Problem 1: The stresstest unfortunately yields a crash in the majority > of cases, and with running under gdb it does crash as well. However, it > did not crash under valgrind. Why? > > Problem 2: I was not able to quit sage afterwards. "quit" or "quit()" > or "<Ctrl>-d" just brought me back to another prompt. Launching "pkill > python" also did not stop Sage from running. So, is the valgrind spkg > broken, or how is one supposed to quit Sage then? > > Problem 3: The sometimes failing, sometimes crashing stress test > indicates that the biseq data are corrupted in computer's > memory. However, I got no enlightenment from the gdb backtrace, and > valgrind didn't help me either. > > What further steps would you recommend to track the problem down? Is > there a typical reason for "free(): invalid next size (fast)"? Does that > crash message mean that I was writing into non-allocated memory, or > could it have a different reason? And would such a crash occur > immediately after "writing into non-allocated memory", or could it > happen that the program continues to run for a while? > > Of course, I'd appreciate if someone with more debugging experience > could have a look at #15820. > > Best regards, > Simon > > I remember that at some point ./sage -valgrind did not even woork anymore.... I did not read your full post yet but here are some pointers for myself and others: https://groups.google.com/d/msg/sage-devel/QXy_2KMbP1k/naLbRsn4pHcJ http://trac.sagemath.org/ticket/15586 http://trac.sagemath.org/ticket/14097
-- 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. For more options, visit https://groups.google.com/d/optout.