Iāve found a problem that if in my sublimeclang_options I include a directory with a large number of files (1249 to be exact), sublime crashes with the following error:
https://dl.dropbox.com/u/427616/crash.png
I happen to have VS10 installed, and this is the assertion in question:
_Myiter& operator++()
{ // preincrement
#if _ITERATOR_DEBUG_LEVEL == 2
if (this->_Getcont() == 0
|| this->_Ptr == 0
|| ((_Myvec *)this->_Getcont())->_Mylast <= this->_Ptr)
{ // report error
_DEBUG_ERROR("vector iterator not incrementable");
_SCL_SECURE_OUT_OF_RANGE;
}
The Sublime console shows the following after the crash:
Exception AttributeError: "Cache instance has no attribute 'cache'" in <bound method Cache.__del__ of <translationunitcache.Cache instance at 0x000000000552F808>> ignored
Traceback (most recent call last):
File ".\common.py", line 173, in worker
File ".\translationunitcache.py", line 723, in task_reparse
File ".\translationunitcache.py", line 849, in get_translation_unit
File ".\translationunitcache.py", line 640, in __init__
File ".\translationunitcache.py", line 108, in __init__
WindowsError: [Error -2147483645] One or more arguments are invalid
Sublime itself doesnāt crash until I click āabortā, so Iām actually guessing the assertion is actually in libclang.dll.
This is with ST 2181 (Windows obviously).
Thanks.