Issue report by Ryan M.
Product
FileMaker ProVersion
13.0.1Operating system version
OSX 10.9.5Description of the issue
We have a machine that uses cron to save records to PDF's four times a day. This process is causing FileMaker to crash about once a day.Steps to reproduce the problem
Loop through record set A, finding related records B for each record in A, save records in B as PDF.Expected result
All PDF's generated without issueActual result
FileMaker crashes at some unknown point in the process, forcing us to manually restart the export.Exact text of any error message(s) that appear
Exact error varies by the day. Here are three different exception types thrown during the course of one week.=======================
Process: FileMaker Pro [30150]
Path: /Applications/FileMaker Pro 13 Advanced/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 [288]
Responsible: FileMaker Pro [30150]
User ID: 501
Date/Time: 2015-02-16 22:43:52.268 -0700
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: D7820452-179B-4AD1-7865-10A96C1E426A
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 /Applications/FileMaker Pro 13 Advanced/FileMaker Pro Advanced.app/Contents/MacOS/FileMaker Pro
VM_ALLOCATE 0000000000001000-0000000000076000 [ 468K] ---/--- SM=NUL
Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=000000009001a062
Java VM: Java HotSpot(TM) Client VM (20.65-b04-462 mixed mode macosx-x86)
Current thread (0000000085bec800): JavaThread "AWT-AppKit" daemon [_thread_in_native, id=-1603776088, stack(00000000bf78b000,00000000bff8b000)]
Stack: [00000000bf78b000,00000000bff8b000]
Java Threads: ( => current thread )
00000000843e4000 JavaThread "AWT-Shutdown" [_thread_blocked, id=-1335209984, stack(00000000b05a5000,00000000b06a5000)]
00000000843ba800 JavaThread "Timer-0" daemon [_thread_blocked, id=-1337323520, stack(00000000b03a1000,00000000b04a1000)]
=>0000000085bec800 JavaThread "AWT-AppKit" daemon [_thread_in_native, id=-1603776088, stack(00000000bf78b000,00000000bff8b000)]
00000000843bbc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=-1316245504, stack(00000000b17bb000,00000000b18bb000)]
0000000085beb800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=-1317302272, stack(00000000b16b9000,00000000b17b9000)]
000000008549b400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=-1318359040, stack(00000000b15b7000,00000000b16b7000)]
000000008549a400 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=-1319415808, stack(00000000b14b5000,00000000b15b5000)]
000000008548d000 JavaThread "Finalizer" daemon [_thread_blocked, id=-1320472576, stack(00000000b13b3000,00000000b14b3000)]
000000008548c000 JavaThread "Reference Handler" daemon [_thread_blocked, id=-1321529344, stack(00000000b12b1000,00000000b13b1000)]
Other Threads:
0000000085489800 VMThread [stack: 00000000b11af000,00000000b12af000] [id=-1322586112]
00000000843bd400 WatcherThread [stack: 00000000b18bd000,00000000b19bd000] [id=-1315188736]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
par new generation total 14784K, used 4692K [0000000013730000, 0000000014730000, 0000000014730000)
eden space 13184K, 35% used [0000000013730000, 0000000013bc4820, 0000000014410000)
from space 1600K, 0% used [00000000145a0000, 00000000145a0800, 0000000014730000)
to space 1600K, 0% used [0000000014410000, 0000000014410000, 00000000145a0000)
concurrent mark-sweep generation total 49152K, used 573K [0000000014730000, 0000000017730000, 0000000019730000)
concurrent-mark-sweep perm gen total 12288K, used 6621K [0000000019730000, 000000001a330000, 000000001d730000)
Code Cache [0000000011728000, 00000000117e1000, 0000000013728000)
total_blobs=291 nmethods=149 adapters=86 free_code_cache=32809664 largest_free_block=0
Virtual Machine Arguments:
JVM Args: -Xbootclasspath/a:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Resources/JavaPluginCocoa.bundle/Contents/Resources/Java/deploy.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Resources/JavaPluginCocoa.bundle/Contents/Resources/Java/plugin.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/deploy.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/plugin.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jaws.jar -Djava.ext.dirs=/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext:/Library/Java/Extensions -Dcom.apple.eawt.CocoaComponent.CompatibilityMode=false
Java Command: <unknown>
Launcher Type: generic
Physical Memory: Page Size = 4k, Total = 4096M, Free = 21M
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x9001a062 CFStringGetLength + 18
1 com.apple.CoreFoundation 0x90024315 _parseComponents + 53
2 com.apple.CoreFoundation 0x900242d5 _CFURLInit + 101
3 com.apple.CoreFoundation 0x90024254 _CFURLInitWithURLString + 1508
4 com.apple.CoreFoundation 0x90069b7e CFURLCreateCopyDeletingLastPathComponent + 1070
5 com.apple.CoreFoundation 0x9008678d CFBundleCopyLocalizedString + 829
6 com.apple.CoreFoundation 0x900d3aba _CFCopyLocalizedVersionKey + 170
7 com.apple.CoreFoundation 0x900d3820 _CFCopyVersionDictionary + 208
8 libPDFRIP.A.dylib 0x1f7ba6f5 PDFInfoEmit + 141
9 libPDFRIP.A.dylib 0x1f7b2d09 PDFDocumentFinalize + 470
10 libPDFRIP.A.dylib 0x1f7b1c78 pdf_Finalize + 26
11 com.apple.CoreGraphics 0x94bc773f CGContextDelegateFinalize + 59
12 com.apple.CoreFoundation 0x9002105e CFRelease + 926
13 com.apple.CoreGraphics 0x94bc7729 CGContextDelegateFinalize + 37
14 com.apple.CoreFoundation 0x9002105e CFRelease + 926
15 com.apple.CoreGraphics 0x94bc76c5 context_reclaim + 44
16 com.apple.CoreFoundation 0x9002105e CFRelease + 926
17 com.filemaker.client.advanced12 0x00370d59 XQuartzDefaultBasicFontMetric::~XQuartzDefaultBasicFontMetric() + 37
18 libsystem_c.dylib 0x9ae74f0b __cxa_finalize + 183
19 libsystem_c.dylib 0x9ae75236 exit + 31
20 DL100PDFL 0x0286f318 ASRaiseException + 164
21 DL100PDFL 0x023e5798 PDFLOutOfMemoryHandler() + 33
22 libc++abi.dylib 0x9709fe2f operator new(unsigned long) + 31
23 com.filemaker.client.advanced12 0x003b3e7c XTextChunkBreaker_Legacy::LayOutTextUnitGroup(IGraphics*, XBasicFontMetric*, XTextFragment&, Draco::ParagraphStyle::Justification, float) + 510
24 com.filemaker.client.advanced12 0x003b3998 XTextChunkBreaker_Legacy::LayOutLine(IGraphics*, XBasicFontMetric*, XTextFragment, Draco::ParagraphStyle&) + 556
25 com.filemaker.client.advanced12 0x003b1828 XTextChunkBreaker_Legacy::LayOutNextLine(IGraphics*, XBasicFontMetric*, XTextFragment&, Draco::ParagraphStyle&, float, float, bool) + 1478
26 com.filemaker.client.advanced12 0x003b0e78 XTextChunkBreaker_Legacy::LayOutNextParagraph(IGraphics*, XBasicFontMetric*, XTextFragment&, float, float) + 1312
27 com.filemaker.client.advanced12 0x003af0fa XTextChunkBreaker_Legacy::RebuildModel() + 844
28 com.filemaker.client.advanced12 0x003b568d XTextModel::Rebuild() + 155
29 com.filemaker.client.advanced12 0x000aae12 XText::Recalculate() + 78
30 com.filemaker.client.advanced12 0x000ad8d2 XText::SetDrawingEnabled(bool) const + 38
31 com.filemaker.client.advanced12 0x000ad4c2 XText::ForceRecalculate(bool) + 118
32 com.filemaker.client.advanced12 0x0053d2f1 TextContentView::ForceRecalcForTextObjectIfNeeded(XText*) + 183
33 com.filemaker.client.advanced12 0x0053f771 TextContentView::AcquireTextObjectForRendering(IGraphics*) + 209
34 com.filemaker.client.advanced12 0x0053fba4 TextContentView::DrawView(IGraphics*, Draco::CoordRect const&) + 52
35 libViewSystem.dylib 0x03a6d1d3 BaseView::RenderToIGraphicsUsingTransform(IGraphics*, Draco::Coord3x3Matrix const&, Draco::CoordRect const&, IViewBackEnd::RenderContext&) const + 165
36 libViewSystem.dylib 0x03a6d22f BaseView::RenderToAncestor(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 69
37 libViewSystem.dylib 0x03a6d4d3 BaseView::UpdateRectListToAncestor_secondary(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 669
38 libViewSystem.dylib 0x03a6d57c BaseView::UpdateRectListToAncestor_secondary(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 838
39 libViewSystem.dylib 0x03a6d57c BaseView::UpdateRectListToAncestor_secondary(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 838
40 libViewSystem.dylib 0x03a6d57c BaseView::UpdateRectListToAncestor_secondary(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 838
41 libViewSystem.dylib 0x03a6d57c BaseView::UpdateRectListToAncestor_secondary(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 838
42 libViewSystem.dylib 0x03a6d57c BaseView::UpdateRectListToAncestor_secondary(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 838
43 libViewSystem.dylib 0x03a6d57c BaseView::UpdateRectListToAncestor_secondary(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 838
44 libViewSystem.dylib 0x03a6d57c BaseView::UpdateRectListToAncestor_secondary(IView*, IGraphics*, Draco::CoordRect const&, IViewBackEnd::RenderContext&) + 838
45 libViewSystem.dylib 0x03a6e62c BaseView::PrintViewRelativeToAncestor(IGraphics*, IView*, Draco::CoordRect const&) + 62
46 libViewSystem.dylib 0x03a6e5e3 BaseView::PrintView(IGraphics*) + 239
47 com.filemaker.client.advanced12 0x00724866 DSDocPrintable::PrintPageInRect(IViewPrintOperation*, IGraphics*, unsigned long, Draco::CoordRect const&, Draco::Coord3x3Matrix const&) + 3186
48 com.filemaker.client.advanced12 0x005a35aa XViewPrintOperationPDF::RunOperation() + 1126
49 com.filemaker.client.advanced12 0x00723811 DSDocPrintJob::ExecutePrintJob() + 81
50 com.filemaker.client.advanced12 0x005b31d9 FMPDF::Feature::ExecuteFeature(FMDocWindow&, PrintSettings const&, unsigned short) + 143
51 com.filemaker.client.advanced12 0x005b4c87 DoPDFFeatureOperation(FMDocWindow&, Draco::PDFSettings const&, PrintSettings const&, unsigned short, Draco::UniversalPath const&) + 96
52 com.filemaker.client.advanced12 0x003f9410 DoSaveAsPDF(FMDocWindow&) + 2770
53 com.filemaker.client.advanced12 0x0017a3d4 AppHandleCommand(FMDocWindow*, unsigned int, bool) + 16463
54 com.filemaker.client.advanced12 0x0017633b AppExecuteCommand(FMDocWindow*, unsigned int, bool, bool) + 295
55 com.filemaker.client.advanced12 0x002b5651 ScriptRuntime::DispatchStep(bool&) + 575
56 com.filemaker.fmengine.framework 0x04a03928 Draco::ScriptRuntimeBase::Execute() + 654
57 com.filemaker.fmengine.framework 0x04a03569 Draco::ScriptRuntimeBase::DoNextStep() + 327
58 com.filemaker.fmengine.framework 0x04a033c0 Draco::ScriptRuntimeBase::DoRunLoop() + 110
59 com.filemaker.client.advanced12 0x002b3423 ScriptRuntime::OnIdle() + 161
60 com.filemaker.fmengine.framework 0x049f3b74 Draco::FMSession::OnIdle(bool) + 62
61 com.filemaker.client.advanced12 0x0015bc93 FMAppSession::OnIdle(bool) + 153
62 com.filemaker.client.advanced12 0x00150661 CFMProApp::Idle(bool) + 53
63 com.filemaker.client.advanced12 0x001513c9 CFMProApp::DispatchNullEvent() + 163
64 com.filemaker.client.advanced12 0x003f7d08 -[MFAppDelegate HandleIdleNotification] + 23
65 com.apple.Foundation 0x98f959f2 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke + 49
66 com.apple.CoreFoundation 0x901365a4 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
67 com.apple.CoreFoundation 0x9001804b _CFXNotificationPost + 3435
68 com.apple.Foundation 0x98fc0d2f -[NSNotificationCenter postNotification:] + 115
69 com.apple.Foundation 0x98fe9c32 postQueueNotifications + 830
70 com.apple.Foundation 0x9903e5dc __NSPostIdleQueueNotes + 16
71 com.apple.CoreFoundation 0x9008d2be __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
72 com.apple.CoreFoundation 0x9008d20f __CFRunLoopDoObservers + 399
73 com.apple.CoreFoundation 0x9007e10f __CFRunLoopRun + 1199
74 com.apple.CoreFoundation 0x9007d9ea CFRunLoopRunSpecific + 394
75 com.apple.CoreFoundation 0x9007d84b CFRunLoopRunInMode + 123
76 com.apple.HIToolbox 0x9b9a4b5d RunCurrentEventLoopInMode + 259
77 com.apple.HIToolbox 0x9b9a48e2 ReceiveNextEventCommon + 526
78 com.apple.HIToolbox 0x9b9a46bd _BlockUntilNextEventMatchingListInModeWithFilter + 92
79 com.apple.AppKit 0x993d6349 _DPSNextEvent + 1602
80 com.apple.AppKit 0x993d5870 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
81 com.apple.AppKit 0x993c815c -[NSApplication run] + 727
82 com.filemaker.client.advanced12 0x0007be5a CMacApp_Main + 649
83 com.filemaker.client.advanced12 0x00146d45 main + 65
84 com.filemaker.client.advanced12 0x00078205 start + 53
...
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xdb5c4ca0 ebx: 0x00000000 ecx: 0xa0295fa0 edx: 0x00000000
edi: 0x9001a05e esi: 0x00000000 ebp: 0xbff815b8 esp: 0xbff815a0
ss: 0x00000023 efl: 0x00210286 eip: 0x9001a062 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00000000
Logical CPU: 1
Error Code: 0x00000004
Trap Number: 14
=======================
Process: FileMaker Pro [52035]
Path: /Applications/FileMaker Pro 13 Advanced/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 [288]
Responsible: FileMaker Pro [52035]
User ID: 501
Date/Time: 2015-02-21 08:47:13.131 -0700
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: D7820452-179B-4AD1-7865-10A96C1E426A
Crashed Thread: 37
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Application Specific Information:
abort() called
*** error for object 0x1: pointer being freed was not allocated
...
Thread 37 Crashed:
0 libsystem_c.dylib 0x9ae74393 __abort + 230
1 libsystem_c.dylib 0x9ae742ad abort + 172
2 libsystem_malloc.dylib 0x9b11fdab free + 419
3 libsystem_pthread.dylib 0x932bd81c _pthread_tsd_cleanup + 93
4 libsystem_pthread.dylib 0x932ba27e _pthread_exit + 108
5 libsystem_pthread.dylib 0x932b9604 _pthread_body + 153
6 libsystem_pthread.dylib 0x932b9485 _pthread_start + 130
7 libsystem_pthread.dylib 0x932becf2 thread_start + 34
Thread 37 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00000000 ecx: 0x8fdc2e6c edx: 0x926301fe
edi: 0x9b11fc16 esi: 0x8fdc2e8c ebp: 0x8fdc2e98 esp: 0x8fdc2e70
ss: 0x00000023 efl: 0x00010282 eip: 0x9ae74393 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000023 gs: 0x0000000f
cr2: 0x013337d0
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 6
========================
Process: FileMaker Pro [83293]
Path: /Applications/FileMaker Pro 13 Advanced/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 [288]
Responsible: FileMaker Pro [83293]
User ID: 501
Date/Time: 2015-02-26 16:58:49.949 -0700
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: D7820452-179B-4AD1-7865-10A96C1E426A
Crashed Thread: 39
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Assertion failed: (!pthread_mutex_unlock(&m)), function unlock, file /opt/boost/boost_1_44_0/boost/thread/pthread/mutex.hpp, line 61.
...
Thread 39 Crashed:
0 libsystem_kernel.dylib 0x9262e952 __pthread_kill + 10
1 libsystem_pthread.dylib 0x932ba167 pthread_kill + 101
2 libsystem_c.dylib 0x9ae7429c abort + 155
3 libsystem_c.dylib 0x9ae3f39a __assert_rtn + 347
4 DLI_PDFL100 0x02f099fc boost::mutex::unlock() + 76
5 DLI_PDFL100 0x02f0b544 waitOnWaitObject + 131
6 DLI_PDFL100 0x02ec31b9 preinitThread_start_proc + 289
7 libsystem_pthread.dylib 0x932b95fb _pthread_body + 144
8 libsystem_pthread.dylib 0x932b9485 _pthread_start + 130
9 libsystem_pthread.dylib 0x932becf2 thread_start + 34
...
Thread 39 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0xa1806cf8 ecx: 0x8fdb9e3c edx: 0x9262e952
edi: 0x8fdba000 esi: 0x00000006 ebp: 0x8fdb9e58 esp: 0x8fdb9e3c
ss: 0x00000023 efl: 0x00000206 eip: 0x9262e952 cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000023 gs: 0x0000000f
cr2: 0xa1806d00
Logical CPU: 0
Error Code: 0x00080148
Trap Number: 132