I ran into this with 4.0 on Win32.  It looked to me like the culprit was
the global static var "stopped" in driver.c.  That variable is
initialized to 1, but it doesn't look like it is set to 0 anywhere.
There are a few places in the code that look like:
if (!stopped && !shutdownPending)

Jamie


Jim Wilcoxson wrote:


We're having this problem with 3.4 on Linux 2.4.20 too.  It didn't
happen very often with 2.2.20, but with 2.4.20 AS frequently hangs
after an ns_shutdown and has to be killed.

Just another data point.

Jim


Hello all,

i was trying to upgrade to aolserver 4.0 but noticed that every time i
do ns_shutdown from nscp the server
just hangs. It appeares that the problem is call to
NsWaitDriversShutdown(&timeout); during server shutdown.
Last version i used without any problem beta10 did not have this call.
While debugging i found that it hangs in Ns_ThreadJoin call, looks like
DriverThread exited already and pthread_join just hangs.


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.




-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to