| Ticket UUID: | 476176 | |||
| Title: | wish core dump with frame -container on | |||
| Type: | Bug | Version: | None | |
| Submitter: | patthoyts | Created on: | 2001-10-29 22:49:21 | |
| Subsystem: | 68. Win Window Operations | Assigned To: | davygrvy | |
| Priority: | 4 | Severity: | ||
| Status: | Closed | Last Modified: | 2002-12-24 03:43:45 | |
| Resolution: | Fixed | Closed By: | davygrvy | |
| Closed on: | 2002-12-23 20:43:45 | |||
| Description: |
From: David Gravereaux <[email protected]> Newsgroups: comp.lang.tcl Subject: Re: wish core dump with frame -container on NT [email protected] (Pat Thoyts) wrote: >Ralf Fassel <[email protected]> wrote: >>Can anybody confirm this with wish on Windows NT: >> >> $ wish >> % frame .f -container 1 >> % exit >> Segmentation fault (core dumped) >> >>This is with cygnus tcl/tk 8.0 and a customized wish 8.3.3. >>Unfortunately I don't have a plain windows wish installed. >> >>R' > >Well I can confirm that this crashes on Windows 98 with Tcl and Tk >8.3.4. As I havn't built the debug version yet I don't have any >more info. l8r here's the fix for it. Please post this into the sourceforge BugDB. I'm not much for following-up on bugs I don't consider my own, sorry.. Index: tkWinEmbed.c =================================================================== RCS file: /cvsroot/tktoolkit/tk/win/tkWinEmbed.c,v retrieving revision 1.4 diff -c -r1.4 tkWinEmbed.c *** tkWinEmbed.c 2000/07/06 03:17:44 1.4 --- tkWinEmbed.c 2001/10/27 09:43:53 *************** *** 632,637 **** --- 632,638 ---- prevPtr = NULL; containerPtr = tsdPtr->firstContainerPtr; + if (containerPtr == NULL) return; while (1) { if (containerPtr->embeddedPtr == winPtr) { containerPtr->embeddedHWnd = NULL; -- David Gravereaux <[email protected]> $ make war make: *** No rule to make target `war'. Stop. Try `love' instead. | |||
| User Comments: |
davygrvy added on 2002-12-24 03:43:45:
Logged In: YES user_id=7549 Let's call this fixed. hobbs added on 2002-06-22 15:40:34: Logged In: YES user_id=72656 Applied patch from davygrvy on 2002-06-22, but I don't know that this really fixes the core problem, so I'm leaving it open. hobbs added on 2001-12-28 01:58:31: Logged In: YES user_id=72656 More detail: [ #220942 ] EmbedWindowDeleted dereferences NULL pointer. [ #222677 ] toplevel with '-use 0x...' doesn't receive <Destroy> events [ #220820 ] Container Frame in Tk on Windows NT ReproducibleScript: % pack [frame .f -container 1] % winfo id .f % 0x10a051a start a second wish: c:> wish81 -use 0x10a051a % pack [button .b -text "I like linux"] % exit | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki