AnsweredAssumed Answered

Script crashes FileMaker 15 but not 14 in normal execution; no errors found using debugger

Question asked by l_allen_poole on Sep 30, 2016
Latest reply on May 9, 2017 by TSGal

What's the best way to troubleshoot a situation where a scripted process, which had been in trouble-free production use since FM 13 days, now causes a spontaneous crash of FMP 15 (on both Windows & MacOS)? Stepping through the process the script debugger shows no errors, and the process can be completed successfully if taken one step at a time in the FMPA 15 debugger. Since upgrading to 15, though, my client and I both see FileMaker spontaneously quit (with no error report) when we run the same process (without debugger), both on MacOS and Windows.

 

I've updated to the latest version of FileMaker 15 and the problem is still 100% reproducible. FM Server is still v.14.

 

MacOS crash report (abbreviated now) follows below.

 

Thanks,
Allen

 

Process:               FileMaker Pro [3620]

Path:                  /Applications/FileMaker/*/FileMaker Pro Advanced.app/Contents/MacOS/FileMaker Pro

Identifier:            com.filemaker.client.advanced12

Version:               15.0.2 (15.0.2)

Code Type:             X86-64 (Native)

Parent Process:        ??? [1]

Responsible:           FileMaker Pro [3620]

User ID:               503

 

 

Date/Time:             2016-09-30 10:50:16.218 -0700

OS Version:            Mac OS X 10.11.6 (15G1004)

Report Version:        11

Anonymous UUID:        E27E4EB5-9431-54D7-45DB-CCD484E45F2D

 

 

Sleep/Wake UUID:       CB61AFA5-E2BA-4E51-AC06-EC13092EC2A0

 

 

Time Awake Since Boot: 13000 seconds

Time Since Wake:       470 seconds

 

 

System Integrity Protection: enabled

 

 

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

 

 

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)

Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008

Exception Note:        EXC_CORPSE_NOTIFY

 

 

VM Regions Near 0x8:

-->

    __TEXT                 000000010926e000-0000000109dfb000 [ 11.6M] r-x/rwx SM=COW  /Applications/FileMaker/*/FileMaker Pro Advanced.app/Contents/MacOS/FileMaker Pro

 

 

Application Specific Information:

Java information:

Exception type: Bus Error (0xa) at pc=10b3588e4

 

Java VM: Java HotSpot(TM) 64-Bit Server VM (20.65-b04-468 mixed mode macosx-amd64)

 

Current thread (7fd8c3800000):  JavaThread "Thread-1" daemon [_thread_in_native, id=1998266368, stack(7fff56192000,7fff56992000)]

Stack: [7fff56192000,7fff56992000]

 

Java Threads: ( => current thread )

  7fd8c19c2000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=1667072, stack(700000097000,700000197000)]

  7fd8c296d000 JavaThread "LicensePlugin KeepaliveThread 18/3e80879d-fa75-4263-9043-eae219cba4b3" daemon [_thread_blocked, id=9142272, stack(7000007b8000,7000008b8000)]

  7fd8c3070800 JavaThread "Timer-0" daemon [_thread_blocked, id=5423104, stack(70000042c000,70000052c000)]

=>7fd8c3800000 JavaThread "Thread-1" daemon [_thread_in_native, id=1998266368, stack(7fff56192000,7fff56992000)]

  7fd8c2858800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=27615232, stack(700001956000,700001a56000)]

  7fd8c2857800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=26554368, stack(700001853000,700001953000)]

  7fd8c284f000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=25493504, stack(700001750000,700001850000)]

  7fd8c284e000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=24432640, stack(70000164d000,70000174d000)]

  7fd8c189d000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=23371776, stack(70000154a000,70000164a000)]

  7fd8c2838800 JavaThread "Finalizer" daemon [_thread_blocked, id=22310912, stack(700001447000,700001547000)]

  7fd8c2837800 JavaThread "Reference Handler" daemon [_thread_blocked, id=21250048, stack(700001344000,700001444000)]

Other Threads:

  7fd8c2833000 VMThread [stack: 700001241000,700001341000] [id=20189184]

  7fd8c2862000 WatcherThread [stack: 700001a59000,700001b59000] [id=28676096]

 

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

 

Heap

par new generation   total 19136K, used 13857K [7f3000000, 7f44c0000, 7f44c0000)

  eden space 17024K,  81% used [7f3000000, 7f3d886d0, 7f40a0000)

  from space 2112K,   0% used [7f42b0000, 7f42b0000, 7f44c0000)

  to   space 2112K,   0% used [7f40a0000, 7f40a0000, 7f42b0000)

concurrent mark-sweep generation total 63872K, used 2571K [7f44c0000, 7f8320000, 7fae00000)

concurrent-mark-sweep perm gen total 21248K, used 12832K [7fae00000, 7fc2c0000, 800000000)

 

Code Cache  [110d21000, 110f92000, 113d21000)

total_blobs=437 nmethods=144 adapters=255 free_code_cache=49518144 largest_free_block=17344

 

Virtual Machine Arguments:

