Menu

#1202 remove panic on unfreed fonts

obsolete: 8.4a5
closed-fixed
7
2002-06-22
2002-06-13
Don Porter
No

Line 439 of Revision 1.13 of generic/tkFont.c is a
panic() when the font subsystem is finalizing, yet
there are unfreed fonts.

Unfortunately, we know that some Tk widgets, notably
[text] and [canvas], do not always free the fonts they
are using. This panic() has been helpful in uncovering
those bugs, but it is not a good thing to expose to
end users. We should either remove it, or perhaps
disable it unless a debugging version of Tk is compiled.

See also Tk Bugs 559450 and 458309.

Discussion

  • Don Porter

    Don Porter - 2002-06-21

    Logged In: YES
    user_id=80530

    increasing priority, but not to 9. This issue is not
    critical for
    the beta release, but I believe it is for 8.4.0.

     
  • Don Porter

    Don Porter - 2002-06-21
    • priority: 5 --> 7
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-06-22
    • status: open --> closed-fixed
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-06-22

    Logged In: YES
    user_id=72656

    changed to an assert and wrapped panic in #ifdef PURIFY for
    8.4b1.