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 sm3 almost 8 years ago
Hi Khorn,
My guess, if the compile completed with no issues, that you have missed something in your configuration. I would go back and check each of the *.cfg files to make sure the IP of your server is correct. I would also check the IP's you entered for MySQL. It's been my experience that "localhost" doesn't work on Windows. You have to change each occurence to your IP 192.168.x.x. The instructions say make sure localhost is not commented out in the hosts file but for me on Vista, it was never commented out.
If you read the roadmap, version 0.8.0 may fix some of these issues you are having now. We are not there yet of course.
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
Maybe this will help:
http://dev.ryzom.com/wiki/ryzom/EverythingWindows
So you compiled Ryzom Core following these instructions: http://dev.ryzom.com/wiki/ryzom/BuildForWindowsCmake
Now continue on with your setup starting at the section titled: "Setting up Apache/PHP"
These instructions are not provided with a link on the front page of the wiki.
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by sfb almost 8 years ago
Khorn,
What revision/changeset are you presently running?
Thank you,
sfb
/s
RE: Server - Frontend_service - A failed assertion occurs - Added by khorn almost 8 years ago
thanks all.
@sfb
hum i don't know, i just download last monday the source on http://ryzom.hg.sourceforge.net:8000/hgroot/ryzom/ryzom with "HG" i think it's the last revision ...
@sm3
Thanks for all.
i re-compil my source with Cmake and my server don't crash ! wouhouuuu ! ;)
:::
But i have a problem with an error 3003 with my client ... et i get some errors in my code/ryzom/tools/server/www/login/r2_login_*.log ...
###################################
2010-10-27 20:40:20 (192.168.2.100:/login/r2_login.php?cmd=login&login=test03&password=AAW6rxDhBN6eQ&clientApplication=ryzom_open&cp=1&lg=en): PHP ERROR/8192 Function split() is deprecated (R:\code\ryzom\tools\server\www\login\r2_login.php:237)
2010-10-27 20:40:30 (192.168.2.100:/login/r2_login.php?cmd=login&login=test03&password=AAW6rxDhBN6eQ&clientApplication=ryzom_open&cp=1&lg=en): PHP ERROR/2 fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to 192.168.2.100:49998 (Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu.
) (R:\code\ryzom\tools\server\www\tools\nel_message.php:140)
2010-10-27 20:40:30 (192.168.2.100:/login/r2_login.php?cmd=login&login=test03&password=AAW6rxDhBN6eQ&clientApplication=ryzom_open&cp=1&lg=en): PHP ERROR/2048 Only variables should be passed by reference (R:\code\ryzom\tools\server\www\tools\nel_message.php:89)
2010-10-27 20:40:30 (192.168.2.100:/login/r2_login.php?cmd=login&login=test03&password=AAW6rxDhBN6eQ&clientApplication=ryzom_open&cp=1&lg=en): [No response from Shard Unifier]
2010-10-27 20:40:30 (192.168.2.100:/login/r2_login.php?cmd=login&login=test03&password=AAW6rxDhBN6eQ&clientApplication=ryzom_open&cp=1&lg=en): 0:The log-in server is in maintenance, please try later (3003)\n
###################################
maybe i must re-compil the client too ... ?!
i have uncomment localhost in my host file ... (i'm on win7)
my login_address in domain table is 192.168.2.100 (my local ip)
any ideas ?
thanks.
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
Hey Khorn,
To figure which changeset you are using go to your c:\ryzom directory and type hg parent
Should look something like this:
C:\ryzom>hg parent
changeset: 1025:347c3e2a34f5
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by sfb almost 8 years ago
sm3 and Khorn,
hg summary is more informative than hg parent for what its worth.
Thanks,
sfb
/s
RE: Server - Frontend_service - A failed assertion occurs - Added by sfb almost 8 years ago
Khorn,
I think you're running into a client and server with different message structures. The recent Ryzom patch merge change the message structures a little which required both client and server to be recompiled. In addition the message database XML changed but that change was not committed until sometime yesterday. Try recompiling your client and report back.
Another individual on IRC is experiencing this same problem so I will have them try the same things.
Thank you!
sfb
/s
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
Hey sfb,
Thanks, didn't know that one! I'm a little ignorant with hg for now ;)
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by xyber almost 8 years ago
Darn, you are lucky Khorn. I still have this error (front end server one) :(
Anything you did different other than recompile?
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
Khorn,
Some others might be able to help based on your errors, I just like to retrace my steps and follow the guides. It has worked for me:
Did you create your httpd-vhosts.conf entry:
Listen 40916 <VirtualHost *:40916> <Directory "c:/ryzom/code/ryzom/tools/server/"> Options -Indexes FollowSymLinks MultiViews IndexOptions FancyIndexing FoldersFirst NameWidth=* AllowOverride All Order allow,deny Allow from all AddType text/html .php .phps AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps </Directory> ServerAdmin admin@localhost DocumentRoot "c:/ryzom/code/ryzom/tools/server/www" ServerName localhost </VirtualHost> <VirtualHost *:80> <Directory "c:/ryzom/code/ryzom/tools/server/"> Options -Indexes FollowSymLinks MultiViews IndexOptions FancyIndexing FoldersFirst NameWidth=* AllowOverride All Order allow,deny Allow from all AddType text/html .php .phps AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps </Directory> ServerAdmin admin@localhost DocumentRoot "c:/ryzom/code/ryzom/tools/server/admin" ServerName localhost </VirtualHost>
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
I believe you should have your Apache and MySQL stuff setup and configured properly before you try and start the services. But that is my beginner view.
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by khorn almost 8 years ago
i join a screenshot.
i go to eat and i re-compil my client after that.
i report back in few time.
thanks to all ;)
HG.png - screen of HG parent & summary (36.8 kB)
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
1025 is the latest (as of this time) so either do a hg pull && hg update
Or just delete the folder and start over.
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by khorn almost 8 years ago
@xyber
i have this errors if i compil with VS 2008 pro SP1 only and i test recompil with Cmake + Vs 2008 pro SP1 ( tuto here : http://dev.ryzom.com/wiki/ryzom/BuildForWindowsCmake )
You must transfer files #\code\build\bin\Release\ to code\ryeom\server\Release\ (only files what you need)
If you have an errors when you configure Cmake on MFC_DIR you must give "C:/Program Files/CMake 2.8/bin" in Value.
but...
/!\ Warning : you have to rename some files ... ex: Ryzom_frontend_service.exe to frontend_service.exe
i don't know if it's normal but it resolve my problem ... lol !
@Sm3
i have the same file for "httpd-vhosts.conf". i dont use c:/ryzom/code/... but my virtual drive "r" and i use R:/code/...
i think it's good ...
@all
anyone can say to me if it's normal for the Cmake method i explain at xyber ?
thanks.
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
Regarding compiling, you only need the free express 2008 version. It's not necessary to compile any of the MFC stuff since there are binaries available for those. They aren't need to run a world. Just for content creation.
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by xyber almost 8 years ago
I fixed my problem by wiping my source and grabbing clean copy. Either that or when I ran cmake on the clean source it came out with better files to build from ;)
Service crash when you build without FINAL_VERSION
Attached call stack
call_stack.txt - call stack (9.2 kB)
RE: Server - Frontend_service - A failed assertion occurs - Added by sfb almost 8 years ago
Thank you to xyber for helping us find this. This has been fixed in Hg.
RE: Server - Frontend_service - A failed assertion occurs - Added by kervala almost 8 years ago
It was really a bug :) And even some Ryzom devs didn't notice that, so thank you again :)
RE: Server - Frontend_service - A failed assertion occurs - Added by khorn almost 8 years ago
thanks to all !
All works with new source update !
Good job !
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
Hey Khorn, would you mind doing an hg summary for me? I just tried with changeset 1026 (latest) and I'm getting the xml error myself. Maybe I need to revert to an earlier version.
Thanks,
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by xyber almost 8 years ago
If it is database.xml and msg.xml then copy
/code/ryzom/common/data_common/database.xml and /code/ryzom/common/data_common/msg.xml
to your client /data/data_common/
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
I will try that xyber, thanks. I just remember the xml message after my client finished loading.
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
Yes, that fixed my issue, I'm now able to connect to my own server.
Thanks again.
sm3
RE: Server - Frontend_service - A failed assertion occurs - Added by xyber almost 8 years ago
So many things changing the whole time, it is starting to get hard keeping up. I feel sorry for the guys not hanging out on the irc channel. I knew about this cause sfb just mentioned it quickly. At least we are working towards a point.
RE: Server - Frontend_service - A failed assertion occurs - Added by sm3 almost 8 years ago
Yes, a lot to remember. Maybe with version 0.8.0 some of this will be sorted out. We can hope right ;)
I had to change all my IP's on Vista from localhost to and actual IP. The services don't like localhost on my machine even if it's uncommented in the hosts file.
Graphs still don't work (hi-res does) and my state is still offline in webtool. I'm going to try with my separate db now.
sm3