Re: [anjuta-devel] Help with fixing Anjuta crash



Hi,

Le 29/07/2015 00:36, Harish U a écrit :
The issues noticed:
1. Anjuta does not seem to save preferences when I quit. It asks which
editor to use every time it launches.
2. Anjuta crashes when I try to build a project that was already open by
default when anjuta launches. It does not crash if I open a
project/create new project after launching Anjuta.
The reason for the crash appears to do with the failure to load the
build configurations when Anjuta starts. (Any thread sync issue ?)
3. Also autotools plugin is not enabled by default when Anjuta launches
even if I enable it in the preferences.
4. Strangely everything works fine as expected if I start Anjuta ->
close the project loaded by default -> then re-open the same project
from recent projects menu. If I do this, the build configurations are
loaded as expected(so this workaround fixes the crash issue)

I suspect that while exiting Anjuta settings are not correctly
persisted/saved.

Please let me know if you can think of any reasons as to why I see this
behaviour and how I could fix this.

Is it something similar to this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=740497 ?

I don't get those issues here. If you can, it would be useful to check exactly what's happen with a debugger.

Let's start with the first issue.

1. Create a file foo.txt
2. Open it with Anjuta running 'anjuta -c -n -f foo.txt'
3. Select Edit->Preferences->Preferred plugin, click Forget selected plugin
4. Close Anjuta window

5. Open it with Anjuta running 'anjuta -c -n -f foo.txt'
6. You should have a dialog asking you which editor to use, choose one and check Remember this selection.
7. You should see your file opened
8. Close Anjuta window

9. Open it with Anjuta running 'anjuta -c -n -f foo.txt'
10. You should directory see your file opened with the selected editor
11. In Edit->Preferences->Preferred plugin, you should see it
12. Open dconf-editor
13. The key org.gnome.anjuta.remembered-plugins should be anjuta-editor:EditorPlugin,anjuta-sourceview:SourceviewPlugin,=anjuta-editor:EditorPlugin; if you use Scintilla as default.

Could you do all these steps and check where it fails, I suppose at step 10.


Regards,

Sébastien


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]