unknown opcode Exception then AV

Michael Hudson mwh at python.net
Tue Jun 11 11:24:09 EDT 2002


"Geoff Bien" <gbien at intekom.co.za> writes:

> I have one script out of many (python 2.1 activestate on win32)
> which gives an "invalid opcode" exception and then also
> sometimes causes an AV.
> 
> This script  uses intebase with the gvib or kinterbasdb
> extension modules. since using gvib or kinterbasedb
> makes no difference to the problem they are probably
> not the cause
> 
> this is the only script I have problems with. it is too long
> to post here.
> 
> Traceback (most recent call last):
>   File "<string>", line 452, in ?
>   File "<string>", line 446, in go
>   File "<string>", line 425, in doPeriod
>   File "<string>", line 341, in doMonth
> SystemError: unknown opcode
> 
> the interpreter seems quite confused with this script,
> in other places simple statements like x=x+1  are giving
> the wrong results

Hard to give meaningful advice on this information!  Check your RAM?
Blow away .pycs?  Use dis do disassemble the bytecode of the function
that blows up?

Cheers,
M.

-- 
  > Look I don't know.  Thankyou everyone for arguing me round in
  > circles.
  No need for thanks, ma'am; that's what we're here for.
                                    -- LNR & Michael M Mason, cam.misc



More information about the Python-list mailing list