Hey guys, i'm running a late geany build from svn, exactly it is rev 2787. Today i compiled some plugins for geany from the geany-plugins repo, rev 127. Now trying to start geany segfaults with the attached output.
Regards, Dominic
On Fri, 18 Jul 2008 22:38:57 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
Hey guys, i'm running a late geany build from svn, exactly it is rev 2787. Today i compiled some plugins for geany from the geany-plugins repo, rev 127. Now trying to start geany segfaults with the attached output.
Just to check, did you install geanylua with 'make install'? (If there's a mismatch between geanylua.so and geanylua/libgeanylua.so, that will cause segfaults).
I've tested geanylua with the example scripts, which seem to work for me OK.
Can you get some backtraces with gdb please - try: gdb `which geany` run --g-fatal-warnings
This should stop when you get the GLib-GObject-WARNING. Then type 'bt'.
This should help diagnose the problem.
Regards, Nick
On Sat, 19 Jul 2008 12:57:06 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Fri, 18 Jul 2008 22:38:57 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
Hey guys, i'm running a late geany build from svn, exactly it is rev 2787. Today i compiled some plugins for geany from the geany-plugins repo, rev 127. Now trying to start geany segfaults with the attached output.
Just to check, did you install geanylua with 'make install'? (If there's a mismatch between geanylua.so and geanylua/libgeanylua.so, that will cause segfaults).
I've tested geanylua with the example scripts, which seem to work for me OK.
The problem is the wscript which builds all source files of geanylua into one geanylua.so. Sorry for this, it's my bad. When adding geanylua to the Waf build system I just didn't remember it builds an extra library. I'll fix this tomorrow.
But I'm wondering if the default path of this support library is a good choice: /usr/local/share/geany/plugins/geanylua/libgeanylua.so
IMO this violates the FHS, binary files (.so) should not go into data dir ($prefix/share). Instead, I think something like $prefix/lib/geany/geanylua/libgeany.so would fit better or directly in Geany's libdir, $prefix/lib/geany/ which would make installation/uninstallation easier as not another directory has to been added/removed.
What do you think?
Regards, Enrico
On Sat, 19 Jul 2008 14:54:50 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Sat, 19 Jul 2008 12:57:06 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Fri, 18 Jul 2008 22:38:57 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
Hey guys, i'm running a late geany build from svn, exactly it is rev 2787. Today i compiled some plugins for geany from the geany-plugins repo, rev 127. Now trying to start geany segfaults with the attached output.
Just to check, did you install geanylua with 'make install'? (If there's a mismatch between geanylua.so and geanylua/libgeanylua.so, that will cause segfaults).
I've tested geanylua with the example scripts, which seem to work for me OK.
The problem is the wscript which builds all source files of geanylua into one geanylua.so. Sorry for this, it's my bad. When adding
Should be fixed in r128, sorry again.
Regards, Enrico
Am Sonntag, den 20.07.2008, 19:38 +0200 schrieb Enrico Tröger:
On Sat, 19 Jul 2008 14:54:50 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Sat, 19 Jul 2008 12:57:06 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Fri, 18 Jul 2008 22:38:57 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
Hey guys, i'm running a late geany build from svn, exactly it is rev 2787. Today i compiled some plugins for geany from the geany-plugins repo, rev 127. Now trying to start geany segfaults with the attached output.
Just to check, did you install geanylua with 'make install'? (If there's a mismatch between geanylua.so and geanylua/libgeanylua.so, that will cause segfaults).
I've tested geanylua with the example scripts, which seem to work for me OK.
The problem is the wscript which builds all source files of geanylua into one geanylua.so. Sorry for this, it's my bad. When adding
Should be fixed in r128, sorry again.
This bug ist fixed, yes, i tried and geany now starts again. Unforunately there are some other problems now, when ticking the checkbox for geanylua in the plugin-dialog. See the attached textfile for that.
Regards, Enrico
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Regards,
Am Sonntag, den 20.07.2008, 19:38 +0200 schrieb Enrico Tröger:
On Sat, 19 Jul 2008 14:54:50 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Sat, 19 Jul 2008 12:57:06 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Fri, 18 Jul 2008 22:38:57 +0200 Dominic Hopf dmaphy@googlemail.com wrote:
Hey guys, i'm running a late geany build from svn, exactly it is rev 2787. Today i compiled some plugins for geany from the geany-plugins repo, rev 127. Now trying to start geany segfaults with the attached output.
Just to check, did you install geanylua with 'make install'? (If there's a mismatch between geanylua.so and geanylua/libgeanylua.so, that will cause segfaults).
I've tested geanylua with the example scripts, which seem to work for me OK.
The problem is the wscript which builds all source files of geanylua into one geanylua.so. Sorry for this, it's my bad. When adding
Should be fixed in r128, sorry again.
I have to correct my previous statement. This works very fine here now. The reason for the crash by ticking the checkbox was, that i forgot to copy the libgeanylua.so-file to ~/.geany/plugins/geanylua/. Sorry for this inconvinience.
Regards, Enrico
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Regards,
On Sat, 19 Jul 2008 14:54:50 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
But I'm wondering if the default path of this support library is a good choice: /usr/local/share/geany/plugins/geanylua/libgeanylua.so
IMO this violates the FHS, binary files (.so) should not go into data dir ($prefix/share). Instead, I think something like $prefix/lib/geany/geanylua/libgeany.so would fit better or directly in Geany's libdir, $prefix/lib/geany/ which would make installation/uninstallation easier as not another directory has to been added/removed.
Yes, I think this would be better.
Maybe all plugins should go in $prefix/lib/geany/plugins in case sometime we want to make a shared library for Geany for plugins to link to - currently it would be assumed to be a plugin.
Regards, Nick
On Mon, 21 Jul 2008 13:04:53 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Sat, 19 Jul 2008 14:54:50 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
But I'm wondering if the default path of this support library is a good choice: /usr/local/share/geany/plugins/geanylua/libgeanylua.so
IMO this violates the FHS, binary files (.so) should not go into data dir ($prefix/share). Instead, I think something like $prefix/lib/geany/geanylua/libgeany.so would fit better or directly in Geany's libdir, $prefix/lib/geany/ which would make installation/uninstallation easier as not another directory has to been added/removed.
Yes, I think this would be better.
Maybe all plugins should go in $prefix/lib/geany/plugins in case sometime we want to make a shared library for Geany for plugins to link to - currently it would be assumed to be a plugin.
Even if this would be the case (libgeany.so), I think it would be still fine to have them all in $prefix/lib/geany. Unless we would end up with an empty $prefix/lib/geany and $prefix/lib/geany/plugin_foo*.so files. Nothing bad in general but one more directory level to take care of.
Regards, Enrico