python coredump when using GtkAgg mode

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

抢 呀 ! 魔 兽 点 卡 1 折 啦

 [1. 今 秋 5 类 色 MM 的 靓 装 2.NIKE \ 阿 迪 \ Kappa \ 李 宁 全 场 99 元 !

](http://adtaobao.allyes.com/main/adfclick?db=adtaobao&bid=600,597,58&cid=29985,198,1&sid=32501&show=ignore&url=http://www.taobao.com/vertical/sports/pro.php)

Please follow the segfault instructions and get back to us.

···

On 8/18/06, assiss <assiss@...1221...> 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

抢 呀 ! 魔 兽 点 卡 1 折 啦
1. 今 秋 5 类 色 MM 的 靓 装 2.NIKE \ 阿 迪 \ Kappa \ 李 宁 全 场 99 元 !
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

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: “Charlie Moad” <cwmoad@…287…>
To: “assiss” <assiss@…1221…>
Date: Fri, 18 Aug 2006 20:20:59 +0800 (CST)
Subject: Re: [Matplotlib-users] python coredump when using GtkAgg mode

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

matplotlib download | SourceForge.net

On 8/18/06, assiss <assiss@…1221…> 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
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

网 易 邮 箱 带 你 率 先 跨 入 3G 时 代 !

 [3G 海 量 邮 箱 ,20 兆 超 大 附 件 ;网 络 记 事 本 + RSS + 大 容 量 网 盘 ,一 样 也 不 少

](http://www.126.com/index.htm?mailsite=gmail&mailpos=20060731&num=2)

Since your error was with gtk try:

import matplotlib.backends._gtkagg

I am guessing that will fail. You might try reinstalling gtk and
pygtk. I doubt anyone has NetBSD to confirm your error though.

···

On 8/18/06, assiss <assiss@...1221...> wrote:

From: "Charlie Moad" <cwmoad@...287...>
To: "assiss" <assiss@...1221...>
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