Re: Segfault in tests (was: Goffice documentation)
- From: Jon Nordby <jonn openismus com>
- To: gnumeric-list gnome org
- Subject: Re: Segfault in tests (was: Goffice documentation)
- Date: Tue, 03 Aug 2010 14:10:37 +0200
On Tue, 2010-08-03 at 11:40 +0200, Jean Brefort wrote:
There are two demos in the goffice/tests directory: the minimal
pie-demo.c and the more involved go-demo.c.
Thanks for the quick response, these tests looks like a good start.
However, I'm getting a segfault when running the tests in git master.
After building with ./autogen.sh && make && make check
(lt-pie-demo:26871): GLib-GObject-WARNING **: cannot create instance of
abstract (non-instantiatable) type `GogPlot'
Segmentation fault (core dumped)
And the segfault is from:
96 gog_object_add_by_name (GOG_OBJECT (chart), "Plot",
It seems like the reason is that:
95 pie = (GogPlot *) gog_plot_new_by_name ("GogPiePlot");
is returning NULL, but I do not know why that would happen. The issue is
also present when checking out 0.8.8 and 0.8.0. Any clues?
Full output here: http://pastebin.org/444854
] [Thread Prev