I’m guessing this is the correct place to put this as I can’t find a bug tracker…
anyway ST2 crashes when I press ctrl+space for completion in a golang file.
context: i started to write a plugin for the Go package, all that’s in there is:
[code]import sublime
import sublime_plugin
class GocodeComplete(sublime_plugin.EventListener):
def on_query_completions(self, view, prefix, locations):
return ]
[/code]
I wouldn’t expect the empty list to be the cause because if I do the same in the SublimeCodeIntel plugin it works fine without crashing
backtrace:
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x00ca1e71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x00ca534e in abort () at abort.c:92
#3 0x00cd8577 in __libc_message (do_abort=2,
fmt=0xdb18ac "*** glibc detected *** %s: %s: 0x%s ***\n")
at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#4 0x00ce2961 in malloc_printerr (action=<value optimised out>,
str=<value optimised out>, ptr=0xb52107f8) at malloc.c:6283
#5 0x00ce599c in _int_malloc (av=0xb5200010, bytes=480) at malloc.c:4636
#6 0x00ce6f53 in __libc_malloc (bytes=480) at malloc.c:3660
#7 0x00c1c679 in operator new(unsigned int) ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8 0x084ac53c in std::_Deque_base<cairo_base_render_context::state, std::allocator<cairo_base_render_context::state> >::_M_initialize_map(unsigned int) ()
#9 0x084a3d65 in on_expose_event(_GtkWidget*, _GdkEventExpose*, void*) ()
#10 0x00264a04 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x008ea372 in g_closure_invoke ()
from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#12 0x008fd048 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#13 0x009058d7 in g_signal_emit_valist ()
from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#14 0x00905cc2 in g_signal_emit ()
from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#15 0x00399836 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00263192 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00543a78 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#18 0x00576184 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#19 0x0053e98c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#20 0x00540937 in gdk_window_process_all_updates ()
from /usr/lib/libgdk-x11-2.0.so.0
#21 0x005409bb in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#22 0x0051ce48 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x00973311 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0x00977aa8 in g_main_context_dispatch ()
from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0x00978270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x0097892b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x00261c39 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x084a340e in px_run_event_loop() ()
#29 0x08371c97 in main ()
EDIT: … restarted it and it suddenly started working. If I return result then it appears in the list. but it then goes on to crash later