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 740497 - Anjuta version 3.14.0 with Suse-Linux 13.2: Plugin will disabled by auto-start of a project
Anjuta version 3.14.0 with Suse-Linux 13.2: Plugin will disabled by auto-star...
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: project-manager
3.14.x
Other Linux
: Normal major
: ---
Assigned To: Naba Kumar
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-21 14:05 UTC by muitml
Modified: 2016-05-06 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description muitml 2014-11-21 14:05:47 UTC
The plugin 'automake generate' in the menu Edit->Preferences->General->Installed is enabled as standard. But if you start a project as autostart (automatically, after last starting not closed!), this project starts without problems, but disables 'automake generate'! You see it that some menupoints of the menu 'Build (Deutsch:Erstellen)' like 'compile', 'build' or 'project build' are disappeared. If you enable 'automake generate' by menu Edit->Preferences->General->Installed, this menupoints appears, but if you try to compile or start the project (F3) then Anjuta crashes. 
But if you start a project as autostart and closes it, restart this project with Menu 'Data->load' or the button 'Recent projects', then enable 'automake generate' by menu Edit->Preferences->General->Installed, Anjuta runs without problems!
Comment 1 Sébastien Granjoux 2014-11-21 20:53:42 UTC
Thank for your bug report.

I don't really know how to reproduce this bug. How do you autostart Anjuta?

Typically, I launch Anjuta and then open a project, the 'automake build' plugin is loaded with the project and I don't see a crash.
Comment 2 muitml 2014-11-24 20:56:15 UTC
Anjuta version 3.14.0 with Suse-Linux 13.2: Bug 740497
After building, compiling and saving a earlier project I have leave Anjuta without closing the project. If I call Anjuta again after some time for further work, this project will loaded automatically and I am able to continue my work (so in earlier versions of Anjuta). But in this version loads Anjuta my project, but disables 'automake generate' and some menupoints of the menu 'Build (Deutsch:Erstellen)' like 'compile', 'build' or 'project build' are disappeared. Here begin this problems. 
Further, if I build a new project, there is no texteditor for the source code (also disappeared), you can't open any source-data! 
That's specific problems of this version in Suse-Linux 13.2. I did the same tests(!)with Anjuta version 3.10.2 by UBUNTU-Linux 14.04 LTS: Here works Anjuta without problems (also in Suse-Linux 12.3)! 
(By the way, my computer is a x86_64 64-Bit-machine and has a memory of 7,8 GiB with the processor Intel® Core™ i5-2500 CPU @ 3.30GHz × 4; Suse-Linux 13.2 with the last updates.)
Comment 3 Sébastien Granjoux 2014-12-07 14:55:23 UTC
(In reply to comment #2)
> After building, compiling and saving a earlier project I have leave Anjuta
> without closing the project. If I call Anjuta again after some time for further
> work, this project will loaded automatically and I am able to continue my work
> (so in earlier versions of Anjuta). But in this version loads Anjuta my
> project, but disables 'automake generate' and some menupoints of the menu
> 'Build (Deutsch:Erstellen)' like 'compile', 'build' or 'project build' are
> disappeared. Here begin this problems. 
> Further, if I build a new project, there is no texteditor for the source code
> (also disappeared), you can't open any source-data! 

I have installed Suse-Linux 13.2 but I don't get the issue here. All plugins are loaded as expected. I don't know what could be the problem. Are you able to recompile anjuta from the git sources? If yes, I can try to send you some patches to see what's happen.
Comment 4 muitml 2014-12-16 20:05:38 UTC
I have updated the Linux-system 13.2, deinstalled Anjuta, restart
Linux-OP-system, reinstalled Anjuta. But this problem is not resolved, only the problem with the texteditor.
If I call Anjuta with an automatically started project (project after last starting not closed!), I can't start the program (F3), but I see the menupoints of the menu 'Build (Deutsch:Erstellen)' like 'compile','build' or 'project build'. Trying to compile Anjuta crashes. 
Here I must first close the project and then Anjuta, starting Anjuta and load the project manually. Then I am able for working without problems.
Comment 5 Sébastien Granjoux 2014-12-16 20:26:14 UTC
(In reply to comment #4)
> If I call Anjuta with an automatically started project (project after last
> starting not closed!), I can't start the program (F3), but I see the menupoints
> of the menu 'Build (Deutsch:Erstellen)' like 'compile','build' or 'project
> build'. Trying to compile Anjuta crashes. 

Well, I imagine it could depends on the plugin loading order. Normally there are dependencies between them but perhaps there is a bug here.

I think the best option would be to compile Anjuta from source. On Open SUSE 13.2 you can get all dependencies from the repository. Anyway, if I find a fix, it will be useful to check it.

Else, you can try to get the debugging package and attach a stack trace when it crashes: https://wiki.gnome.org/action/show/Community/GettingInTouch/Bugzilla/GettingTraces

You can try anjuta from a terminal too and attach the output, there are perhaps some useful errors or warnings.
Comment 6 muitml 2014-12-18 21:42:23 UTC
Starting Anjuta with terminal:
Starting as root by user@host: /usr/bin> ./anjuta:

1. Opening Anjuta, then opening a choosed project:

(anjuta:2328): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2328): dconf-WARNING **: failed to commit changes to dconf: Verbindung ist geschlossen

(anjuta:2328): GLib-GObject-WARNING **: The property GtkMisc:xpad is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2328): GLib-GObject-WARNING **: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2328): GLib-GObject-WARNING **: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2328): GLib-GObject-WARNING **: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.

