WINE unhandled fault when calling windowdelete from a windowmenu

Posted by Fiendish on Thu 21 Apr 2011 06:48 AM — 7 posts, 21,527 views.

USA Global Moderator #0
It seems that calling WindowDelete as the result of a WindowMenu option is causing MUSHclient to crash for me in WINE. It does not crash in Windows 7 doing the same thing, so clearly this is a WINE issue, but maybe there's a way to prevent it from happening?

wine: Unhandled page fault on read access to 0xfffffffe at address 0x4d1057 (thread 0009)

(not urgent, since I have a very handy workaround already)
Australia Forum Administrator #1
Is the window deleting itself?
USA Global Moderator #2
Yup. :)
FYI, my workaround is "don't do that". The nasty part is that it seems to work just fine in Windows.
Amended on Thu 21 Apr 2011 08:11 AM by Fiendish
Australia Forum Administrator #3
Luck.
Australia Forum Administrator #4
In C++, nothing stops an object from deleting itself, it just isn't a good idea. Same here.
USA Global Moderator #5
Having to work around this just makes triggering the deletion and recreation of a miniwindow from user events a bit cumbersome and horribly confusing until you realize what's going on.

(My reason for trying is: http://mushclient.com/forum/?id=11045&page=999)
Amended on Mon 25 Apr 2011 08:46 PM by Fiendish
Australia Forum Administrator #6
Version 4.73 will now return status eItemInUse if a miniwindow attempts to delete itself.