Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Crash when unloading compiler plugin

<< < (3/4) > >>

MortenMacFly:
Unfortunately, now I get the following warning with wx2.9.x:
---------------------------
wxWidgets Debug Alert
---------------------------
../../src/common/wincmn.cpp(1448): assert "Assert failure" failed in RemoveEventHandler(): where has the event handler gone?
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.

Not nice. :-/

MortenMacFly:
Same on 64 bit build. I don't thinks that's a good thing to do. Either it is simply wrong, or we screw the event queue somewhere else. Disabling the todo (and compiler) plugin makes the debug messages go away again, so the other core plugins seem to make wx happy.

oBFusCATed:
Morten: Do you see the crash without the patch in cb-wx28? Does it fix it there if there is a crash?

MortenMacFly:

--- Quote from: oBFusCATed on May 01, 2012, 01:45:13 pm ---Morten: Do you see the crash without the patch in cb-wx28? Does it fix it there if there is a crash?

--- End quote ---
wx28: Crash w/o patch, no crash w/ patch. (Win7/64 bit)

EDIT: Maybe you should surround this with if (!Manager::Get()->IsAppShuttingdown()) to fix the assertion failures I see? (I don't recall the method's name exactly, but you get the idea...).

oBFusCATed:
Hm, Can you try it yourself and then tell me if it works? Can you try to debug it? Is this debug notification debuggable with wx29 in wx28 they are pretty pointless in release builds at least.

I have no wx29-windows working config and I'm not eager to try it or to try to setup one.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version