ejoubaud / SublimeTabsLimiter

A Sublime Text plugin to limit the number of tabs. Once the limit is reached, newer tabs will just replace old ones.
1 stars 1 forks source link

Crash on replacing multiple files #2

Open kyamaguchi opened 11 years ago

kyamaguchi commented 11 years ago

If I exec replacing in many files, Sublime Text crashes. (Find in Files ⇧⌘F -> Replace) If I Disable TabsLimiter Package, it doesn't crash.

Here is my crash report

Process: Sublime Text 2 [95345] Path: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2 Identifier: com.sublimetext.2 Version: Version 2.0.1, Build 2217 (2217) Code Type: X86-64 (Native) Parent Process: launchd [254] User ID: 501

Date/Time: 2013-03-17 00:52:36.194 +0900 OS Version: Mac OS X 10.8.2 (12C60) Report Version: 10

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.sublimetext.2 0x000000010077053b TextBuffer::runFileLoadedCallbacks() + 45 1 com.sublimetext.2 0x0000000100777d81 TextBuffer::readFinished(TokenStorage_) + 609 2 com.sublimetext.2 0x0000000100750836 finishread(void) + 118 3 com.sublimetext.2 0x0000000100814a43 ns_work_queue_runner::run_items() + 169 4 com.apple.Foundation 0x00007fff9177f677 NSThreadPerformPerform + 225 5 com.apple.CoreFoundation 0x00007fff8ea5e101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 6 com.apple.CoreFoundation 0x00007fff8ea5da25 CFRunLoopDoSources0 + 245 7 com.apple.CoreFoundation 0x00007fff8ea80dc5 CFRunLoopRun + 789 8 com.apple.CoreFoundation 0x00007fff8ea806b2 CFRunLoopRunSpecific + 290 9 com.apple.HIToolbox 0x00007fff926c40a4 RunCurrentEventLoopInMode + 209 10 com.apple.HIToolbox 0x00007fff926c3e42 ReceiveNextEventCommon + 356 11 com.apple.HIToolbox 0x00007fff926c3cd3 BlockUntilNextEventMatchingListInMode + 62 12 com.apple.AppKit 0x00007fff876df613 _DPSNextEvent + 685 13 com.apple.AppKit 0x00007fff876deed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 14 com.apple.AppKit 0x00007fff876d6283 -[NSApplication run] + 517 15 com.sublimetext.2 0x00000001006a43cb main + 2251 16 com.sublimetext.2 0x00000001005b3064 start + 52

I used this package a few days. I'm pleased with the idea of this package.

bernardo-cs commented 10 years ago

I'm having this problem as well..