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 617734 - Aborts when working on project with JavaScript files
Aborts when working on project with JavaScript files
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: language-support-javascript
2.30.x
Other Linux
: Normal major
: ---
Assigned To: Maxim Ermilov
Depends on:
Blocks:
 
 
Reported: 2010-05-05 09:28 UTC by Milan Bouchet-Valat
Modified: 2010-05-06 12:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Bouchet-Valat 2010-05-05 09:28:30 UTC
I'm using version 2.30.1.0-0ubuntu1.

I've experienced this crash first while importing GNOME Shell sources into a new project, using the Autotools backend. Though, it seems that the project was created correctly. But the crash happened several times while I was working on C files in Anjuta.

Hope the trace isn't too bad, I could not better symbols. Assertion seems to come from :
file=0x808c62f "js_parser/js-context.c", line=288, 
func=0x808c6e4 "js_context_get_node_type", message=0x0)


Ubuntu bug is at https://bugs.launchpad.net/ubuntu/+source/anjuta/+bug/575636


  • #0 __kernel_vsyscall
  • #1 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 *__GI_abort
    at abort.c line 92
  • #3 IA__g_assertion_message
    at /build/buildd/glib2.0-2.24.0/glib/gtestutils.c line 1318
  • #4 js_context_get_node_type
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 parseFile
  • #9 ??
  • #10 ??
  • #11 main

Comment 1 Johannes Schmid 2010-05-06 11:34:16 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

I am going to backport the change into gnome-2-30 branch. The actual problem is that the language-support plugin for javascript is loaded even when editing C files which is wrong and shouldn't happen.
Comment 2 Milan Bouchet-Valat 2010-05-06 12:33:03 UTC
Cool, thanks!