At 11:44 PM 17/03/2001 -0500, you wrote:
Strange but true. I reverted the patch, and alt-b beeps but does not cause a crash. With the patch in, wine crashes without a beep.
Now I guess I'll put it back in. It doesn't cripple me if wine crashes when I fat-finger the GUI. I guess wine-devel doesn't want to see a trace, and maybe you don't either, but if you do it will save time to send it.
I had left out some cases in my first try :/, but maybe it's better to understand firsst what the app is doing.
Could you send me a complete (from start) +relay,+menu trace of your app crashing with current Wine (no copy to wine-devel is best in this case)
If you can apply the following patch to enhance trace first :
--- menu.c.orig Sun Mar 18 10:18:31 2001 +++ menu.c Sun Mar 18 11:28:29 2001 @@ -1852,6 +1852,7 @@ LPWSTR prevText = IS_STRING_ITEM(item->fType) ? item->text : NULL;
debug_print_menuitem("MENU_SetItemData from: ", item, ""); + TRACE("flags=%x str=%p\n", flags, str);
if (IS_STRING_ITEM(flags)) { @@ -4511,6 +4512,9 @@ { if (!menu) return FALSE;
+ debug_print_menuitem("MENU_SetItemInfo_common from: ", menu, ""); + TRACE("mask=%x type=%x text=%p\n", lpmii->fMask, lpmii->fType, lpmii->dwTypeData); + if (lpmii->fMask & MIIM_TYPE ) { /* Get rid of old string. */ if ( IS_STRING_ITEM(menu->fType) && menu->text) { @@ -4589,7 +4603,7 @@ if (lpmii->fMask & MIIM_DATA) menu->dwItemData = lpmii->dwItemData;
- debug_print_menuitem("SetMenuItemInfo_common: ", menu, ""); + debug_print_menuitem("SetMenuItemInfo_common to : ", menu, ""); return TRUE; }
Thanks.
Gerard