Roderick Colenbrander wrote:
>
> Hi,
>
>   
Hi!
> I'm not sure if your patch is correct. The block of code in front of the 
> if-statement you added should have found or else created a context. If 
> afterwards there is no context it sounds like something went wrong. Returning 
> NULL isn't correct then. When we just return we keep using the old context 
> (if one was around) which might work for your program but it isn't guaranteed 
> to work at all.
>
> So what is the real problem?
>   
I use  one application that falls after exit:

ixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value
srgb_sub_high (a)
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7ebe66f5 ESP:0033faac EBP:0033fae4 EFLAGS:00210202(   - 00      - -RI1)
 EAX:00000000 EBX:7ec91428 ECX:00000000 EDX:0013c908
 ESI:00000014 EDI:0013b588
Stack dump:
0x0033faac:  00110000 00000000 0013ae78 00000000
0x0033fabc:  7ecbad04 02ff7de8 0033fae4 7ecb01ee
0x0033facc:  02ff7de8 0033fb08 00000405 7ec91428
0x0033fadc:  02ff6360 0013c908 0033fb14 7ebe32a0
0x0033faec:  0013c908 0013b588 00000001 00000007
0x0033fafc:  00000000 00110000 00000000 7ec91428
Backtrace:
=>1 0x7ebe66f5 ActivateContext+0x75(This=0x13c908, target=0x13b588, usage=0x1)
[/srv/vostok/Projects/wine/dlls/wined3d/context.c:867] in wined3d (0x0033fae4)
  2 0x7ebe32a0 IWineD3DBaseTextureImpl_CleanUp+0x50(iface=<register ESI not in
topmost frame>) [/srv/vostok/Projects/wine/dlls/wined3d/basetexture.c:75] in
wined3d (0x0033fb14)
  3 0x7ec4cce6 IWineD3DTextureImpl_Destroy+0xa6(iface=<register EDI not in
topmost frame>, D3DCB_DestroySurface=0x7eca75e0)
[/srv/vostok/Projects/wine/dlls/wined3d/texture.c:237] in wined3d (0x0033fb44)
  4 0x7ecb1147 IDirect3DTexture8Impl_Release+0x57(iface=0x2f0c8a0)
[/srv/vostok/Projects/wine/dlls/d3d8/texture.c:62] in d3d8 (0x0033fb84)
  5 0x005ef395 in mme (+0xaf395) (0x0033fba0)
  6 0x005ef44b in mme (+0xaf44b) (0x0033fbac)
  7 0x005ef69f in mme (+0xaf69f) (0x0033fbc8)
  8 0x005e4ad3 in mme (+0xa4ad3) (0x0033fbd4)
  9 0x0057fd3f in mme (+0x3fd3f) (0x0033fbe4)
  10 0x005a040f in mme (+0x6040f) (0x0033fbf0)
  11 0x0059a4aa in mme (+0x5a4aa) (0x0033fc08)
  12 0x0059a7bf in mme (+0x5a7bf) (0x0033fc14)
  13 0x00548ec4 in mme (+0x8ec4) (0x0033fc2c)
  14 0x0056e770 in mme (+0x2e770) (0x0033fc3c)
  15 0x005af139 in mme (+0x6f139) (0x0033fc4c)
  16 0x0054443d in mme (+0x443d) (0x0033fc6c)


> Regards,
> Roderick
>   


-- 
Best regards
        Anatoly Lyutin.



Reply via email to