Windows XP SP2 Issues?....

Want to discuss changes to the UOX3 source code? Got a code-snippet you'd like to post? Anything related to coding/programming goes here!
Post Reply
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Windows XP SP2 Issues?....

Post by giwo »

Recently testing of things in UOX has been hampered by random client crashes (lockups, more like) shortly after logging in (and sometimes immediately).

As of yet I have not determined exactly a source of this client lockup, but it does seem to be packet related (as typically if we send a mal-formed packet or do not repsond to a packet which expects a response, the client behaves in this manner).

After testing several versions of UOX, along with some test code to fix the issue, I'm wondering if it couldn't possibly be related to Windows XP SP2, which I recently installed.

Unfortunately at this time I do not have another computer on which to test, so I was wondering if anyone is getting these same type of lockups, and if so, were they using SP2 or not. (Obvously if it's happening on a non-SP2 client/server, it's just somewhere we've screwed up.)

Anywho, input would be helpful on this one, as until I get it fixed it does quite the job of hampering my ability to use/work on UOX.
Scott
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Hm can't say I've experienced the same. Only weird client crashes I've encountered lately have been occuring when I've locked my Win2k using CTRL+ALT+DELETE. After a while the client gives an illegal operation and closes.
-= Ho Eyo He Hum =-
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

When next I get the chance I will send you my latest for internal testing... to see if it is perhaps just a screwup in my code. (though as I mentioned I seem to be getting the same bug with earlier releases).

Also I suppose I should mention I'm using client 4.0.3e (does that sound right?) one of the latest 2D clients from OSI.
Scott
Dave
UOX3 Newbie
Posts: 5
Joined: Thu Jul 29, 2004 1:05 am
Has thanked: 0
Been thanked: 0

Post by Dave »

well it may have to do with the new linux compile crash u may want to investigate.

boats.cpp: In function `void UOX::MoveBoat(unsigned char, UOX::CBoatObj*)':
boats.cpp:503: error: name lookup of `cIter' changed for new ISO `for' scoping
boats.cpp:490: error: using obsolete binding at `cIter'
boats.cpp: In function `void UOX::TurnBoat(UOX::CBoatObj*, bool)':
boats.cpp:622: error: name lookup of `cIter' changed for new ISO `for' scoping
boats.cpp:585: error: using obsolete binding at `cIter'
make: *** [boats.o] Error 1
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Ahh, ewps.... that's just a scoping error, Dave... I wish VC6 would warn me of those, whoever wrote that code used the same iterator in several different loops, so when I had cIter declared and set specifically in that for loop, it puts up a fuss later on.

As for the client crash I was getting... I did manage to fix it, it wasn't SP2 related. :P

However, given some of the reports I've heard (and experienced) about SP2 giving issues to programs which have alot of connections, I'd still like to keep this thread active for discussion on any issues that do arise.
Scott
Post Reply