segfaults in gnc-html-guppi.c
Christian Stimming
stimming@tuhh.de
Tue, 28 Aug 2001 09:35:44 +0200
-----BEGIN PGP SIGNED MESSAGE-----
On Monday 27 August 2001 09:19 am, Dave Peticolas wrote:
> On Fri, 2001-08-24 at 16:20, Christian Stimming wrote:
> > I was debugging the [xy]-axis labels of the Guppi barcharts. While I
> > tried those, I encountered mysterious segfaults caused from
> > gnc-html-guppi.c. Those seemed to appear after too many subsequent calls
> > to g_hash_table_lookup with negative result. GDB said this:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > #0 0x400eb10b in g_hash_table_lookup () from /usr/lib/libglib-1.2.so.0
> > #1 0x80d21b7 in gnc_html_embedded_barchart (parent=0x1, w=400, h=400,
> > params=0x4) at gnc-html-guppi.c:784
>
> I don't have the latest guppi, but I notice that the html-barchart.scm
> doesn't seem to set the normalize_stacks argument. Could that be the
> source of the problem?
I don't think so. If I comment out exactly the "normalize_stacks" argument, I
get the same segfault. Only the above line number has changed to 798 which is
just the next call of g_hash_table_lookup.
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iQCVAwUBO4tJ0WXAi+BfhivFAQEwqgP/U+AxkxDurooaJELCjlMoy7uyDCryMIVB
Dr66FeV1oYgGS9KGbpKcZpzb9eDy7KQ0+3fxB6q9Q3CVFfLe+Zsy6HSwTBmeWg9y
GALZAhyNDynh1MkUyt87nIbZ7Qp6Uj3GfRL66gOZFSpILFlh+KcIizdQRBIkbHKs
BvoTsK/QJrw=
=JZy6
-----END PGP SIGNATURE-----