Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when creating a code snippet #53

Open
alexdmotoc opened this issue Sep 5, 2015 · 3 comments
Open

Crash when creating a code snippet #53

alexdmotoc opened this issue Sep 5, 2015 · 3 comments

Comments

@alexdmotoc
Copy link

Xcode Version 6.4 (6E35b)

1 - add a code snippet (its name will be My Code Snippet by default)
2 - tap Edit on that code snippet
3 - edit the Completion Shortcut
4 - tap anywhere in the text editor (such that Backlight can kick in)
5 - crash
screen shot 2015-09-05 at 11 32 38

@dev4dev
Copy link
Contributor

dev4dev commented Oct 5, 2015

+1

Process:               Xcode [61293]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               7.0.1 (8228)
Build Info:            IDEFrameworks-8228000000000000~5
App Item ID:           497799835
App External ID:       813434267
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [61293]
User ID:               501

PlugIn Path:             /Users/USER/Library/Application Support/Developer/*/Backlight
PlugIn Identifier:       by.idev.Backlight
PlugIn Version:          1.1 (1.1)

Date/Time:             2015-10-05 10:58:46.707 +0200
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        516183E3-2C8C-7766-2215-90A13FE2C57E

Sleep/Wake UUID:       AE0529C3-C29C-4A23-BD8B-8501183E57C6

Time Awake Since Boot: 340000 seconds
Time Since Wake:       6200 seconds

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT

Application Specific Information:
NSTextViewDidChangeSelectionNotification
ProductBuildVersion: 7A1001

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x00007fff94f20064 objc_retain + 20
1   com.apple.dt.DVTKit             0x000000010ed57d1c -[DVTCompletingTextView setNeedsDisplayInRect:avoidAdditionalLayout:] + 163
2   com.apple.UIFoundation          0x00007fff89d46651 -[NSLayoutManager _primitiveInvalidateDisplayForGlyphRange:] + 5320
3   com.apple.UIFoundation          0x00007fff89d46fa9 -[NSLayoutManager invalidateDisplayForCharacterRange:] + 441
4   com.apple.dt.DVTKit             0x000000010ed5a04d -[DVTLayoutManager invalidateDisplayForCharacterRange:] + 846
5   com.apple.UIFoundation          0x00007fff89d4daee -[NSLayoutManager removeTemporaryAttribute:forCharacterRange:] + 471
6   by.idev.Backlight               0x000000011e766321 -[AAABacklight updateBacklightViewWithTextView:] + 392 (AAABacklight.m:358)
7   by.idev.Backlight               0x000000011e7655f4 -[AAABacklight backlightNotification:] + 136 (AAABacklight.m:242)
8   com.apple.CoreFoundation        0x00007fff8bb8e45c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
9   com.apple.CoreFoundation        0x00007fff8ba7e634 _CFXNotificationPost + 3140
10  com.apple.Foundation            0x00007fff96b5daa1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
11  com.apple.dt.DVTFoundation      0x000000010e87e0c8 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 698
12  com.apple.AppKit                0x00007fff8d893335 -[NSTextView(NSSharing) setSelectedRanges:affinity:stillSelecting:] + 7446
13  com.apple.dt.DVTKit             0x000000010ed58503 -[DVTCompletingTextView setSelectedRanges:affinity:stillSelecting:] + 201
14  com.apple.dt.DVTKit             0x000000010ed7ed1f -[DVTSourceTextView setSelectedRanges:affinity:stillSelecting:] + 365
15  com.apple.AppKit                0x00007fff8db91d59 -[NSTextView mouseDown:] + 12282
16  com.apple.dt.DVTKit             0x000000010ed9f341 -[DVTCompletingTextView mouseDown:] + 412
17  com.apple.dt.DVTKit             0x000000010ed9f063 -[DVTSourceTextView mouseDown:] + 1114
18  com.apple.AppKit                0x00007fff8df34dad -[NSWindow _reallySendEvent:isDelayedEvent:] + 510
19  com.apple.AppKit                0x00007fff8e062273 _NSGestureRecognizerUpdate + 2548
20  com.apple.CoreFoundation        0x00007fff8baee127 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
21  com.apple.CoreFoundation        0x00007fff8baee080 __CFRunLoopDoObservers + 368
22  com.apple.CoreFoundation        0x00007fff8bae02ba __CFRunLoopRun + 1178
23  com.apple.CoreFoundation        0x00007fff8badfbd8 CFRunLoopRunSpecific + 296
24  com.apple.HIToolbox             0x00007fff913cb56f RunCurrentEventLoopInMode + 235
25  com.apple.HIToolbox             0x00007fff913cb2ea ReceiveNextEventCommon + 431
26  com.apple.HIToolbox             0x00007fff913cb12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
27  com.apple.AppKit                0x00007fff8d7f88ab _DPSNextEvent + 978
28  com.apple.AppKit                0x00007fff8d7f7e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
29  com.apple.dt.DVTKit             0x000000010ee7249b -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 247
30  com.apple.AppKit                0x00007fff8d7edaf3 -[NSApplication run] + 594
31  com.apple.AppKit                0x00007fff8d76a244 NSApplicationMain + 1832
32  libdyld.dylib                   0x00007fff8f2715c9 start + 1

@KenmuHuang
Copy link

+1

Process:               Xcode [4420]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               7.1 (9079)
Build Info:            IDEFrameworks-9079000000000000~8
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [4420]
User ID:               501

PlugIn Path:             /Users/USER/Library/Application Support/Developer/*/Backlight
PlugIn Identifier:       by.idev.Backlight
PlugIn Version:          1.1 (1.1)

