#46 psyco.full() crashes PythonWin interactive

open
nobody
None
5
2005-01-30
2005-01-30
D Skiles
No

I'm not sure if this is the correct place for reporting
this particular bug, but I'll give it a go.

When using psyco 1.4 with the PythonWin interactive
window under Python 2.4, using any psyco.full()
immediately crashes Pythonwin. When I catch the crash
in a debugger it states that scintilla (1.5.6.0) has
caused an access violation. I pick up a breakpoint at
the end of AfxUnlockGlobals in afxcrit.cpp:

I think this might be a scintilla problem, but I've
never seen this happen with previous versions of psyco
and scintilla. Any ideas?

Discussion

  • Armin Rigo
    Armin Rigo
    2005-02-09

    Logged In: YES
    user_id=4771

    It is difficult for me to debug this. There is nothing obvious in
    the changes between Psyco 1.3 and 1.4 that could cause a
    crash in new situations. I don't usually program under
    Windows so I don't have (nor know how to use) the
    necessary tools, beyond MS' free compiler.

     
  • Logged In: NO

    Doing a google on "psyco crashes PythonWin" shows that this
    may not be a new problem. There are reports of crashes using
    psyco.full() with psyco 1.3 and previous versions of pythonwin.

     
  • Armin Rigo
    Armin Rigo
    2005-04-10

    Logged In: YES
    user_id=4771

    It might be related to the bugs #1144094 and #1122673, which have just received a fix in the CVS tree. The fix makes a feature introduced in recent versions of Psyco a bit less aggressive -- it was causing problems elsewhere too. If you can, could you see if it helps?