[Boa Constr] cvs boa core dumps on RedHat 6.1/wx 2.1.3
Status: Beta
Brought to you by:
riaan
|
From: Jeff T. <jt...@ra...> - 2000-03-10 14:53:39
|
Has anyone seen the following behavior? have a workaround?
first, my configuration:
RedHat 6.1 (x86)
gtk 1.2.6
wxGTK 2.1.13
wxPython 2.1.13
python 1.5.2
the problem:
When i try to run the latest CVS version of Boa (or boa 0.0.3)
i get a segmentation fault during startup. the problem occurs
the first time anyone tries to create a wxImageList (in the case
of running "python Boa.py", that occurs during parsing of
Debugger.BreakViewCtrl)
i assume the problem is some sort of wx startup race condition.
if i add the following code, before any of the imports, in Boa.py,
i don't get the core dump.
#
# XXX sjt - this seems to keep us from core dumping
#
from wxPython.wx import *
class DummyApp(wxApp):
def OnInit(self):
return true
dummy = DummyApp()
Although that avoids the core dump, it runs into a second problem, an
infinite supply of the following message, and no windows ever
pop up (i've only ever waited about 4-5 minutes before killing it)
GLib-CRITICAL **: file gmain.c: line 500 (g_source_remove): assertion
`tag > 0' failed.
GLib-CRITICAL **: file gmain.c: line 500 (g_source_remove): assertion
`tag > 0' failed.
...
...
I don't know if the two problems are related or not.
any clues?
thanks,
jeff
|