Ubuntu Hardy (8.04) woes

I am getting intermittent segmentation faults when running my wxPython
application (see the backtrace below). I believe ever since I upgraded
my Ubuntu install from 7.10 to 8.04. I am not aware I have done anything
wrong in the code to trigger this.

So I have two questions:
1) how can I determine of this is my fault or that of the wx packages
delivered by Ubuntu, and if it is the latter;
2) how can I force to use Robin's packages even though the Ubuntu
packages are more recent?

Paul

···

--------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7dd78c0 (LWP 20344)]
0xb7218920 in wxListMainWindow::SetItem ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
(gdb) bt
#0 0xb7218920 in wxListMainWindow::SetItem ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1 0xb7219ad7 in wxGenericListCtrl::SetItem ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2 0xb609c37f in ?? ()
   from
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls_.so
#3 0x0805cb37 in PyObject_Call (func=0x0, arg=0x952898c, kw=0x956ff0c)
    at ../Objects/abstract.c:1861
#4 0x080c7ce4 in PyEval_EvalFrameEx (f=0x972cd9c, throwflag=0)
    at ../Python/ceval.c:3853
#5 0x080cb0d7 in PyEval_EvalCodeEx (co=0xb6186de8, globals=0xb629902c,
    locals=0x0, args=0x97b2df4, argcount=4, kws=0x97b2e04, kwcount=0,
    defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2836
#6 0x080c92de in PyEval_EvalFrameEx (f=0x97b2c9c, throwflag=0)
    at ../Python/ceval.c:3669
#7 0x080cb0d7 in PyEval_EvalCodeEx (co=0xb7a01698, globals=0xb611524c,
    locals=0x0, args=0xa3a85810, argcount=4, kws=0xa3a85820, kwcount=0,
    defs=0x8c19038, defcount=3, closure=0x956e8ac) at ../Python/ceval.c:2836
#8 0x080c92de in PyEval_EvalFrameEx (f=0xa3a8564c, throwflag=0)
    at ../Python/ceval.c:3669
#9 0x080cb0d7 in PyEval_EvalCodeEx (co=0xb7a01ad0, globals=0xb611524c,
    locals=0x0, args=0xa3a39180, argcount=6, kws=0xa3a39198, kwcount=0,
    defs=0x864ece0, defcount=4, closure=0x0) at ../Python/ceval.c:2836
#10 0x080c92de in PyEval_EvalFrameEx (f=0xa3a3901c, throwflag=0)
    at ../Python/ceval.c:3669
#11 0x080cb0d7 in PyEval_EvalCodeEx (co=0xb7918ec0, globals=0xb611524c,
    locals=0x0, args=0x956ec18, argcount=2, kws=0x0, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at ../Python/ceval.c:2836

--
Paul Sijben tel: +31334566488
Eemvalley Technology BV fax: +31334557523
the Netherlands http://eemvalley.com
-----------------------------------------------------
EemValley Technology werft python & wxpython
programmeurs: http://www.eemvalley.nl/jobs