| Ticket UUID: | 858822 | |||
| Title: | win-tk test suite hangs in 'send' | |||
| Type: | Bug | Version: | obsolete: 8.5a1 | |
| Submitter: | vincentdarley | Created on: | 2003-12-12 10:45:21 | |
| Subsystem: | 58. [send] | Assigned To: | patthoyts | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2006-04-02 20:41:02 | |
| Resolution: | Duplicate | Closed By: | hobbs | |
| Closed on: | 2006-04-01 19:12:32 | |||
| Description: |
Ever since the partial tip150 implementation was checked in, 'nmake -f makefile.vc TCLDIR=...... test' leads to the test suite hanging with an extra toplevel 'tktest #N' hanging around. Examining my processes, there are two tktest.exe processes running and if I kill the extra one, the tests then run to completion. Older versions of Tk run the test suite fine. | |||
| User Comments: |
vincentdarley added on 2006-04-02 20:41:02:
Logged In: YES user_id=32170 Jeff, which bug report is the one that says why 'send' has been disabled, and therefore what needs to be fixed for 'send' to be re-enabled, if not this one? I'm happy for this to be closed, but there needs to be at least one bug report somewhere referring to send being turned off, and I don't currently see another one. hobbs added on 2006-04-02 02:12:32: Logged In: YES user_id=72656 No, I didn't reeable it, but issues with that test suite are the target of other bug reports, so this need not remain open. nobody added on 2006-03-31 15:12:51: Logged In: NO Jeff, that's because send in Windows has been disabled for the last year or more. Did you re-activate it when you did 'make test'? Vince. hobbs added on 2006-03-31 10:33:19: Logged In: YES user_id=72656 this doesn't happend for me with usual make test of 8.5 head. dgp added on 2006-03-11 00:49:43: Logged In: YES user_id=80530 status? vincentdarley added on 2004-12-04 17:42:09: Logged In: YES user_id=32170 Now we're actually going to be making releases of Tk 8.5a, this bug really needs fixing (else we should move the TIP from state 'final' to 'accepted'). patthoyts added on 2003-12-17 04:59:57: Logged In: YES user_id=202636 I've disabled the send package until this bug is resolved. vincentdarley added on 2003-12-16 17:10:14: Logged In: YES user_id=32170 It would be good to check in some sort of fix asap (even just temporarily preventing creation of 'send'), since this stops the entire tk test suite from running... patthoyts added on 2003-12-16 06:53:30: Logged In: YES user_id=202636 This is indeed a send problem and is to do with the use of the bg code from contraints. The problem appears to be that the child interpreter isnt processing messages which breaks the COM code. One answer might be to fix the child - but a better, if more involved solution is going to be to put the COM code on a second thread which will ensure that a message loop is always running for the COM service. As I'm having trouble finding time to deal with this I should probably either back out this patch or disable it for now. (Can be done by never creating the 'send' command.) vincentdarley added on 2003-12-16 01:06:08: File Added - 70646: tkhang.tcl vincentdarley added on 2003-12-16 01:06:07: Logged In: YES user_id=32170 Ah - good spot! Indeed if I just startup wish85.exe and paste the contents of constraints.tcl into the console that appears, it hangs! And, the hang is in 'send'... Attaching current best script to show the problem... dgp added on 2003-12-16 00:36:22: Logged In: YES user_id=80530 I see. In that case, the hang may trace to the [setupbg] command in tk/tests/constraints.tcl or perhaps the commands just following (that attempt to define the "secureserver" constraint). From that you might be able to construct a demo script to isolate the bug. vincentdarley added on 2003-12-16 00:19:15: Logged In: YES user_id=32170 Actually the test suite hangs _before_ any tests run. A mystery 'tktest #N' toplevel window appears (and a new process tktext.exe appears in my process list, even with '-singleproc'). Until that extra process/toplevel are killed, the suite is hung. The 'send' category is because this problem appeared when tip150 was checked in... dgp added on 2003-12-15 23:18:48: Logged In: YES user_id=80530 This is in the [send] Category, so does the hang occur during send.test ? If so, can you use the -verbose option to narrow down to which test it is that hangs? | |||
Attachments:
- tkhang.tcl [download] added by vincentdarley on 2003-12-16 01:06:07. [details]
