AnsweredAssumed Answered

FileMaker Pro 13 crashes on layout, FMP 12 does not

Question asked by JohnDuncan on Jan 16, 2014
Latest reply on Jan 16, 2014 by philmodjunk

Summary

FileMaker Pro 13 crashes on layout, FMP 12 does not

Product

FileMaker Pro

Version

13.0v1

Operating system version

MacOS X 10.8.5

Description of the issue

A database with multiple layouts is hosted on FileMaker Server 13 on a Mac OS 10.9.1 machine.  The database is opened remotely with FileMaker Pro 13.0v1 on a Mac OS X 10.8.5 machine.  The database opens successfully however when a button is clicked to run a script to go to another layout it crashes FileMaker and is very repeatable.  When the same database is opened with FileMaker Pro 12v4 it does not crash when clicking on the button and the next layout is displayed.  Tracing it with debugger shows that the crash occurs on the go to layout script step.

Steps to reproduce the problem

The database is named BTS_Leases.  Open the database, click on the button to go to the Form view layout and it crashes.

Expected result

shouldn't crash and doesn't with FMP 12

Actual result

FMP 13.0v1 crashes

Exact text of any error message(s) that appear

Here is an excerpt from the crash log:

Process:         FileMaker Pro [523]
Path:            /Volumes/VOLUME/*/FileMaker Pro Advanced.app/Contents/MacOS/FileMaker Pro
Identifier:      com.filemaker.client.advanced12
Version:         13.0.1 (13.0.1)
Code Type:       X86 (Native)
Parent Process:  launchd [158]
User ID:         501

Date/Time:       2014-01-16 10:08:58.388 -0500
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

VM Regions Near 0:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Volumes/VOLUME/*/FileMaker Pro Advanced.app/Contents/MacOS/FileMaker Pro
    VM_ALLOCATE            0000000000001000-00000000000e1000 [  896K] ---/--- SM=NUL 

Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=0000000004bc1375

Java VM: Java HotSpot(TM) Client VM (20.65-b04-462 mixed mode macosx-x86)

Current thread (000000006bac0000):  JavaThread "AWT-AppKit" daemon [_thread_in_native, id=-1405769176, stack(00000000bf720000,00000000bff20000)]
Stack: [00000000bf720000,00000000bff20000]

Java Threads: ( => current thread )
  000000006b2bb000 JavaThread "AWT-Shutdown" [_thread_blocked, id=-1334751232, stack(00000000b0615000,00000000b0715000)]
  000000006baec800 JavaThread "Timer-0" daemon [_thread_blocked, id=-1336864768, stack(00000000b0411000,00000000b0511000)]
=>000000006bac0000 JavaThread "AWT-AppKit" daemon [_thread_in_native, id=-1405769176, stack(00000000bf720000,00000000bff20000)]
  000000006c2c1000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=-1309446144, stack(00000000b1e37000,00000000b1f37000)]
  000000006c2c0000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=-1310502912, stack(00000000b1d35000,00000000b1e35000)]
  000000006c2bf000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=-1311559680, stack(00000000b1c33000,00000000b1d33000)]
  000000006c2be000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=-1312616448, stack(00000000b1b31000,00000000b1c31000)]
  000000006b486c00 JavaThread "Finalizer" daemon [_thread_blocked, id=-1313673216, stack(00000000b1a2f000,00000000b1b2f000)]
  000000006b485c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=-1314729984, stack(00000000b192d000,00000000b1a2d000)]
Other Threads:
  000000006b483400 VMThread [stack: 00000000b182b000,00000000b192b000] [id=-1315786752]
  000000006c2ca800 WatcherThread [stack: 00000000b1f39000,00000000b2039000] [id=-1308389376]

VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None

Heap
par new generation   total 14784K, used 5339K [0000000015290000, 0000000016290000, 0000000016290000)
  eden space 13184K,  40% used [0000000015290000, 00000000157c6f90, 0000000015f70000)
  from space 1600K,   0% used [0000000015f70000, 0000000015f70000, 0000000016100000)
  to   space 1600K,   0% used [0000000016100000, 0000000016100000, 0000000016290000)
concurrent mark-sweep generation total 49152K, used 0K [0000000016290000, 0000000019290000, 000000001b290000)
concurrent-mark-sweep perm gen total 12288K, used 5566K [000000001b290000, 000000001be90000, 000000001f290000)

Code Cache  [0000000013289000, 000000001332a000, 0000000015289000)
total_blobs=227 nmethods=89 adapters=82 free_code_cache=32913600 largest_free_block=0

