RPC test code?

Greg Turner gmturner007 at ameritech.net
Thu Oct 31 08:02:31 CST 2002

On Wednesday 30 October 2002 12:22 pm, Greg Turner wrote:
> BTW, this is somewhat off-topic, but sometimes the winsock test hangs
> for me after "make testclean"; ctrl-c and re-running "make test"
> always works, so I wonder if perhaps there is a race condition
> tickled by the make processing?  Next time (if there is one) that I
> encounter this, I'll attach a debugger and tell you what I see.

this happened to turn up last night.  first, i was wrong that this was 
your winsock test, Martin; it's the http test in dlls/wininet/tests 
(not sure who owns that code?)

nevertheless, i attached a debugger, here's a trace:

#0  0x4033a0a4 in read () from /lib/libc.so.6
#1  0x40110654 in __JCR_LIST__ () from 
#2  0x400ccc33 in WaitForMultipleObjectsEx (count=0, handles=0x0, 
wait_all=0, timeout=100, alertable=0) at ../../scheduler/synchro.c:265
#3  0x400cc989 in Sleep (timeout=100) at ../../scheduler/synchro.c:186
#4  0x40234a43 in winapi_test (flags=268435456) at http.c:139
#5  0x40234f8c in func_http () at http.c:211
#6  0x402354ee in run_test (name=0xbffff7c5 "http.c") at 
#7  0x402356f4 in main (argc=2, argv=0xbffff638) at 
#8  0x40234040 in __wine_exe_main () at wininet_test.exe.spec.c:133
#9  0x400c80aa in start_process () at ../../scheduler/process.c:564
#10 0x400ccfa5 in call_on_thread_stack (func=0x400c7dde) at 

after this, as predicted above, "killall wine; killall wineserver; make 
test" succeeded.  "rm dlls/wininet/tests/http.ok; make test" also 
succeeds.  As soon as I do "make testclean && make test," it hangs 
again.  To whomever wants to tackle this, let me know if there's more 
info I should give; the behvior is more-or-less repeatable on my box.


"The purpose of government is to rein in the rights of the people"
 --President Bill Clinton, MTV interview, 1993

More information about the wine-devel mailing list