XP SP2 - have service requirements changed?

T

Tony Hoyle

I have an app that installs two services. These are very simple and
just listen for connections on a port, do some stuff then go and do
the same thing again.

With XP SP2 RC2 (but not AFAIK RC1), if both these services are
enabled (either one on its own seems to be OK), on bootup the Service
Control Manager locks up just after intialising them - no services
that are setup later will start up, including networking, etc. until I
stop/restart one of my services.

This is code that's been working with only minor tweaks for 3-4 years
and is as far as I can tell in conformance with the MSDN documentation
for services.

As it isn't my code that's failing but Windows I have no hope of
working out what's wrong (tried a few things eg. setting a load order
group to make it load later). The MSDN differences page for SP2 makes
no references to changes to requirements for services that I can find.

Obviously the SCM locking up is an SP2 bug (it should fail my service
rather than falling over if something's wrong) but I'd like to work
out what I'm doing wrong if anything to cause it.

The source is in http://www.cvsnt.org/archive/cvsnt-2.0.49.tar.gz, in
the cvsservice and lockservice directories. There's an installable
version too...

Tony
 
D

David Powell [MS]

Tony,

Are they doing synchronous listens or binds in the service, very early
during the boot process? There is a bug in SP2 RC related to this, a bug
which we have fixed for the SP2 release.

To test this theory, can you change the order in which your service runs at
boot so that it starts after the sharedaccess service?

-David (davidpow)
 
T

Tony Hoyle

David Powell said:
Tony,

Are they doing synchronous listens or binds in the service, very early
during the boot process? There is a bug in SP2 RC related to this, a bug
which we have fixed for the SP2 release.

The services basically do nothing but bind&select at that point, so I
guess the answer would be yes.
To test this theory, can you change the order in which your service runs at
boot so that it starts after the sharedaccess service?

I set the load order to "Extended Base" which is right at the end of
the list... it makes it work more often but doesn't solve the problem.

If you think it's fixed it makes me a little less nervous but I'll
still have a few sleepless nights when SP2 is released...!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top