Hi Tasos,
> Sorry to post here, but I couldn't find a bugtracker.
No prob, this is the right place to post as we (I) have never gotten
around to setting up a proper bug tracking system.
> tuxmath 1.9.0 segfaults at startup with t4k_common 0.1.1 with the
> following message:
We didn't test t4k_common with tuxmath-1.9.0, only with the current
tuxmath in git (soon to be 2.0.0), but I guess we should have. In
principle, t4k_common-0.1.1 ought to be backwards-compatible, but I
guess it isn't. It is still a bit of a work in progress.
> (process:14945): Pango-WARNING **: Invalid UTF-8 string passed to
> pango_layout_set_text()
> Segmentation fault
> I created (hopefully correct) a stack trace here:
> http://pastebin.com/P77CJd4z
Without going through the code, it looks like it may be a
divide-by-zero error. The t4k_menu system calculates a preferred font
size based on the screen resolution and the length of the strings to
be displayed, so it might not handle an empty string safely. Looks
like something that can be addressed to make it more robust.
Thanks,
David Bruce
|