XVimProject / XVim

Xcode plugin for Vim keybindings
MIT License
5.16k stars 595 forks source link

crash report: when attempting the jump to header file keyboard shortcut #422

Open abbood opened 11 years ago

abbood commented 11 years ago

env: Xcode5-DP3 Mac osx 10.8.4

to reproduce: control + command + up (ie to jump to header file) while in edit mode causes this crash:

Process:         Xcode [29251]
Path:            /Applications/Xcode5-DP3.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         5.0 (3325.22)
Build Info:      IDEApplication-3325022000000000~2
Code Type:       X86-64 (Native)
Parent Process:  launchd [402]
User ID:         501

Date/Time:       2013-08-16 11:28:53.677 +0300
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Interval Since Last Report:          33206 sec
Crashes Since Last Report:           23
Per-App Interval Since Last Report:  31664 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      6570397B-6130-3CF2-9C8F-C3EB06FA3788

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

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 5A11344j
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): index can not be invalid cursor position
UserInfo: (null)
Hints: None
Backtrace:
  0  0x00007fff87151aee __exceptionPreprocess (in CoreFoundation)
  1  0x0000000108118063 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff8ead03f0 objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff87151948 +[NSException raise:format:arguments:] (in CoreFoundation)
  4  0x00007fff8ebfd4c2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
  5  0x000000010ecd3ee9 -[XVimSourceView(Vim) prev:count:option:] (in XVim)
  6  0x000000010eca66b9 -[XVimMotionEvaluator h:] (in XVim)
  7  0x000000010ec9d65e -[XVimNormalEvaluator DEL:] (in XVim)
  8  0x000000010ec9707d -[XVimEvaluator eval:inWindow:] (in XVim)
  9  0x000000010ecaeb96 -[XVimNumericEvaluator eval:inWindow:] (in XVim)
 10  0x000000010eccaf83 -[XVimWindow handleKeyStroke:] (in XVim)
 11  0x000000010eccaa04 -[XVimWindow handleKeyEvent:] (in XVim)
 12  0x000000010ecadc16 -[DVTSourceTextViewHook keyDown:] (in XVim)
 13  0x00007fff8c437020 -[NSWindow sendEvent:] (in AppKit)
 14  0x00007fff8c432644 -[NSApplication sendEvent:] (in AppKit)
 15  0x0000000109159d9b -[IDEApplication sendEvent:] (in IDEKit)
 16  0x00007fff8c34821a -[NSApplication run] (in AppKit)
 17  0x00007fff8c2ecbd6 NSApplicationMain (in AppKit)
 18  0x00007fff8dafb7e1 start (in libdyld.dylib)
 19  0x0000000000000002

abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8a035212 __pthread_kill + 10
1   libsystem_c.dylib               0x00007fff87c79b54 pthread_kill + 90
2   libsystem_c.dylib               0x00007fff87cbddce abort + 143
3   com.apple.dt.IDEKit             0x00000001093585a3 +[IDEAssertionHandler _handleAssertionWithLogString:reason:] + 763
4   com.apple.dt.IDEKit             0x00000001093597ed -[IDEAssertionHandler handleUncaughtException:] + 919
5   com.apple.dt.IDEKit             0x0000000109359898 IDEHandleUncaughtException + 77
6   com.apple.AppKit                0x00007fff8c3482e2 -[NSApplication run] + 836
7   com.apple.AppKit                0x00007fff8c2ecbd6 NSApplicationMain + 869
8   libdyld.dylib                   0x00007fff8dafb7e1 start + 1

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

JugglerShu commented 11 years ago

Thanks for the report. The backtrace implies that you hit 'del' key when the crash happens. So what you did was

Is this correct?