crash in xlw_create_popup_menu()