AnsweredAssumed Answered

OSX and custom menus: regular crashes

Question asked by PeterWagemans on Oct 7, 2014
Latest reply on Nov 20, 2014 by philmodjunk

Summary

OSX and custom menus: regular crashes

Product

FileMaker Pro

Version

13.0v3

Operating system version

10.9.5

Description of the issue

My application uses custom menus exensively, but suffers from occasional crashes.

This happens while changing layouts or when switching modes - in fact at the time the custom menus are being built.

Steps to reproduce the problem

Make an application that uses custom menus all the time.
Any light-weight lab scale example is just not enough to generate the problem, which only happens occasionally.

Exact text of any error message(s) that appear

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                    0x9bdfb4a7 objc_msgSend + 23
1   com.apple.Foundation               0x958d49f2 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke + 49
2   com.apple.CoreFoundation           0x977b65a4 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
3   com.apple.CoreFoundation           0x9769804b _CFXNotificationPost + 3435
4   com.apple.Foundation               0x958c34df -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
5   com.apple.AppKit                   0x994d6b08 -[NSMenu insertItem:atIndex:] + 995
6   com.apple.AppKit                   0x994d671e -[NSMenu addItem:] + 67
7   com.apple.AppKit                   0x996cba4b -[NSMenu copyWithZone:] + 345
8   com.filemaker.client.advanced12     0x000c3268 CopyMenuIfNeeded + 73
9   com.filemaker.client.advanced12     0x000c1f99 CocoaMenuAttachMenu + 80
10  com.filemaker.client.advanced12     0x000c33d3 CocoaMenuAttachMenuBasedOnID + 76
11  com.filemaker.client.advanced12     0x000e0fc8 CMacMenuBase::InsertMenu(short, CMacMenu*, bool) + 54
12  com.filemaker.client.advanced12     0x000e15d3 CMacMenuBar::InstallMenu(CMacMenu*, short, CMacMenu*) + 275
13  com.filemaker.client.advanced12     0x000e1601 CMacMenuBar::InstallMenu(CMacMenu*, short, CMacMenu*) + 321
14  com.filemaker.client.advanced12     0x00357a9d FMCustomMenuBar::CreateCustomMenuBar() + 659
15  com.filemaker.client.advanced12     0x00355cba FMCustomMenusDirector::ActivateMenuBar(FMDocWindow*, Draco::FMWindowModel::UserMode) + 240
16  com.filemaker.client.advanced12     0x002a5022 MENU::Update(FMDocWindow*, short, bool) + 377

Outcomes