On Mon, Sep 15, 2014 at 11:20:48AM +0200, Mathias Müller wrote: > However, here is the line: > > g_object_set_data(G_OBJECT(args.detect.selection[0]), "vector-layer", > vector_layer[0]); > > > where: > > args.detect.selection is : GwySelection *selection[2]; > vector_layer[0] is : GwyVectorLayer *vector_layer[3]; > > This line works fine in gwyddion-stable.
For some reason, args.detect.selection[0] does not contain a valid GObject pointer. I can't tell anything more from the information I have. Trying printing it (should look suspiscious), running under valgrind... I don't know where and how you get the selection object. > I let the plugin run with G_DEBUG=fatal-criticals environment, but the > core dump doesn't get more information. It just enforces the core dump. If a core dump is already produced in your environment the variable will not change anything. BTW there seems something strange with recent files. If you keep the file name and just select a different directory, it remembers some rubbish as the file name. Furthermore, it started producing duplicate entries. I'm not sure what has changed. I have to look into it. Yeti ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Gwyddion-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gwyddion-users
