GNOME Bugzilla – Bug 638525
vala support crash on reading source file
Last modified: 2011-12-07 21:27:38 UTC
Created attachment 177361 [details] Minimal project to crash anjuta If this is the only project opened by anjuta, it crashes as soon as I open a source file. If there's another project open that uses the vala support, it doesn't crash but it also doesn't open a new window. Backtrace: [Switching to Thread 0x7fffe5f81700 (LWP 13127)] vala_code_node_check (self=0x0, context=0xcf6150) at valacodenode.c:415 415 return VALA_CODE_NODE_GET_CLASS (self)->check (self, context); (gdb) t a a bt
+ Trace 225371
Thread 1 (Thread 0x7ffff7fbf8e0 (LWP 13118))
Thread 1 (Thread 0x7ffff7fbf8e0 (LWP 13133))
Hm, somehow the second backtrace was lost: ** CRITICAL **: vala_boolean_type_construct: assertion `type_symbol != NULL' failed aborting... Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 0x7fffe61fc700 (LWP 13142)] g_logv (log_domain=<value optimised out>, log_level=<value optimised out>, format=<value optimised out>, args1=0x7fffe61fbb00) at gmessages.c:563 563 g_private_set (g_log_depth, GUINT_TO_POINTER (depth)); (gdb) t a a bt
+ Trace 225372
Unfortunately, I cannot reproduce this crash. Can you try again with anjuta master? I have just pushed a refactoring of the plugin, and I see a similar crash to what you described on IRC (but not with your minimal project, only with bigger ones). If you can reproduce with master, I'd like to see a backtrace and the output of anjuta when run with the environment variable ANJUTA_LOG_DOMAINS set to language-support-vala
No, I cannot reproduce this crash with master.
Created attachment 194285 [details] [review] language-support-vala: correctly track whether there are errors This fixes the most common crash I was experiencing Could you try with this patch? you'll need vala master
Review of attachment 194285 [details] [review]: FYI, I pushed this change in (since vala 0.13.3 was released), so you can try directly with master (or with the next anjuta tarball)
Sorry, I was on vacation. Will check later today.
looks fine here. Hasn't crashed in a while
Ok, thanks. I'm closing this then.
*** Bug 656216 has been marked as a duplicate of this bug. ***