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

VimR crashes when updating FileOutlineView #1013

Open
TerryGeng opened this issue Aug 30, 2023 · 0 comments
Open

VimR crashes when updating FileOutlineView #1013

TerryGeng opened this issue Aug 30, 2023 · 0 comments

Comments

@TerryGeng
Copy link

OS: macOS 12.0

Tested with VimR 0.43 and 0.44. I was editing some tex files and my vimtex plugin automatically re-compiled and generated a bunch of new files in the directory, which was open in the file outline view. This crashes VimR. If I don't cd to this directory, VimR works fine.

2023-08-30 12:14:15.317 VimR[32503:10697844] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '*** -[NSKeyValueSlowMutableArray count]: value for key children of object 0x6000030009c0 is nil'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000018ec381cc __exceptionPreprocess + 240
	1   libobjc.A.dylib                     0x000000018e9897b8 objc_exception_throw + 60
	2   Foundation                          0x000000018fbd5ac8 -[NSKeyValueSlowMutableArray objectsAtIndexes:] + 0
	3   Foundation                          0x000000018fb66004 -[NSKeyValueSlowMutableArray count] + 100
	4   Foundation                          0x000000018fb5a598 -[NSKeyValueNotifyingMutableArray addObject:] + 76
	5   AppKit                              0x0000000192062b04 -[NSTreeControllerTreeNode insertObject:inSubNodesAtIndex:] + 500
	6   AppKit                              0x0000000191f86df0 -[NSTreeController _insertObject:atArrangedObjectIndexPath:objectHandler:] + 428
	7   AppKit                              0x0000000191f85bd0 -[NSTreeController insertObjects:atArrangedObjectIndexPaths:] + 144
	8   VimR                                0x0000000102f36f88 $s4VimR15FileOutlineViewC14handleAddition33_D8A003BDC182EBF22853401FAD0BDAF0LL14changeTreeNode12newChildUrlsySo06NSTreeO0C_Shy10Foundation3URLVGtF + 2272
	9   VimR                                0x0000000102f358e8 $s4VimR15FileOutlineViewC06handleB13SystemChanges33_D8A003BDC182EBF22853401FAD0BDAF0LLyy10Foundation3URLVFyyScMYccfU_ + 364
	10  VimR                                0x0000000102f44e14 $sIeg_IeyB_TR + 28
	11  libdispatch.dylib                   0x000000018e92ce60 _dispatch_call_block_and_release + 32
	12  libdispatch.dylib                   0x000000018e92ebac _dispatch_client_callout + 20
	13  libdispatch.dylib                   0x000000018e93d0ac _dispatch_main_queue_callback_4CF + 944
	14  CoreFoundation                      0x000000018ebf9f00 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
	15  CoreFoundation                      0x000000018ebb78c0 __CFRunLoopRun + 2540
	16  CoreFoundation                      0x000000018ebb6734 CFRunLoopRunSpecific + 600
	17  HIToolbox                           0x000000019774df68 RunCurrentEventLoopInMode + 292
	18  HIToolbox                           0x000000019774dcdc ReceiveNextEventCommon + 552
	19  HIToolbox                           0x000000019774da9c _BlockUntilNextEventMatchingListInModeWithFilter + 72
	20  AppKit                              0x000000019170c000 _DPSNextEvent + 844
	21  AppKit                              0x000000019170a8a4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
	22  AppKit                              0x00000001916fc9b4 -[NSApplication run] + 596
	23  AppKit                              0x00000001916ce088 NSApplicationMain + 1064
	24  VimR                                0x0000000102ee0f5c main + 12
	25  dyld                                0x0000000103c2d0f4 start + 520
)
libc++abi: terminating with uncaught exception of type NSException
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

1 participant