I recently committed a fix (courtesy of Malte Marquarding) for segfaults in the Tk backend. It seems it was converting a string of digits to a "signed long" and then casting to a pointer. Unfortunately, it really needs to be an "unsigned long" or overflow may occur. Since the C standard library doesn't provide a version of "atol" for "unsigned long", Malte's solution was to use C++ stringstreams. There's a good chance that is portable, but it should probably be tested on Visual Studio for good measure. Would any of you kind Windows folks be willing to compile SVN trunk and open a plot with the TkAgg backend to verify this?
Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel