Dear Geany devs,
I've updated my local Geany install to the latest svn version and recompiled the geanyprj plugin. Since I build Geany in a 'odd' target (/usr/local/stow/geany-r3468) I have to re-enable all plugins after an update.
Enabling 'project' and closing the dialog immediately crashed Geany...
I'm not sure how to create a meaningful backtrace...
-H-
geany 0.16 (svn >= r3468) (built on Jan 15 2009 with GTK 2.14.4, GLib 2.18.2) geanyprj-r343
Hi
2009/1/15, Harold Aling geany@sait.nl:
Dear Geany devs,
I've updated my local Geany install to the latest svn version and recompiled the geanyprj plugin. Since I build Geany in a 'odd' target (/usr/local/stow/geany-r3468) I have to re-enable all plugins after an update.
Enabling 'project' and closing the dialog immediately crashed Geany...
I'm not sure how to create a meaningful backtrace...
Confirmed.
Segmentation fault happend because geanyprj can't create private project properties properly. And probably geanyprj should not do it.
Program received signal SIGSEGV, Segmentation fault. 0x08072ae2 in get_default_indent_prefs () at editor.c:830 830 iprefs = app->project ? *app->project->priv->indentation : *editor_prefs.indentation;
I don't know how to fix this crash without deleting build capabilities from geanyprj.
to geany devs:
What about introducing some kind of hook api for main menu items:
something like: /* param: button - ID of item in main menu param: hook_type - type of hook function
HOOK_TYPE_REPLACE - replace default handler with callback function HOOK_TYPE_PUSH_BACK - call callback function after default handler HOOK_TYPE_PUSH_FRONT - call callback handler before default handler
param: callback - callback function to call on menu item active return: id of hook for using in delete_hook function */ gint register_hook(int button, int hook_type, void (callback*)(GtkWidget*, gpointer)); gint delete_hook(int hook_id);
Best regards, Yura Siamashka
On Thu, 15 Jan 2009 13:17:37 +0200, "Yura Siamashka" yurand2@gmail.com wrote:
Hi
2009/1/15, Harold Aling geany@sait.nl:
Dear Geany devs,
I've updated my local Geany install to the latest svn version and recompiled the geanyprj plugin. Since I build Geany in a 'odd' target (/usr/local/stow/geany-r3468) I have to re-enable all plugins after an update.
Enabling 'project' and closing the dialog immediately crashed Geany...
I'm not sure how to create a meaningful backtrace...
Confirmed.
Segmentation fault happend because geanyprj can't create private project properties properly. And probably geanyprj should not do it.
Program received signal SIGSEGV, Segmentation fault. 0x08072ae2 in get_default_indent_prefs () at editor.c:830 830 iprefs = app->project ? *app->project->priv->indentation : *editor_prefs.indentation;
I don't know how to fix this crash without deleting build capabilities from geanyprj.
to geany devs:
What about introducing some kind of hook api for main menu items:
something like: /* param: button - ID of item in main menu param: hook_type - type of hook function
HOOK_TYPE_REPLACE - replace default handler with callback function HOOK_TYPE_PUSH_BACK - call callback function after default handler HOOK_TYPE_PUSH_FRONT - call callback handler before default handler
param: callback - callback function to call on menu item active return: id of hook for using in delete_hook function */ gint register_hook(int button, int hook_type, void (callback*)(GtkWidget*, gpointer)); gint delete_hook(int hook_id);
Best regards, Yura Siamashka
Any news on resolving this issue?
-H-
Hi
2009/1/21, Harold Aling geany@sait.nl:
Any news on resolving this issue?
I purged any interaction with native project from geanyprj. It doesn't crash now, but project build commands don't work. Currently geanyprj have only it's "Go to tag definition/declaration" part.
Best regards, Yura Siamashka
On Wed, 21 Jan 2009 17:27:42 +0200, Yura Siamashka yurand2@gmail.com wrote:
I purged any interaction with native project from geanyprj. It doesn't crash now, but project build commands don't work. Currently geanyprj have only it's "Go to tag definition/declaration" part.
Yura,
Could you please create a bugfix release of 0.4 with this fix?
-H-