################################################################################
2. Opening Anjuta with automatically loaded project (which was by previously start not closed), started as root by user@host: /usr/bin> ./anjuta
! Here runs Anjuta astonishing without the described problems! 

(anjuta:3493): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): dconf-WARNING **: failed to commit changes to dconf: Verbindung ist geschlossen

(anjuta:3493): GLib-GObject-WARNING **: The property GtkMisc:xpad is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): dconf-WARNING **: failed to commit changes to dconf: Verbindung ist geschlossen

(anjuta:3493): dconf-WARNING **: failed to commit changes to dconf: Verbindung ist geschlossen

(anjuta:3493): GLib-GObject-CRITICAL **: g_value_copy: assertion 'g_value_type_compatible (G_VALUE_TYPE (src_value), G_VALUE_TYPE (dest_value))' failed

(anjuta:3493): GLib-GObject-WARNING **: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkAlignment:yalign is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): dconf-WARNING **: failed to commit changes to dconf: Verbindung ist geschlossen
Error creating proxy: Verbindung ist geschlossen (g-io-error-quark, 18)
Error creating proxy: Verbindung ist geschlossen (g-io-error-quark, 18)
Error creating proxy: Verbindung ist geschlossen (g-io-error-quark, 18)
Error creating proxy: Verbindung ist geschlossen (g-io-error-quark, 18)
Error creating proxy: Verbindung ist geschlossen (g-io-error-quark, 18)

(anjuta:3493): GLib-GObject-WARNING **: The property GtkAlignment:top-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkEntry:primary-icon-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): GLib-GObject-WARNING **: The property GtkColorButton:color is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:3493): dconf-WARNING **: failed to commit changes to dconf: Verbindung ist geschlossen

(anjuta:3493): libanjuta-WARNING **: pkg-config --list-all exit with error code 256

(anjuta:3493): GLib-CRITICAL **: Source ID 652 was not found when attempting to remove it

(anjuta:3493): dconf-WARNING **: failed to commit changes to dconf: Verbindung ist geschlossen
-----------------------------------------------------------------------------------
2.a Another test, started not as root by user@host: /usr/bin> ./anjuta:

(anjuta:2545): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2545): GLib-GObject-WARNING **: The property GtkMisc:xpad is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2545): GLib-GObject-WARNING **: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2545): GLib-GObject-WARNING **: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2545): GLib-GObject-WARNING **: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2545): GLib-GObject-WARNING **: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2545): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.

(anjuta:2545): GLib-GObject-CRITICAL **: g_value_copy: assertion 'g_value_type_compatible (G_VALUE_TYPE (src_value), G_VALUE_TYPE (dest_value))' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_get_child: assertion 'G_IS_FILE (file)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_query_exists: assertion 'G_IS_FILE(file)' failed

(anjuta:2545): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_get_child: assertion 'G_IS_FILE (file)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_query_exists: assertion 'G_IS_FILE(file)' failed

(anjuta:2545): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_get_child: assertion 'G_IS_FILE (file)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_query_exists: assertion 'G_IS_FILE(file)' failed

(anjuta:2545): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_has_prefix: assertion 'G_IS_FILE (file)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_equal: assertion 'G_IS_FILE (file1)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_get_child: assertion 'G_IS_FILE (file)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_query_exists: assertion 'G_IS_FILE(file)' failed

(anjuta:2545): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_get_child: assertion 'G_IS_FILE (file)' failed

(anjuta:2545): GLib-GIO-CRITICAL **: g_file_query_exists: assertion 'G_IS_FILE(file)' failed

(anjuta:2545): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Speicherzugriffsfehler
(memory error)
Comment 7 Sébastien Granjoux 2014-12-21 08:51:54 UTC
There is obviously something wrong but I don't know what. The depreciation warnings are expected.

Could you install the debug package for anjuta or better recompile anjuta from source with the debug information and attach a stack trace.
Comment 8 muitml 2014-12-22 15:53:24 UTC
Sometimes a computer is an enigma! 
In the terminal start of anjuta I see some alerts from GTK+, that something is deprecated. I have done some experiences with those alerts, first by GTK+. After updating those deprecated functions I experienced some wonder, and all runs without problems! I recommend to update this deprecated functions and commands at first, then we see further.
Comment 9 Sébastien Granjoux 2014-12-22 18:21:25 UTC
(In reply to comment #8)
> In the terminal start of anjuta I see some alerts from GTK+, that something is
> deprecated. I have done some experiences with those alerts, first by GTK+.
> After updating those deprecated functions I experienced some wonder, and all
> runs without problems! I recommend to update this deprecated functions and
> commands at first, then we see further.

I don't think it will solve the issue.

Moreover some of these deprecations will take a long time to fix because some of them don't have any replacement and it involves some important part of Anjuta (GtkUIManager in particular).
Comment 10 Sébastien Granjoux 2014-12-28 21:00:11 UTC
(In reply to comment #8)
> After updating those deprecated functions I experienced some wonder, and all
> runs without problems! I recommend to update this deprecated functions and
> commands at first, then we see further.

Which editor are you using? Scintilla or GtkSourceView? Here, it seems that quite several warnings are coming from Scintilla. If you use it could you try to use GtkSourceView?
Comment 11 muitml 2014-12-28 22:07:39 UTC
I use GtkSourceView!
Comment 12 muitml 2016-05-06 13:12:26 UTC
With openSUSE Leap 42.1 Anjuta runs without problems!