On Thu, May 15, 2008 at 8:08 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> 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?

Unfortunately, this change in segfaulting tkagg on solaris

[EMAIL PROTECTED]:~> uname -a
SunOS flag 5.10 Generic_118855-15 i86pc i386 i86pc
[EMAIL PROTECTED]:~> gcc --version
gcc (GCC) 3.4.1


BUILDING MATPLOTLIB
            matplotlib: 0.98pre
                python: 2.4.5 (#4, Apr 12 2008, 09:09:16)  [GCC 3.4.1]
              platform: sunos5

REQUIRED DEPENDENCIES
                 numpy: 1.2.0.dev5136
             freetype2: found, but unknown version (no pkg-config)
                        * WARNING: Could not find 'freetype2' headers in any
                        * of '/usr/local/include', '.',
                        * '/usr/local/include/freetype2', './freetype2'.

OPTIONAL BACKEND DEPENDENCIES
                libpng: found, but unknown version (no pkg-config)
                        * Could not find 'libpng' headers in any of
                        * '/usr/local/include', '.'
               Tkinter: Tkinter: 39220, Tk: 8.4, Tcl: 8.4
              wxPython: no
                        * wxPython not found
                  Gtk+: gtk+: 2.10.11, glib: 2.12.11, pygtk: 2.10.4,
                        pygobject: 2.12.3
                    Qt: no
                   Qt4: no
                 Cairo: 1.4.0

-------------------------------------------------------------------------
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

Reply via email to