| Description: |
OriginalBugID: 2530 Bug
Version: 8.1.1
SubmitDate: '1999-08-12'
LastModified: '2000-02-09'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
OSVersion: 8.1.1
Machine: X86
FixedDate: '2000-02-09'
FixedInVersion: 8.3
Name:
David Beccue
CustomShell:
none until this patch
Comments:
Please let me know if this patch is good, or if instanceData shouldn't
ever be NULL so there really must be something wrong somewhere else in
my code.
Thanks!
ReproducibleScript:
I'm a newbie at TCL/TK porting a project from Unix to NT. I didn't take
the time to produce a small example, BUT I did trace the problem in the
TK source and patch it effectively.
ObservedBehavior:
crash in TkFrame.c::TkInstallFrameMenu::TkpMenuNotifyToplevelCreate when
framePtr == NULL
DesiredBehavior:
no crash
Patch:
I just added:
if (framePtr)
in front of the call to TkpMenuNotifyToplevelCreate(...) in function TkInstallFrameMenu in TkFrame.c in generic subdirectory
PatchFiles:
TkInstallFrameMenu in TkFrame.c in generic subdirectory
It should never happen that the framePtr is NULL, please check the
C code. A 'panic' was added in 8.3 to help others pinpoint future
problems of the same sort.
-- 02/09/2000 hobbs
|