Date/Time:             2015-10-30 13:13:17.382 +0800
OS Version:            Mac OS X 10.11.1 (15B42)
Report Version:        11
Anonymous UUID:        66068B27-6E4E-6A4F-F240-9B85E3D9C491

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x00007fff949dfc61 objc_retain + 33
1   com.apple.dt.DVTKit             0x0000000100adb308 -[DVTCompletingTextView setNeedsDisplayInRect:avoidAdditionalLayout:] + 163
2   com.apple.UIFoundation          0x00007fff9ecdf134 -[NSLayoutManager _primitiveInvalidateDisplayForGlyphRange:] + 5220
3   com.apple.UIFoundation          0x00007fff9ecdfbe2 -[NSLayoutManager invalidateDisplayForCharacterRange:] + 458
4   com.apple.dt.DVTKit             0x0000000100add639 -[DVTLayoutManager invalidateDisplayForCharacterRange:] + 846
5   com.apple.UIFoundation          0x00007fff9ece6662 -[NSLayoutManager removeTemporaryAttribute:forCharacterRange:] + 469
6   by.idev.Backlight               0x000000010c9ad24f -[AAABacklight updateBacklightViewWithTextView:] + 719 (AAABacklight.m:358)
7   by.idev.Backlight               0x000000010c9abb3e -[AAABacklight backlightNotification:] + 206 (AAABacklight.m:242)
8   com.apple.CoreFoundation        0x00007fff8cffcc9c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
9   com.apple.CoreFoundation        0x00007fff8cffcc2f ___CFXRegistrationPost_block_invoke + 63
10  com.apple.CoreFoundation        0x00007fff8cffcba7 _CFXRegistrationPost + 407
11  com.apple.CoreFoundation        0x00007fff8cffc912 ___CFXNotificationPost_block_invoke + 50
12  com.apple.CoreFoundation        0x00007fff8cfb96d2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
13  com.apple.CoreFoundation        0x00007fff8cfb8925 _CFXNotificationPost + 693
14  com.apple.Foundation            0x00007fff8e9720fa -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
15  com.apple.dt.DVTFoundation      0x00000001005f6d45 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 698
16  com.apple.AppKit                0x00007fff9249d8d4 -[NSTextView(NSSharing) setSelectedRanges:affinity:stillSelecting:] + 7403
17  com.apple.dt.DVTKit             0x0000000100adbaef -[DVTCompletingTextView setSelectedRanges:affinity:stillSelecting:] + 201
18  com.apple.dt.DVTKit             0x0000000100b0233c -[DVTSourceTextView setSelectedRanges:affinity:stillSelecting:] + 365
19  com.apple.AppKit                0x00007fff9279bd86 -[NSTextView mouseDown:] + 12266
20  com.apple.dt.DVTKit             0x0000000100b22961 -[DVTCompletingTextView mouseDown:] + 412
21  com.apple.dt.DVTKit             0x0000000100b22683 -[DVTSourceTextView mouseDown:] + 1114
22  com.apple.AppKit                0x00007fff92b7242d -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6322
23  com.apple.AppKit                0x00007fff92b73411 -[NSWindow _reallySendEvent:isDelayedEvent:] + 212
24  com.apple.AppKit                0x00007fff925b8b8d -[NSWindow sendEvent:] + 517
25  com.apple.dt.IDEKit             0x0000000101ab4d22 -[IDEWorkspaceWindow sendEvent:] + 156
26  com.apple.AppKit                0x00007fff92538b27 -[NSApplication sendEvent:] + 2540
27  com.apple.dt.IDEKit             0x000000010186abe5 -[IDEApplication sendEvent:] + 739
28  com.apple.AppKit                0x00007fff9239fd9a -[NSApplication run] + 796
29  com.apple.AppKit                0x00007fff92368fbe NSApplicationMain + 1176
30  libdyld.dylib                   0x00007fffa095d5ad start + 1

@wolfcon
Copy link
Contributor

wolfcon commented Feb 19, 2016

I have pulled requests! If you don't wanna wait the author,
visit this https://github.com/wolfcon/Backlight-for-XCode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants