Hi guys!
I made a syntax definition for a relatively unknown language (GDL).
You can find it here on github.
Since I made the definition more complex Sublime Text became unstable. First ST2 wouldn’t show text anymore until one pressed the space key. And later ST2 will just crash when selecting GDL as language and typing in something. ST3 works better and without crash on Windows. But on Mac it sill crashes.
Some of my users send me this crash log:
[code]Process: Sublime Text [19020]
Path: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
Identifier: com.sublimetext.3
Version: Build 3075 (3075)
Code Type: X86-64 (Native)
Parent Process: launchd [158]
User ID: 501
Date/Time: 2015-03-10 13:24:59.073 +0100
OS Version: Mac OS X 10.8.5 (12F45)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
terminate called throwing an exception
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8c3f9212 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff88dcab24 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff88e0ef61 abort + 143
3 libc++abi.dylib 0x00007fff8bf349eb abort_message + 257
4 libc++abi.dylib 0x00007fff8bf3239a default_terminate() + 28
5 libobjc.A.dylib 0x00007fff917f0887 _objc_terminate() + 111
6 libc++abi.dylib 0x00007fff8bf323c9 safe_handler_caller(void (*)()) + 8
7 libc++abi.dylib 0x00007fff8bf32424 std::terminate() + 16
8 libc++abi.dylib 0x00007fff8bf3361b __cxa_rethrow + 85
9 libobjc.A.dylib 0x00007fff917f0575 objc_exception_rethrow + 40
10 com.apple.CoreFoundation 0x00007fff91bf1146 CFRunLoopRunSpecific + 390
11 com.apple.HIToolbox 0x00007fff86d2feb4 RunCurrentEventLoopInMode + 209
12 com.apple.HIToolbox 0x00007fff86d2fc52 ReceiveNextEventCommon + 356
13 com.apple.HIToolbox 0x00007fff86d2fae3 BlockUntilNextEventMatchingListInMode + 62
14 com.apple.AppKit 0x00007fff8f622533 _DPSNextEvent + 685
15 com.apple.AppKit 0x00007fff8f621df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
16 com.apple.AppKit 0x00007fff8f6191a3 -[NSApplication run] + 517
17 com.sublimetext.3 0x000000010cc0132d px_run_event_loop() + 182
18 com.sublimetext.3 0x000000010c9cec4d main + 3105
19 com.sublimetext.3 0x000000010c9ce024 start + 52[/code]
Long post, short question:
• Is it my fault? or
• It is a Sublime Text bug.
If it is a bug by me, I would appreciate ANY help to solve it, even if it will just work under ST3 but for both systems.
Thank you in advance!