JVM Args: -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false -Xbootclasspath/a:/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Resources/JavaPluginCocoa.bundle/Contents/Resources/Java/deploy.jar:/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Resources/JavaPluginCocoa.bundle/Contents/Resources/Java/plugin.jar:/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/deploy.jar:/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/plugin.jar:/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jaws.jar -Djava.ext.dirs=/System/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext:/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions -Dcom.apple.eawt.CocoaComponent.CompatibilityMode=false

Java Command: <unknown>

Launcher Type: generic

Physical Memory: Page Size = 4k, Total = 16384M, Free = 6943M

 

 

 

Global Trace Buffer (reverse chronological seconds):

17.072789    AppleJPEG                 0x00007fff8dbb511c [0x7fd8c1673a00] Decoding completed without errors

17.072789    AppleJPEG                 0x00007fff8dbb30fc [0x7fd8c1673a00] Options: 24x24 [FFFFFFFF,FFFFFFFF] 0001D060

17.072789    AppleJPEG                 0x00007fff8dbb2fae [0x7fd8c1673a00] Decoding: C0 0x00180018 0x0002354A 0x22111100 0x00000000 704

17.072789    AppleJPEG                 0x00007fff8dbb205e [0x7fd8c1673a00] Created session

17.072789    AppleJPEG                 0x00007fff8dbb511c [0x7fd8c1679c00] Decoding completed without errors

17.072789    AppleJPEG                 0x00007fff8dbb30fc [0x7fd8c1679c00] Options: 24x24 [FFFFFFFF,FFFFFFFF] 0001D060

17.072789    AppleJPEG                 0x00007fff8dbb2fae [0x7fd8c1679c00] Decoding: C0 0x00180018 0x0002354A 0x22111100 0x00000000 702

17.072789    AppleJPEG                 0x00007fff8dbb205e [0x7fd8c1679c00] Created session

17.209674    AppleJPEG                 0x00007fff8dbb511c [0x7fd8c5db6000] Decoding completed without errors

17.211642    AppleJPEG                 0x00007fff8dbb30fc [0x7fd8c5db6000] Options: 140x63 [FFFFFFFF,FFFFFFFF] 0001D060

17.211642    AppleJPEG                 0x00007fff8dbb2fae [0x7fd8c5db6000] Decoding: C0 0x008C003F 0x0000304A 0x22111100 0x00000000 3588

17.604763    AppleJPEG                 0x00007fff8dbb205e [0x7fd8c5db6000] Created session

20.409608    AppleJPEG                 0x00007fff8dbb2a11 [0x7fd8c15aaa00] Releasing session

20.409608    AppleJPEG                 0x00007fff8dbb2a11 [0x7fd8c5db6000] Releasing session

70.075425    AppleJPEG                 0x00007fff8dbb511c [0x7fd8c5db6000] Decoding completed without errors

70.075425    AppleJPEG                 0x00007fff8dbb30fc [0x7fd8c5db6000] Options: 140x63 [FFFFFFFF,FFFFFFFF] 0001D060

70.075425    AppleJPEG                 0x00007fff8dbb2fae [0x7fd8c5db6000] Decoding: C0 0x008C003F 0x0000304A 0x22111100 0x00000000 3588

70.076659    AppleJPEG                 0x00007fff8dbb205e [0x7fd8c5db6000] Created session

 

 

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

0   com.filemaker.dbengine.framework 0x000000010b3588e4 Draco::HBAbstractKey::operator=(unsigned char const*) + 14

1   com.filemaker.client.advanced12 0x0000000109a7c9be LayoutObjectView::InstallComponentViews() + 78

2   com.filemaker.client.advanced12 0x0000000109ab7e83 FieldTextView::InstallComponentViews() + 305

3   com.filemaker.client.advanced12 0x0000000109a7ce28 LayoutObjectView::InstallComponentViewsIfNeeded() + 30

4   com.filemaker.client.advanced12 0x0000000109a7b8fd LayoutObjectView::CreateChildLayoutObjectViewsIfNeeded(bool, LayoutViewBuilder*) + 35

5   com.filemaker.client.advanced12 0x0000000109a6dcf3 LayoutViewBuilder::CreateViewsForObject(IView&, Draco::LayoutObject&, bool, bool, bool, LayoutObjectRenderProxyManager*) + 621

6   com.filemaker.client.advanced12 0x0000000109a6d854 LayoutViewBuilder::CreateViewsForObjectList(PartsView&, Draco::ILayoutObjectList&, DSDocWindow const&, bool) + 398

7   com.filemaker.client.advanced12 0x00000001096ab802 AuxRulerViewController::RebuildPartsView() + 456

8   com.filemaker.client.advanced12 0x00000001095e852c ScrollerViewController::AddAuxRulerView(AuxRulerViewController*, AuxRulerViewController*) + 224

9   com.filemaker.client.advanced12 0x00000001095619ae DocViewController::ReconfigureViewsIfNeeded() + 1058

10  com.filemaker.client.advanced12 0x0000000109561d68 DocViewController::WindowViewChangeNotification() + 60

11  com.filemaker.client.advanced12 0x00000001095614c4 DocViewController::RebuildLayoutViewIfNeeded() + 282

