Server - Frontend_service - A failed assertion occurs

Added by khorn almost 8 years ago

Hello evreybody.

i finish all compil with success but...

When i lunch Shard_start.bat, after 15 - 20s i get a failed assertion occurs on Frontend_service window.

##############################

A failed assertion occurs
ProcName: 192.168.2.100/FS-135
Date: 2010/10/26 21:56:47
File: .\data_set_base.cpp
Line: 239
FuncName: CDataSetBase::checkTemplateSize
Reason: "passedSize _PropertyContainer.PropertyValueArrays[propIndex].DataTypeSize"

#############################

Log with no filter:
-------------------------------
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1267 : FS accepts client at startup (patching mode unavailable)
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c : Executing command : 'stopWebPatchServer'
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1922 : Execute stopWebPatchServer...
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1286 : Initializing sending subsystem...
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1288 : Half-frequency mode
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 728 : ClientBandwidth is now 332 bytes per game cycle, including UDP/IP/Ethernet headers (42)
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1297 : Initializing history...
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1301 : Initializing priority tables...
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 698 : Priority strategy is DistanceDelta
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1312 : Initializing XML message manager...
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1319 : Initializing module manager...
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1325 : UseSendThread on, initialise send thread
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1333 : Waiting for the local Mirror Service...
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c unified_network.cpp 779 : HNETL5: addService WS-128 ':51000 (192.168.2.100)'
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c unified_network.cpp 779 : HNETL5: addService TICKS-129 ':51001 (192.168.2.100)'
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c unified_network.cpp 779 : HNETL5: addService EGS-130 ':51002 (192.168.2.100)'
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c frontend_service.cpp 988 : Leaving SERVER_DOWN mode
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c unified_network.cpp 779 : HNETL5: addService MS-131 ':51003 (192.168.2.100)'
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c tick_event_handler.cpp 229 : Tick Event Handler: Local MS is up, I can start
2010/10/26 21:55:49 192.168.2.100/FS-135 INF 100c tick_event_handler.cpp 246 : This service tocks and has a threshold of 0
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c frontend_service.cpp 988 : Leaving SERVER_DOWN mode
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c unified_network.cpp 779 : HNETL5: addService GPMS-132 ':51004 (192.168.2.100)'
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c frontend_service.cpp 988 : Leaving SERVER_DOWN mode
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c unified_network.cpp 779 : HNETL5: addService AIS-133 ':51005 (192.168.2.100)'
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c frontend_service.cpp 988 : Leaving SERVER_DOWN mode
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c unified_network.cpp 779 : HNETL5: addService IOS-134 ':51006 (192.168.2.100)'
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c frontend_service.cpp 988 : Leaving SERVER_DOWN mode
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c service.cpp 1230 : SERVICE: Service initialized, executing StartCommands
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c module_manager.cpp 759 : Creating module 'gw' of class 'StandardGateway' with params ''
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c command.cpp 145 : CCommandRegistry : adding commands handler for class 'CStandardGateway'
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c module_manager.cpp 759 : Creating module 'gw_aes' of class 'StandardGateway' with params ''
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c module_manager.cpp 759 : Creating module 'aes_client' of class 'AdminExecutorServiceClient' with params ''
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c command.cpp 145 : CCommandRegistry : adding commands handler for class 'CModuleBase'
2010/10/26 21:55:50 192.168.2.100/FS-135 INF 100c service.cpp 1276 : SERVICE: Service ready
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1481 : Entering STALLED mode
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c naming_client.cpp 137 : NC: Registration Broadcast of the service SBS-136 ':51008 (192.168.2.100)'
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c unified_network.cpp 165 : HNETL5: + connec 'SRV 03323AC8 (socket 588)'
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c frontend_service.cpp 662 : cbAcceptClients: asked by service WS 128 to accept clients (patching is no longer available on this server)
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c : Executing command : 'stopWebPatchServer'
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1922 : Execute stopWebPatchServer...
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c service.cpp 287 : SERVICE: ShardId is 302
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c data_set_base.cpp 414 : DatasetSizefe_temp: 600000 (from cfg)
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1350 : Subscribing to mirror properties...
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1354 : Starting modules...
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1669 : Leaving STALLED mode
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c unified_network.cpp 264 : HNETL5: + connect ident 'SRV 03323AC8 (socket 588)' SBS-136 pos 0 ext 0
2010/10/26 21:55:55 192.168.2.100/FS-135 INF 100c frontend_service.cpp 988 : Leaving SERVER_DOWN mode
2010/10/26 21:55:56 192.168.2.100/FS-135 INF 100c mirror.cpp 1809 : Mirror system ready, all MTR Tags
2010/10/26 21:56:00 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1481 : Entering STALLED mode
2010/10/26 21:56:47 192.168.2.100/FS-135 INF 100c frontend_service.cpp 1669 : Leaving STALLED mode
2010/10/26 21:56:47 192.168.2.100/FS-135 AST 100c data_set_base.cpp 239 : "passedSize _PropertyContainer.PropertyValueArrays[propIndex].DataTypeSize"
-------------------------------

And if i ignore it i have other error ...

###############################

ProcName:
Date: 1970/01/01 01:00:00
File: <Unknown>
Line: -1
FuncName: <Unknown>
Reason: Wrong CMirrorPropValue template argument: size=4 (expected: 1) (fe_temp/E1/P42)

###############################

On Windows Seven.

Thanks.

( Sry for my bad english ... ;) )


Replies (29)

RE: Server - Frontend_service - A failed assertion occurs - Added by sfb almost 8 years ago

sm3 wrote:

Yes, a lot to remember. Maybe with version 0.8.0 some of this will be sorted out. We can hope right ;)

sm3,

When we make a release, such as 0.8.0, there will be an 0.8 branch and an 0.8.0 tag. People will be able to track that tag as the "stable release" and the 0.8 branch as a stable branch. Only critical bug fixes will be cherry-picked into the 0.8 branch. You're working against the default branch which will always be in a state of flux.

Good news is that I think we're pretty darn close to having everything slated for 0.8.0 closed.

Thanks,
sfb
/s

RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago

sfb,

Sounds good!

Thanks for the update.

sm3

RE: Server - Frontend_service - A failed assertion occurs - Added by kishan over 5 years ago

Hi there!

I just tried to run a server with FINAL_VERSION not defined and I experienced the same crash (same call stack). The only difference was the propIndex. 42 according to the initial log of this thread, and 41 in my case.
So, I looked at the fix done in rev. 1026 and I noticed that change in fe_temp.dataset:
@ -299,7 +299,7 @
</STRUCT>
<STRUCT>
<ATOM Name="name" Value="PvpClan"/>
- <ATOM Name="type" Value="uint8"/>
+ <ATOM Name="type" Value="uint32"/>
<ATOM Name="persistant" Value="true"/>
<ATOM Name="mirror" Value="true"/>
<ATOM Name="weight" Value="1"/>

As in my case, the type size differences were the same as in this fix, I did the same change to the previous <STRUCT> (pvpMode) and it seems to work fine as it doesn't crash anymore.

Where I don't know if there is something to be done, is for the file shop_category.cfg, which as been modified in rev. 1026. I don't know if there is a relation between the two changes.

My local rev. is 2754.

Hope this helps.

Kishan.

RE: Server - Frontend_service - A failed assertion occurs - Added by kervala over 5 years ago

Thanks a lot for your solution :)

Someone had the same problem recently and I weren't sure it was that...

I'll commit the changes.

« Previous 1 2 (26-29/29)