Virtual Machine Arguments:
JVM Args: -Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Resources/JavaPluginCocoa.bundle/Contents/Resources/Java/deploy.jar:/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Resources/JavaPluginCocoa.bundle/Contents/Resources/Java/plugin.jar:/Library/Java/Home/lib/deploy.jar:/Library/Java/Home/lib/plugin.jar:/Library/Java/Home/lib/jaws.jar -Djava.ext.dirs=/System/Library/Java/Extensions:/Library/Java/Home/lib/ext:/Library/Java/Extensions -Dcom.apple.eawt.CocoaComponent.CompatibilityMode=false
Java Command:
Launcher Type: generic
Physical Memory: Page Size = 4k, Total = 8192M, Free = 231M


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.filemaker.fmengine.framework     0x04bc1375 Draco::PopoverLayoutObject::FindPart(Draco::LayoutPartListIter const&, Draco::LayoutPart*&) const + 17
1   com.filemaker.fmengine.framework     0x04b754db Draco::LayoutObject::FindPart(Draco::LayoutPartListIter const&, Draco::LayoutPart*&) const + 69
2   com.filemaker.fmengine.framework     0x04b7548d Draco::LayoutObject::FindPart(Draco::LayoutPartListIter const&) const + 41
3   com.filemaker.fmengine.framework     0x04ac7963 Draco::FMLayout::SetDisplayBounds(Draco::ILayoutObjectList&, Draco::Coord const&, Draco::Coord const&, Draco::Coord const&, unsigned long, Draco::Coord const&) const + 175
4   com.filemaker.fmengine.framework     0x04ac7ca6 Draco::FMLayout::SetDisplayBounds(Draco::ILayoutObjectList&, Draco::Coord const&, Draco::Coord const&, Draco::Coord const&, unsigned long, Draco::Coord const&) const + 1010
5   com.filemaker.fmengine.framework     0x04ac776c Draco::FMLayout::RecalcDisplayBounds() const + 828
6   com.filemaker.fmengine.framework     0x04ac4d08 Draco::FMLayout::LoadLayout() const + 186
7   com.filemaker.fmengine.framework     0x04c32562 Draco::FMWindowModel::LoadLayout(Draco::HBAbstractKey const&, bool, bool, bool) + 1016
8   com.filemaker.fmengine.framework     0x04c33c0c Draco::FMWindowModel::GotoLayout(Draco::HBAbstractKey const&, bool) + 568
9   com.filemaker.fmengine.framework     0x04c45c2a Draco::ScriptRuntimeBase::DoGoToLayout(Draco::FMWindowModel&, Draco::FMWindowModel&, bool) + 94
10  com.filemaker.fmengine.framework     0x04c40610 Draco::ScriptRuntimeBase::DispatchStep_Private(bool&) + 956
11  com.filemaker.fmengine.framework     0x04c3d971 Draco::ScriptRuntimeBase::Execute() + 727
12  com.filemaker.fmengine.framework     0x04c3d569 Draco::ScriptRuntimeBase::DoNextStep() + 327
13  com.filemaker.fmengine.framework     0x04c3d3c0 Draco::ScriptRuntimeBase::DoRunLoop() + 110
14  com.filemaker.client.advanced12     0x0031e423 ScriptRuntime::OnIdle() + 161
15  com.filemaker.fmengine.framework     0x04c2db74 Draco::FMSession::OnIdle(bool) + 62
16  com.filemaker.client.advanced12     0x001c6c93 FMAppSession::OnIdle(bool) + 153
17  com.filemaker.client.advanced12     0x001bb661 CFMProApp::Idle(bool) + 53
18  com.filemaker.client.advanced12     0x001bc3c9 CFMProApp::DispatchNullEvent() + 163
19  com.filemaker.client.advanced12     0x00462d08 -[MFAppDelegate HandleIdleNotification] + 23
20  com.apple.Foundation               0x97295e52 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 49
21  com.apple.CoreFoundation           0x97ada851 ___CFXNotificationPost_block_invoke_0 + 257
22  com.apple.CoreFoundation           0x97a25e8a _CFXNotificationPost + 2794
23  com.apple.Foundation               0x9729b248 -[NSNotificationCenter postNotification:] + 115
24  com.apple.Foundation               0x9725d698 postQueueNotifications + 843
25  com.apple.CoreFoundation           0x97a3a84e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
26  com.apple.CoreFoundation           0x97a3a78d __CFRunLoopDoObservers + 381
27  com.apple.CoreFoundation           0x97a148af __CFRunLoopRun + 1071
28  com.apple.CoreFoundation           0x97a1401a CFRunLoopRunSpecific + 378
29  com.apple.CoreFoundation           0x97a13e8b CFRunLoopRunInMode + 123
30  com.apple.HIToolbox                0x90333f5a RunCurrentEventLoopInMode + 242
31  com.apple.HIToolbox                0x90333cc9 ReceiveNextEventCommon + 374
32  com.apple.HIToolbox                0x90333b44 BlockUntilNextEventMatchingListInMode + 88
33  com.apple.AppKit                   0x97eb893a _DPSNextEvent + 724
34  com.apple.AppKit                   0x97eb816c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
35  com.apple.AppKit                   0x97eae5cc -[NSApplication run] + 855
36  com.filemaker.client.advanced12     0x000e6e5a CMacApp_Main + 649
37  com.filemaker.client.advanced12     0x001b1d45 main + 65
38  com.filemaker.client.advanced12     0x000e3205 start + 53

Configuration information

Server: Mac Mini (2009) OS X 10.9.1 16GB RAM 2GB cache allocated to FileMaker Server.
FileMaker Server 13.0v1

Client: MacBook Pro OS X 10.8.5 8GB RAM
FileMaker Pro 13.0v1

Workaround

none found so far, will try de-hosting and recovering the database with FileMaker 13

Outcomes