12  com.filemaker.client.advanced12 0x00000001097db3ba TopLevelViewRendering::DoPreUpdateBehavior() + 118

13  libViewSystem.dylib           0x000000010b145afd ITopLevelViewBackEnd::UpdateViewsForPendingDisplay(bool) + 29

14  com.filemaker.client.advanced12 0x00000001096b6bb0 FMDocWindowTopLevelViewMac::UpdateViewsForPendingDisplay(bool) + 146

15  com.apple.CoreFoundation       0x00007fff88a29bbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12

16  com.apple.CoreFoundation       0x00007fff88a29b4f ___CFXRegistrationPost_block_invoke + 63

17  com.apple.CoreFoundation       0x00007fff88a29ac7 _CFXRegistrationPost + 407

18  com.apple.CoreFoundation       0x00007fff88a29832 ___CFXNotificationPost_block_invoke + 50

19  com.apple.CoreFoundation       0x00007fff889e65e2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922

20  com.apple.CoreFoundation       0x00007fff889e5835 _CFXNotificationPost + 693

21  com.apple.AppKit               0x00007fff959daa00 -[NSView _postFrameChangeNotification] + 426

22  com.apple.AppKit               0x00007fff959d56d3 -[NSView setFrameSize:] + 2199

23  com.apple.AppKit               0x00007fff95a81586 -[NSWindow _oldPlaceWindow:] + 1600

24  com.apple.AppKit               0x00007fff95a8074e -[NSWindow _setFrameCommon:display:stashSize:] + 2743

25  com.apple.AppKit               0x00007fff95a7fc88 -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 222

26  com.apple.AppKit               0x00007fff95b9fcee -[NSWindow setFrame:display:animate:] + 633

27  com.filemaker.client.advanced12 0x000000010955fdad WinControllerMac::SetWindowBounds(Draco::XRect const&, bool) + 733

28  com.filemaker.client.advanced12 0x00000001093c768c FMDocWindow::ZoomWindow(short, bool) + 446

29  com.filemaker.client.advanced12 0x000000010949bd57 ScriptRuntime::DoAdjustWindow() + 203

30  com.filemaker.client.advanced12 0x00000001094993be ScriptRuntime::DispatchStep(bool&) + 716

31  com.filemaker.fmengine.framework 0x000000010be8d4eb Draco::ScriptRuntimeBase::Execute() + 733

32  com.filemaker.fmengine.framework 0x000000010be8d179 Draco::ScriptRuntimeBase::DoNextStep() + 313

33  com.filemaker.fmengine.framework 0x000000010be8cfd9 Draco::ScriptRuntimeBase::DoRunLoop() + 203

34  com.filemaker.client.advanced12 0x0000000109496da0 ScriptRuntime::OnIdle() + 72

35  com.filemaker.fmengine.framework 0x000000010be7a6c7 Draco::FMSession::OnIdle(bool) + 69

36  com.filemaker.client.advanced12 0x0000000109343adb CFMProApp::Idle(bool) + 95

37  com.filemaker.client.advanced12 0x0000000109344d4a CFMProApp::DispatchNullEvent() + 180

38  com.apple.CoreFoundation       0x00007fff88a29bbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12

39  com.apple.CoreFoundation       0x00007fff88a29b4f ___CFXRegistrationPost_block_invoke + 63

40  com.apple.CoreFoundation       0x00007fff88a29ac7 _CFXRegistrationPost + 407

41  com.apple.CoreFoundation       0x00007fff88a29832 ___CFXNotificationPost_block_invoke + 50

42  com.apple.CoreFoundation       0x00007fff889e65e2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922

43  com.apple.CoreFoundation       0x00007fff889e5835 _CFXNotificationPost + 693

44  com.apple.Foundation           0x00007fff89d26144 postQueueNotifications + 782

45  com.apple.CoreFoundation       0x00007fff88a33067 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23

46  com.apple.CoreFoundation       0x00007fff88a32fd7 __CFRunLoopDoObservers + 391

47  com.apple.CoreFoundation       0x00007fff88a125da __CFRunLoopRun + 1178

48  com.apple.CoreFoundation       0x00007fff88a11ed8 CFRunLoopRunSpecific + 296

49  com.apple.HIToolbox           0x00007fff93f04935 RunCurrentEventLoopInMode + 235

50  com.apple.HIToolbox           0x00007fff93f0476f ReceiveNextEventCommon + 432

51  com.apple.HIToolbox           0x00007fff93f045af _BlockUntilNextEventMatchingListInModeWithFilter + 71

52  com.apple.AppKit               0x00007fff959aedf6 _DPSNextEvent + 1067

53  com.apple.AppKit               0x00007fff959ae226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454

54  com.apple.AppKit               0x00007fff959a2d80 -[NSApplication run] + 682

55  com.filemaker.client.advanced12 0x0000000109273d0d CMacApp_Main + 501

56  com.filemaker.client.advanced12 0x0000000109339000 main + 49

57  libdyld.dylib                 0x00007fff9758c5ad start + 1

Outcomes