PDA

View Full Version : segmentation fault



feanor
26th July 2016, 09:38
i am using ubuntu 14.04 . when i try to start server even without libcod and mods , i am getting an error calling with "segmentation fault" how can i fix that ? i was searched on google someone was saying about ram but i have 16 gbram dedicated

IzNoGoD
26th July 2016, 11:22
compile your own libcod.

feanor
26th July 2016, 13:00
this libcod was working in other machines well , maybe its a library error any suggestions


[INFO] Compiled for: CoD2 1.3
Compiled: Feb 2 2016 23:27:47
> [INFO] value of closer=000191c8
> [INFO] value of download=0808f940
> [PLUGIN LOADED]
CoD2 MP 1.3 build linux-i386 Jun 23 2006
----- FS_Startup -----
Segmentation fault

maxdamage99
26th July 2016, 13:43
You have query's, when your server start? (EXAMPLE: mysql_real_connect())
??

Mitch
26th July 2016, 16:38
this libcod was working in other machines well , maybe its a library error any suggestions


[INFO] Compiled for: CoD2 1.3
Compiled: Feb 2 2016 23:27:47
> [INFO] value of closer=000191c8
> [INFO] value of download=0808f940
> [PLUGIN LOADED]
CoD2 MP 1.3 build linux-i386 Jun 23 2006
----- FS_Startup -----
Segmentation fault


Try starting with commenting out any libcod function that are used on start.

Also post the line from dmesg from this crash.

IzNoGoD
26th July 2016, 17:00
You're probably using one of the pre-compiled libcod versions that dont play nice with your mysql install.

The solution?


compile your own libcod.

feanor
26th July 2016, 21:54
reinstalled ubuntu , then problem solved