Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : TSS: Crash if not connected to the Internet when requesting key
New Topic New Poll Post Reply
Poster Message
coppro
Level: Smitemaster
Rank Points: 1309
Registered: 11-24-2005
IP: Logged
icon TSS: Crash if not connected to the Internet when requesting key (+1)  
Platform: Linux

How to reproduce: Do not connect to the Internet. Attempt to request a new CaravelNet key.

Observed behaviour: DROD crashes.

Expected behaviour: DROD does not crash.
06-24-2014 at 02:34 PM
View Profile Show all user's posts Quote Reply
Tuttle
Level: Smitemaster
Avatar
Rank Points: 1547
Registered: 02-22-2003
IP: Logged
icon Re: TSS: Crash if not connected to the Internet when requesting key (+1)  
Reproducible on Windows. Not a crash in the "drod.exe has stopped working" sense, but an immediate quit to Desktop.
06-24-2014 at 02:40 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Elfstone
Level: Smitemaster
Avatar
Rank Points: 1285
Registered: 03-01-2006
IP: Logged
icon Re: TSS: Crash if not connected to the Internet when requesting key (+2)  
This was within my capabilities to test. :)
It also happens on my computer : Intel Mac G5, OS 10.6.8

____________________________
Winner of: Novice Architect Excellence 2006.
FAPCA - Technical Design Excellence in Layout and Aesthetics

06-24-2014 at 03:18 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5106
Registered: 02-04-2003
IP: Logged
icon Re: TSS: Crash if not connected to the Internet when requesting key (0)  
I think I found it. We were missing a check here, and in a few other places, for actually receiving the result buffer from the server before attempting to read it.

My changes might possibly fix the initial crash players were seeing happen once on start-up.

Devs, would you please review my code changes here (rev 5938)?

Fixed for 5.0.1.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
06-25-2014 at 04:04 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : TSS: Crash if not connected to the Internet when requesting key
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.