After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656216 - Anjuta crashes each time I save any .vala file
Anjuta crashes each time I save any .vala file
Status: RESOLVED DUPLICATE of bug 638525
Product: anjuta
Classification: Applications
Component: plugins: language-support-vala
3.0.x
Other Linux
: Normal blocker
: ---
Assigned To: Abderrahim Kitouni
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-09 13:07 UTC by Philip Van Hoof
Modified: 2011-12-07 21:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Van Hoof 2011-08-09 13:07:45 UTC
Whenever I save a .vala file, Anjuta crashes. This is today's Debian testing release, 3.0.3.0.

This is making Anjuta unusable for many projects in GNOME, since many have started using Vala.


0xb77ca822 in ?? () from /lib/ld-linux.so.2
(gdb) cont
Continuing.
[New Thread 0xb23f6b70 (LWP 31858)]
[New Thread 0xac474b70 (LWP 31862)]
[Thread 0xac474b70 (LWP 31862) exited]
[New Thread 0xac474b70 (LWP 31864)]
[New Thread 0xab4eeb70 (LWP 31865)]
[New Thread 0xa7efdb70 (LWP 31866)]
[Thread 0xab4eeb70 (LWP 31865) exited]

Program received signal SIGSEGV, Segmentation fault.

Thread 2890353520 (LWP 31864)

  • #0 vala_data_type_compatible
    from /usr/lib/libvala-0.12.so.0
  • #1 ??
    from /usr/lib/libvala-0.12.so.0
  • #2 vala_code_node_check
    from /usr/lib/libvala-0.12.so.0
  • #3 vala_source_file_check
    from /usr/lib/libvala-0.12.so.0
  • #4 ??
    from /usr/lib/libvala-0.12.so.0
  • #5 vala_code_visitor_visit_source_file
    from /usr/lib/libvala-0.12.so.0
  • #6 vala_source_file_accept
    from /usr/lib/libvala-0.12.so.0
  • #7 vala_code_context_accept
    from /usr/lib/libvala-0.12.so.0
  • #8 vala_semantic_analyzer_analyze
    from /usr/lib/libvala-0.12.so.0
  • #9 vala_code_context_check
    from /usr/lib/libvala-0.12.so.0
  • #10 ??
    from /usr/lib/anjuta/libanjuta-language-vala.so
  • #11 g_thread_create_proxy
    at gthread.c line 1897
  • #12 start_thread
    at pthread_create.c line 304
  • #13 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Comment 1 Philip Van Hoof 2011-08-09 13:10:59 UTC
Temporary fix, but I think that the plugin should probably just be fixed, of course:

# mv /usr/lib/anjuta/anjuta-vala.plugin /root/
# mv /usr/lib/anjuta/libanjuta-language-vala.so /root/
#
Comment 2 Philip Van Hoof 2011-08-09 13:12:46 UTC
Oh Juerg (I know you'll be reading this bug too ;), hehe) the .vala file that I had open was our very own tracker-sparql-query.vala, I changed any line and used ctrl+c in Anjuta 3.0.3.0 (Debian testing).


pvanhoof@lors:~/repos/gnome/tracker/master$ dpkg -s libvala0
Package: libvala0
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 2452
Maintainer: Maintainers of Vala packages <pkg-vala-maintainers@lists.alioth.debian.org>
Architecture: i386
Source: vala
Version: 0.8.1-2
Depends: libc6 (>= 2.3.6-6~), libglib2.0-0 (>= 2.24.0)
Description: C# like language for the GObject system - library
 Vala is a new programming language that aims to bring modern programming
 language features to GNOME developers without imposing any additional
 runtime requirements and without using a different ABI compared to
 applications and libraries written in C.
 .
 This library contains the parser used by valac. It can be used for
 building tools arround Vala.
Homepage: http://live.gnome.org/Vala/
pvanhoof@lors:~/repos/gnome/tracker/master$
Comment 3 Philip Van Hoof 2011-08-09 13:13:48 UTC
ps. I'd be ok with reassigning this to the Vala project. I'll first let it pass through the hands of the Anjuta team for first-line investigation.
Comment 4 Fabio Durán Verdugo 2011-08-09 18:55:58 UTC
I think: could be related with bug 651151 ?
Comment 5 Philip Van Hoof 2011-08-09 19:57:05 UTC
Very possible, same end function (vala_data_type_compatible). If it's unclear and hard to reproduce I could try installing the dbg packages and get the line number. Let me know if that's necessary.
Comment 6 Johannes Schmid 2011-08-09 23:13:26 UTC
Philip, can you check if this is fixed with vala master (see bug 655726). Thanks!
Comment 7 Philip Van Hoof 2011-08-10 08:09:31 UTC
Meh, I'm going to wait for new packages in Debian testing. Is that OK too? I'm fine with keeping the bug open for now. With the plugin manually removed, and I don't really need the language support for now, I can deal with the problem for the time being.

Let me know at which point, which version (of libvala or anjuta), the bug is supposed to be fixed.

Btw. feel free to mark this as a duplicate of Bug 655736
Comment 8 Abderrahim Kitouni 2011-08-20 12:10:05 UTC
FWIW, I've also attached a patch to bug 638525. Your crash may also be related.
Comment 9 Fabio Durán Verdugo 2011-10-05 03:21:22 UTC
any news for this report?
Comment 10 Fabio Durán Verdugo 2011-12-07 21:27:38 UTC
as per comment 7 mark  as duplicate

*** This bug has been marked as a duplicate of bug 638525 ***