pycrust crash upon attempt to view the wx namespace

I am learning pycrust and WxPython. I found that after importing the
wx package I can try to expand the tree view for wx and the cursor
clocks for a couple of seconds and then pycrust crashes. I am using
Ubuntu Lucid Lynx and have opened a bug report:

https://bugs.launchpad.net/ubuntu/+source/wxwidgets2.8/+bug/607213

I am asking here to see if anyone has a work-around for this crash.

- Nate

Nate Bargmann wrote:

I am learning pycrust and WxPython. I found that after importing the
wx package I can try to expand the tree view for wx and the cursor
clocks for a couple of seconds and then pycrust crashes. I am using
Ubuntu Lucid Lynx and have opened a bug report:

Bug #607213 “pycrust crash when inspecting wx namespace” : Bugs : wxwidgets2.8 package : Ubuntu

I am asking here to see if anyone has a work-around for this crash.

- Nate

I have also seen this already before.

You can help out by installing the -dbg version of the python and wxpython packages and running PyCrust with python-dbg. There may be an assert in the debug build that will give a clue as to what is causing the problem. If not then try running it from within gdb and do a backtrace after the crash happens.

···

On 7/19/10 6:01 AM, Nate Bargmann wrote:

I am learning pycrust and WxPython. I found that after importing the
wx package I can try to expand the tree view for wx and the cursor
clocks for a couple of seconds and then pycrust crashes. I am using
Ubuntu Lucid Lynx and have opened a bug report:

Bug #607213 “pycrust crash when inspecting wx namespace” : Bugs : wxwidgets2.8 package : Ubuntu

I am asking here to see if anyone has a work-around for this crash.

--
Robin Dunn
Software Craftsman

Thanks, Robin. I installed the -dbg packages, python2.6-dbg and
python-wxgtk2.8-dbg, and don't see any change in the output to the
terminal:

$ python-dbg /usr/bin/pycrust
/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/py/filling.py:
132: DeprecationWarning: GetWeek is deprecated, use GetWeekOfYear
instead
  d[key] = getattr(obj, key)
Segmentation fault

Are there any switches to activate more output?

- Nate >>

···

On Jul 19, 10:39 pm, Robin Dunn <ro...@alldunn.com> wrote:

You can help out by installing the -dbg version of the python and
wxpython packages and running PyCrust with python-dbg. There may be an
assert in the debug build that will give a clue as to what is causing
the problem. If not then try running it from within gdb and do a
backtrace after the crash happens.

I've performed a run in gdb per the instructions at https://wiki.ubuntu.com/Backtrace
and have posted the backtrace in the bug report at
https://bugs.launchpad.net/ubuntu/+source/wxwidgets2.8/+bug/607213