From: assiss <as...@16...> - 2006-08-19 02:41:38
|
From: "Charlie Moad" <cw...@gm...> To: "assiss" <as...@16...> Date: Fri, 18 Aug 2006 20:20:59 +0800 (CST) Subject: Re: [Matplotlib-users] python coredump when using GtkAgg mode Thanks. 9 import matplotlib._image #worked 10 import matplotlib._transforms #worked 11 12 #one of these three depending on which numerix package you are using 13 import matplotlib.backends._na_backend_agg # for numarray, worked 14 import matplotlib.backends._nc_backend_agg # for Numeric, worked 15 import matplotlib.backends._ns_backend_agg # for numpy, failed, because I didn't install numpy. 16 17 import matplotlib.backends._tkagg #worked 18 import matplotlib._agg #worked 1.py: ###################### from pylab import * plot(range(3)) show() ###################### Build matplotlib with VERBOSE=True , run python 1.py -dGTKAgg, it showed: ########################## LazyValue::init_type Value::init_type BinOp::init_type Point::init_type Interval::init_type Bbox::init_type Func::init_type FuncXY::init_type Transformation::init_type SeparableTransformation::init_type NonseparableTransformation::init_type Affine::init_type init_na_transforms Glyph::init_type FT2Font::init_type _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_func _transforms_module::new_func _transforms_module::new_separable_transformation BBoxTransformation::BBoxTransformation SeparableTransformation::SeparableTransformation init_na_image Image::init_type _transforms_module::new_value Value::~Value init_na_backend_agg _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_func _transforms_module::new_func _transforms_module::new_separable_transformation BBoxTransformation::BBoxTransformation SeparableTransformation::SeparableTransformation _transforms_module::new_value _transforms_module::new_value _transforms_module::new_value _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point LazyValue::number BinOp::BinOp LazyValue::number BinOp::BinOp _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_func _transforms_module::new_func _transforms_module::new_separable_transformation BBoxTransformation::BBoxTransformation SeparableTransformation::SeparableTransformation _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_value _transforms_module::new_value _transforms_module::new_point Point::Point _transforms_module::new_bbox Bbox::Bbox _transforms_module::new_func _transforms_module::new_func _transforms_module::new_separable_transformation BBoxTransformation::BBoxTransformation SeparableTransformation::SeparableTransformation SeparableTransformation::~SeparableTransformation Func::~Func Func::~Func BBoxTransformation::~BBoxTransformation Bbox::~Bbox Point::~Point Value::~Value Value::~Value Point::~Point Value::~Value Value::~Value Bbox::~Bbox Point::~Point Value::~Value Value::~Value Point::~Point Value::~Value Value::~Value Transformation::~Transformation Segmentation fault (core dumped) ########################### > Please follow the segfault instructions and get back to us. > > http://svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/SEGFAULTS?revision=2312&view=markup > > > On 8/18/06, assiss <as...@16...> wrote: > > hi all, > > I installed matplotlib and it worked very well with TkAgg/Agg. But when use > > GtkAgg or Gtk, python just coredumped without any prompts. > > For example, python a.py -dTkAgg, it worked. python a.py -dGtkAgg, > > "Segmentation fault (core dumped)". > > > > When running the examples with -dGtkAgg, gtk_spreadsheet.py > > embedding_in_gtk.py embedding_in_gtk3.py worked, embedding_in_gtk2.py > > pylab_with_gtk.py failed and coredumped without any prompts. > > > > My system is NetBSD AMD64-3.0. With python 2.4.3, gtk+-2.8.19, pygtk-2.8.6. > > > > Is there someting wrong with my system? Thanks for your suggestion. > > > > assiss > > 2006.8.18 > > > > > > > > > > > > > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > |