sejerpz / vtg

Automatically exported from code.google.com/p/vtg
0 stars 0 forks source link

Crash during a normal completion #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is the backtrace

** (gedit:4540): WARNING **: vscsymbolcompletion.vala:478:
(get_datatype_for_symbol_name): unsupported type ValaNamespace
[Thread 0xaf7fbb90 (LWP 19737) exited]
sys:1: Warning: g_str_has_suffix: assertion `str != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0xb73a1a53 in strchr () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb73a1a53 in strchr () from /lib/i686/cmov/libc.so.6
#1  0xb518ef78 in vsc_symbol_completion_get_qualified_name_for_datatype (self=
    0x830c0c0, dt=0xbb5e580) at vscsymbolcompletion.c:986
#2  0xb51903c1 in vsc_symbol_completion_get_datatype_name_for_name (self=
    0x830c0c0, symbolname=0xb10f710 "t", sourcefile=
    0xc24d4d0 "file:///home/andrea/Desktop/test_a.vala", line=12, column=3, 
    error=0xbfffef98) at vscsymbolcompletion.c:1067
#3  0xb5166fd2 in vtg_symbol_completion_provider_complete (self=0xb2dc0f0, 
    trigger=0xbc7cb68, line=0x8ddde10 "\t\tt", word=0xb10f710 "t", lineno=11, 
    colno=3) at vtgsymbolcompletionprovider.c:1149
#4  0xb51691c8 in vtg_symbol_completion_provider_real_get_proposals (base=
    0xb2dc0f0, trigger=0xbc7cb68) at vtgsymbolcompletionprovider.c:1126
#5  0xb512bfea in gsc_provider_get_proposals ()
   from /usr/lib/libgtksourcecompletion-1.0.so.1
#6  0xb512aecd in gsc_manager_trigger_event_with_opts ()
   from /usr/lib/libgtksourcecompletion-1.0.so.1
#7  0xb516a9e6 in vtg_symbol_completion_trigger_trigger_event (self=0xbc7cb68, 
    trigger_reason=0) at vtgsymbolcompletiontrigger.c:308
#8  0xb516ab89 in
_vtg_symbol_completion_trigger_on_view_key_press_gtk_widget_key_press_event
(_sender=0x84a6e00, event=0xbd57c68, self=0xbc7cb68)
    at vtgsymbolcompletiontrigger.c:212
#9  0xb7b0bf46 in _gtk_marshal_BOOLEAN__BOXED (closure=0xb1aee70, return_value=
    0xbffff290, n_param_values=2, param_values=0xc41cd68, invocation_hint=
---Type <return> to continue, or q <return> to quit---
    0xbffff27c, marshal_data=0xb516ab20)
    at /build/buildd/gtk+2.0-2.14.7/gtk/gtkmarshalers.c:84
#10 0xb754fb4b in IA__g_closure_invoke (closure=0xb1aee70, return_value=
    0xbffff290, n_param_values=2, param_values=0xc41cd68, invocation_hint=
    0xbffff27c) at /build/buildd/glib2.0-2.18.4/gobject/gclosure.c:767
#11 0xb7563efd in signal_emit_unlocked_R (node=0x812eec0, detail=0, instance=
    0x84a6e00, emission_return=0xbffff3c8, instance_and_params=0xc41cd68)
    at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c:3244
#12 0xb756528b in IA__g_signal_emit_valist (instance=0x84a6e00, signal_id=57, 
    detail=0, var_args=0xbffff420 "8ôÿ¿h|Õ\v")
    at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c:2987
#13 0xb7565866 in IA__g_signal_emit (instance=0x84a6e00, signal_id=57, detail=
    0) at /build/buildd/glib2.0-2.18.4/gobject/gsignal.c:3034
#14 0xb7c20fae in gtk_widget_event_internal (widget=0x84a6e00, event=0xbd57c68)
    at /build/buildd/gtk+2.0-2.14.7/gtk/gtkwidget.c:4745
#15 0xb7c34b6f in IA__gtk_window_propagate_key_event (window=0x8136000, event=
    0xbd57c68) at /build/buildd/gtk+2.0-2.14.7/gtk/gtkwindow.c:4969
#16 0x080943c9 in ?? ()
#17 0x08136000 in ?? ()
#18 0x0bd57c68 in ?? ()
#19 0x0812caf0 in ?? ()
#20 0xb7d77ce0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x08094380 in ?? ()
---Type <return> to continue, or q <return> to quit---
#22 0x08136000 in ?? ()
#23 0xbffff4b8 in ?? ()
#24 0xb7b0bf46 in _gtk_marshal_BOOLEAN__BOXED (closure=0x8136000, return_value=
    0xbd57c68, n_param_values=135446664, param_values=0xb7581680, 
    invocation_hint=0x9541b90, marshal_data=0x8136000)
    at /build/buildd/gtk+2.0-2.14.7/gtk/gtkmarshalers.c:84
Backtrace stopped: frame did not save the PC
(gdb) 

Original issue reported on code.google.com by seje...@gmail.com on 1 Feb 2009 at 4:21

GoogleCodeExporter commented 9 years ago
Patch.

Original comment by taktakta...@gmail.com on 3 Feb 2009 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago
2009-02-06  Andrea Del Signore  <sejerpz@tin.it>

    * vsc/vscsymbolcompletion.vala:

    crash during a normal completion. Patch by Levi Bard. Fixed issue #46

        svn rev. 247

Original comment by seje...@gmail.com on 6 Feb 2009 at 8:19

GoogleCodeExporter commented 9 years ago

Original comment by seje...@gmail.com on 21 Feb 2009 at 10:22

GoogleCodeExporter commented 9 years ago

Original comment by seje...@gmail.com on 21 Feb 2009 at 10:24

GoogleCodeExporter commented 9 years ago

Original comment by seje...@gmail.com on 21 Feb 2009 at 10:28