#70 crashes on initial context switch on windows

closed-fixed
SPU loader (1)
5
2006-04-28
2005-02-12
Chris Greenhalgh
No

using an up-to-date CVS checkout on my new laptop
(windows XP SP2, VS.NET) crserver crashes as soon as
it starts to create the initial context under various
conditions, e.g. is a print spu is specified.

Tracing the program, it follows a call to BindBufferARB
which (on my machine) is handled by the print SPU
which calls its passthrough which in turn is handled by
the glloader's NopBindBufferARB after which the
exception occurs (stack trace shows location 0x0).

The fix which seems to work for me is to modify
glloader.py to ensure that the generated Nop...
functions have __stdcall linkage as is normal for other
SPU functions. Changed version of glloader.py attached.

Discussion

  • including a fix which seems to work for me

     
    Attachments
  • Brian Paul
    Brian Paul
    2006-04-28

    Logged In: YES
    user_id=983

    Fixed in CVS. Thanks.

     
  • Brian Paul
    Brian Paul
    2006-04-28

    • status: open --> closed-fixed