On Mon, Feb 23, 2009 at 9:53 AM, mabshoff <[email protected]> wrote: > The remaining issues for the 64 bit OSX build certainly seem rather > strange failures and are deep inside oMalloc, so the whole commentary > about the minpoly issue is likely a wrong lead. The strange thing is > also that I can reproducibly segfault doctests at the exact same spot, > but the failures occur with different commands and if I paste failing > doctests directly into an interactive Sage session they pass. Since > valgrind is available on OSX 10.5 Intel I will get it out of > valgrind's CVS in the next couple days and start to investigate.
One possibility is that these crashes are due to buggy __dealloc__ methods being called by the garbage collector. (This seems especially plausible since __dealloc__ methods in the libsingular classes will presumably be freeing memory allocated by oMalloc.) You can try adding calls to gc.collect() to the doctests to see if the behavior changes; if so, this very likely is the problem. Carl --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
