Hi John On 2014-12-08 15:08, John Coppens <john jcoppens com> wrote:
I'd extract a minimal program from the example, and always had a Segmentation fault. After experimenting a lot, I copied the exact code into geany and got the same segfault: $ /bin/sh ./geany_run_script.sh ./geany_run_script.sh: line 5: 16418 Segmentation fault python "gio_menu_0.py" Geany removes the script after a run, so I ran the code from a terminal: $ python gio_menu_0.py Segmentation fault … Python is 2.7.6, glib 2.40, introspection 1.40
I am using a more recent version of glib, Python, gobject-introspection and (probably) gtk+, and I do not get a segfault, so this seems to be a problem local to your configuration. You should try upgrading to the latest versions of all those packages, and see if that fixes the problem. Failing that, you could try a newer version of your distribution (or installing more recent versions in jhbuild, or a similar system) or try to figure out the problem from the stack trace, and make sure that any relevant fixes are applied to the packages in your distribution.
Good luck! -- http://amigadave.com/
Attachment:
signature.asc
Description: Digital signature