sejerpz / vtg

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

Vtg 0.12.0 crashes #175

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Fedora 15 64bits with gedit 3.0.2 and vtg 0.12.0
Load the plugin and start writing a class

(gdb) thread apply all bt

Thread 4 (Thread 0x7fffeb5f6700 (LWP 13043)):
#0  0x0000003914ed7293 in poll () from /lib64/libc.so.6
#1  0x0000003916e42d24 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003916e4360d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00007fffeb5fbb6b in ?? () from /usr/lib64/gio/modules/libdconfsettings.so
#4  0x0000003916e683a6 in ?? () from /lib64/libglib-2.0.so.0
#5  0x0000003915207af1 in start_thread () from /lib64/libpthread.so.0
#6  0x0000003914edfb7d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fffebfff700 (LWP 13042)):
#0  0x0000003914ed7293 in poll () from /lib64/libc.so.6
#1  0x0000003916e42d24 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003916e4360d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00000039182b4564 in ?? () from /lib64/libgio-2.0.so.0
#4  0x0000003916e683a6 in ?? () from /lib64/libglib-2.0.so.0
#5  0x0000003915207af1 in start_thread () from /lib64/libpthread.so.0
#6  0x0000003914edfb7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7fcc9a0 (LWP 13038)):
#0  0x00007fffea33e130 in vala_collection_get_size () from 
/usr/lib64/libvala-0.12.so.0
#1  0x00007fffea61e015 in afrodite_code_dom_remove_source (self=Traceback (most 
recent call last):
  File "/usr/share/glib-2.0/gdb/gobject.py", line 72, in to_string
    name = g_type_name_from_instance (self.val)
  File "/usr/share/glib-2.0/gdb/gobject.py", line 59, in g_type_name_from_instance
    name = g_type_to_name (gtype)
  File "/usr/share/glib-2.0/gdb/gobject.py", line 24, in g_type_to_name
    typenode = lookup_fundamental_type (typenode)
  File "/usr/share/glib-2.0/gdb/gobject.py", line 14, in lookup_fundamental_type
    val = read_global_var ("static_fundamental_type_nodes")
  File "/usr/share/glib-2.0/gdb/gobject.py", line 8, in read_global_var
    return gdb.selected_frame().read_var(symname)
ValueError: Variable 'static_fundamental_type_nodes' not found.

, source=Traceback (most recent call last):
  File "/usr/share/glib-2.0/gdb/gobject.py", line 72, in to_string
    name = g_type_name_from_instance (self.val)
  File "/usr/share/glib-2.0/gdb/gobject.py", line 59, in g_type_name_from_instance
    name = g_type_to_name (gtype)
  File "/usr/share/glib-2.0/gdb/gobject.py", line 24, in g_type_to_name
    typenode = lookup_fundamental_type (typenode)
  File "/usr/share/glib-2.0/gdb/gobject.py", line 14, in lookup_fundamental_type
    val = read_global_var ("static_fundamental_type_nodes")
  File "/usr/share/glib-2.0/gdb/gobject.py", line 8, in read_global_var
    return gdb.selected_frame().read_var(symname)
ValueError: Variable 'static_fundamental_type_nodes' not found.

) at codedom.c:692
#2  0x00007fffea622f50 in afrodite_completion_engine_remove_source_filename 
(self=0x1179640, source_path=
    0x7fffecc20f50 "/home/metalgod/Projects/testing.vala") at completionengine.c:755
#3  0x00007fffea623121 in afrodite_completion_engine_merge_vala_source_co 
(data=0x1dba800) at completionengine.c:1255
#4  0x00007fffea62324f in 
afrodite_completion_engine_perform_merge_and_resolve_co (data=0x7fffec0c3f40) 
at completionengine.c:1184
#5  0x00007fffea6236cc in afrodite_completion_engine_merge_and_resolve_co 
(data=0x7fffd44f4dc0) at completionengine.c:1100
#6  0x00007fffea62382d in afrodite_completion_engine_on_parse_results 
(self=0x1179640) at completionengine.c:985
#7  _afrodite_completion_engine_on_parse_results_gsource_func (self=0x1179640) 
at completionengine.c:812
#8  0x0000003916e4410b in ?? () from /lib64/libglib-2.0.so.0
#9  0x0000003916e427ed in g_main_context_dispatch () from 
/lib64/libglib-2.0.so.0
#10 0x0000003916e42fc8 in ?? () from /lib64/libglib-2.0.so.0
#11 0x0000003916e4360d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#12 0x0000003a3614736d in gtk_main () from /usr/lib64/libgtk-3.so.0
---Type <return> to continue, or q <return> to quit---
#13 0x0000000000427f8a in main ()

Original issue reported on code.google.com by lmedi...@gmail.com on 2 Aug 2011 at 7:39

GoogleCodeExporter commented 9 years ago
vtg 0.12.0 compiled from source ./configure --prefix=/usr --libdir=/usr/lib64 
--with-systemlibs

Original comment by lmedi...@gmail.com on 2 Aug 2011 at 7:41

GoogleCodeExporter commented 9 years ago
Can you confirm that your testing file is empty (or has a syntax error that 
make the parser fail)?

I just fixed in branch 0.12 and backported to master if you want to verify.

Original comment by seje...@gmail.com on 3 Aug 2011 at 7:30

GoogleCodeExporter commented 9 years ago
Yes the source file was empty... i'll test from 0.12 branch and i'll give you a 
report soon. 
Thanks

Original comment by lmedi...@gmail.com on 3 Aug 2011 at 8:44

GoogleCodeExporter commented 9 years ago
It's fixed in the 0.12 branch.

Thanks :)

Original comment by lmedi...@gmail.com on 3 Aug 2011 at 10:04