use the NSPipe's fileHandleForReading method induce crash

My MAC OS the APP project is working period of time, has the following error, ask that everybody possibly presents the reason?


Console log:


4/6/17 2:20:59.860 PM LMC[13524] NSSoftLinking - The DataDetectors framework's library couldn't be loaded from /System/Library/PrivateFrameworks/DataDetectors.framework/Versions/A/DataDetectors.

4/6/17 2:20:59.860 PM LMC[13524]

NSSoftLinking - The function 'DDMenuItemGetActionUTI' can't be found in the DataDetectors framework.

4/6/17 2:21:08.169 PM

LMC[13524]

Critical failure: the LastResort font is unavailable.

4/6/17 2:21:08.170 PM

LMC[13524]

Critical failure: the LastResort font is unavailable.

Replies

Crash Report:

Process: LMC [13524]

Path: /Users/USER/DesktopLMC.app/Contents/MacOS/LMC

Identifier: foxconn.LMC

Version: 5.8.1.8d (1)

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: LMC [13524]

User ID: 502

Date/Time: 2017-04-06 14:21:08.222 +0800

OS Version: Mac OS X 10.10.3 (14D131)

Report Version: 11

Anonymous UUID: 383AF490-9643-1C4A-77F0-42930C2D8195

Time Awake Since Boot: 100000 seconds

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

Exception Type: EXC_BREAKPOINT (SIGTRAP)

Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:

*** CFRelease() called with NULL ***

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

0 com.apple.CoreFoundation 0x00007fff88317010 CFRelease + 912

1 com.apple.HIToolbox 0x00007fff8608ad70 TCoreTextEngine::DrawThemeTextBox(THIThemeTextInfo*, CGRect const&, unsigned int, CGContext*) + 2152

2 com.apple.HIToolbox 0x00007fff8608a43e ___ZN10DataEngine11DrawTextBoxEPKvPK6CGRectP15HIThemeTextInfoP9CGContext_block_invoke + 262

3 com.apple.HIToolbox 0x00007fff86089fca DataEngine::DrawTextBox(void const*, CGRect const*, HIThemeTextInfo*, CGContext*) + 1420

4 com.apple.HIToolbox 0x00007fff86089a10 HIThemeDrawTextBox + 446

5 com.apple.HIToolbox 0x00007fff860f79ba HIStandardMenuView::DrawCmdKeyModifiers(unsigned int, unsigned char, short, CGRect const*, float, unsigned short, __CTFont const*, unsigned int, CGContext*, TextLayout const*, float*) + 562

6 com.apple.HIToolbox 0x00007fff861652f6 HIStandardMenuView::DrawItemContent(CGRect const*, float, float, unsigned int, short, CGContext*, OpaqueCUIRendererRef*) + 2194

7 com.apple.HIToolbox 0x00007fff860e456d HIStandardMenuView::DrawItem(unsigned char, CGContext*, unsigned char) + 2221

8 com.apple.HIToolbox 0x00007fff860e37fa HIStandardMenuView::DrawSelf(short, __HIShape const*, CGContext*) + 514

9 com.apple.HIToolbox 0x00007fff8608357d HIView::DrawCacheOrSelf(short, __HIShape const*, CGContext*) + 343

10 com.apple.HIToolbox 0x00007fff860833e6 HIView::SendDraw(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 382

11 com.apple.HIToolbox 0x00007fff86082d42 HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 710

12 com.apple.HIToolbox 0x00007fff86082fbe HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 1346

13 com.apple.HIToolbox 0x00007fff86082fbe HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned int, HIView*, CGContext*, unsigned char, double) + 1346

14 com.apple.HIToolbox 0x00007fff86081cdb HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned int, HIView*, CGContext*) + 965

15 com.apple.HIToolbox 0x00007fff86081904 HIView::Render(unsigned int, CGContext*) + 54

16 com.apple.HIToolbox 0x00007fff86081028 WindowData::PrepareForVisibility() + 168

17 com.apple.HIToolbox 0x00007fff860e2c36 _HIWindowPrepareForVisibility + 27

18 com.apple.HIToolbox 0x00007fff860e14fd DrawMDEF(MenuSelectData*, CGPoint) + 579

19 com.apple.HIToolbox 0x00007fff860f5dea DrawTheMenu(MenuSelectData*, __CFArray**, unsigned char, unsigned char*) + 792

20 com.apple.HIToolbox 0x00007fff860f591c MenuChanged(MenuSelectData*, unsigned char, unsigned char) + 356

21 com.apple.HIToolbox 0x00007fff860e7889 TrackMenuCommon(MenuSelectData&, unsigned char*) + 1221

22 com.apple.HIToolbox 0x00007fff860f53c1 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 510

23 com.apple.HIToolbox 0x00007fff860f50fe _HandleMenuSelection2 + 446

24 com.apple.AppKit 0x00007fff899e1de0 _NSHandleCarbonMenuEvent + 277

25 com.apple.AppKit 0x00007fff89918d0d _DPSNextEvent + 1828

26 com.apple.AppKit 0x00007fff89917f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346

27 com.apple.AppKit 0x00007fff8990dbf3 -[NSApplication run] + 594

28 com.apple.AppKit 0x00007fff8988a354 NSApplicationMain + 1832

29 foxconn.LMC 0x00000001059083c4 0x105907000 + 5060

The root cause is use which NSPipe the fileHandleForReading method don't send closeFile to this object include crash!