Assertion failed.

Technical Support for all Defcon related issues

Moderator: Defcon moderators

TwelveBaud
level0
Posts: 5
Joined: Sat Sep 30, 2006 1:05 am
Location: McLean, VA, USA
Contact:

Assertion failed.

Postby TwelveBaud » Wed Jul 25, 2007 5:54 am

Hello all,

I run Defcon non-Steam using a Steam key, started it up for the first time in a few months, and my key was accepted. I noticed that I was a few versions out of date, so I applied patches to bring me to 1.43. Restarted, key accepted, so far so good. And then I go to connect to a game.

Uhh, nope! :x

Found a game in the metaserver's list, and tried to connect to it (running 1.42). The first connection attempt was successful, but when Defcon proceeded to the next phase (synch?) a message box popped up exclaiming that the variable "option" failed an assertion in ClientToServer.cpp. Defcon crashed. I restarted it and tried to connect to another server, running 1.43. Same assertion failure, same crash. I ran under WinDbg, in the hopes that I could tell it to ignore the assertion, but alas I could not; when connecting to a server running 1.42 demo, assertion failure followed by crash. I then downgraded to 1.42 (link's in the sticky), tried once more, got the same assertion failure and crash. Deleted my prefs (in the hope that "option" meant "pref") but I got the same assertion failure and crash. (I wonder what is on line 1431 anyway, and why they need to sanity check option != 0.)

I do not have this problem hosting a game.

I do not use mods, and am running DEFCON non-Steam on Windows XP Professional SP2 on an Intel Pentium 4 540+ 3.2GHz processor with 2GB of RAM. I'm using DirectX 9.0c, debug build, with D3DX9 build 31. I have an ATi Radeon X1900XTX with 512MB of video memory, using up-to-date Catalyst drivers, and a Creative SoundBlaster 1371.

1.43 blackbox wrote:=========================
= BLACK BOX REPORT =
=========================

Defcon 1.43 built Jul 2 2007
Date 0:2, 25/7/2007

ERROR : 'Assertion failed : 'option'

..\..\source\network\ClientToServer.cpp
line number 1431'

=========================
= STACKTRACE =
=========================

retAddress = 00411055
retAddress = 00000001
1.42 blackbox wrote:=========================
= BLACK BOX REPORT =
=========================

Defcon 1.42 built May 3 2007
Date 0:10, 25/7/2007

ERROR : 'Assertion failed : 'option'

..\..\source\network\ClientToServer.cpp
line number 1431'

=========================
= STACKTRACE =
=========================

retAddress = 00410F15
retAddress = 00000001
1.43 debug wrote:Defcon 1.43 built Jul 2 2007
Parsing archive main.dat...DONE
WinSock started
Client listening on port 25076
Parsing Coastline data (1776 islands) : 114ms
Parsing International data (2753 islands) : 54ms
Parsing City data (2745 cities) : 78ms
Parsing archive sounds.dat...DONE
Authentication key set : 'STEAMR-........'
WinSock started
Connection established to MetaServer, listening on Port 25077
Requesting data from MetaServer : LatestVersion
Requesting data from MetaServer : MOTD
Received data from MetaServer : LatestVersion
Requesting authentication of key STEAMR-........
Received data from MetaServer : MOTD
Received Authentication : STEAMR-........ : (keyID .....) : Accepted
Authentication HashToken set to .....
Requesting data from MetaServer : UpdateURL
Received data from MetaServer : UpdateURL
Sound System regained window focus
Started requesting public IP:port for socket 144
Local IP address is: 192.168.21.21
Socket 144 identified as public IP 72.83.244.126:25076
Sound System regained window focus
Requesting data from MetaServer : ServerTTL
Received data from MetaServer : ServerTTL
CLIENT : Disconnected
EclRemoveWindow failed on window LOBBY
Stopped requesting public IP:port for socket 144
CLIENT : Attempting connection to Server at 88.198.26.228:5015...
Requesting connection to 88.198.26.228:5015 via matchmaker
CLIENT : Received ClientID of 3
MatchMaker : CLIENT received confirmation from Server that Hole Punch is set up
CLIENT : Server version is 1.42
Server has set the MOD path: ''
1.42 debug wrote:Defcon 1.42 built May 3 2007
Parsing archive main.dat...DONE
Client listening on port 5011
Parsing Coastline data (1776 islands) : 68ms
Parsing International data (2753 islands) : 32ms
Parsing City data (2745 cities) : 22ms
Parsing archive sounds.dat...DONE
Authentication key set : 'STEAMR-.....'
Connection established to MetaServer, listening on Port 5009
Requesting data from MetaServer : LatestVersion
Requesting data from MetaServer : MOTD
Received data from MetaServer : LatestVersion
Received data from MetaServer : MOTD
Requesting authentication of key STEAMR-......
Received Authentication : STEAMR-...... : (keyID ......) : Accepted
Authentication HashToken set to ......
Requesting data from MetaServer : UpdateURL
Received data from MetaServer : UpdateURL
Parsing Coastline data (1776 islands) : 128ms
Parsing Coastline data (1776 islands) : 164ms
Parsing Coastline data (1776 islands) : 126ms
Started requesting public IP:port for socket 148
Socket 148 identified as public IP 72.83.244.126:5011
CLIENT : Disconnected
EclRemoveWindow failed on window LOBBY
Stopped requesting public IP:port for socket 148
CLIENT : Attempting connection to Server at 88.198.26.228:5010...
Requesting connection to 88.198.26.228:5010 via matchmaker
CLIENT : Received ClientID of 1
MatchMaker : CLIENT received confirmation from Server that Hole Punch is set up
CLIENT : Server version is 1.42
Server has set the MOD path: ''
networking section of preferences.txt wrote:NetworkMetaServerPort = 25077
NetworkServerPort = 25075
NetworkClientPort = 25076
NetworkUsePortForwarding = 1
NetworkTrackSynchronisation = 0

Return to “Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 1 guest