Segmentation fault (server crash

Въпроси и проблеми свързани с AMXModX.
Аватар
esc-Fiv3
Извън линия
Foreigner
Foreigner
Мнения: 110
Регистриран на: 24 Ное 2018, 19:19
Се отблагодари: 16 пъти

Segmentation fault (server crash

Мнение от esc-Fiv3 » 04 Яну 2019, 19:50

Код за потвърждение: Избери целия код

Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20190104193546_1.dmp
success = yes
response:  Discarded=1

./hlds_run: line 321: 17443 Segmentation fault      $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
Fri Jan  4 19:35:48 EET 2019: Server restart in 10 seconds 
Someone know what is this..? Server shut down on awp maps. I got this error on awp_snow_india and scout_india_snowremake. It worked so nice untill now.. I mean these maps were played like 100 times without errors.. O_o
Последно промяна от esc-Fiv3 на 05 Яну 2019, 03:03, променено общо 1 път.

Аватар
Dennis
Извън линия
AMXX Скриптър
AMXX Скриптър
Мнения: 177
Регистриран на: 25 Дек 2018, 04:14
Се отблагодари: 4 пъти
Получена благодарност: 10 пъти

uploading dump file (server crash)

Мнение от Dennis » 04 Яну 2019, 23:13

Why is the Segmentation fault present?

Segmentation faults can occur for several reasons

Overloading the hlds / rehlds server with plugins and other add-ons.
Failure to assign appropriate resources for the correct operation of the server.
Writing by memory through the virtual amxx machine, and unavailable for it or the plugin.
What to do if the Segmentation fault occurs?

Make sure you're using the latest version:
HLDS / ReHLDS
Metamoda and its additives
AMXX and its modules
Make sure that the plugins on the server are compiled with the same version of the amxx compiler that you use on the server.
Disable unnecessary plugins that you do not use and yet are loaded as working plugins.
Turn off the plugins in order to determine which causes problems on the server. I recommend disabling plugins in the way of 1/2 (turn off the half, turn on the server.) The problem occurs -> you decrease by the next half. The problem has stopped -> you have narrowed the search period by 50% in one reset). Usually in mods such as Zombie, Jailbreak, CSGO or related culprits are the main engines.
Add debug to the list of plugins that causes the problem. If you want to debug all plugins instead of one, set cvar

Код за потвърждение: Избери целия код

amx_debug 2.
  // Plugin Debug mode
 // 0 - No debugging (garbage line numbers)
 // 1 - Plugins with "debug" option in plugins.ini are put into debug mode
 // 2 - All plugins are put in debug mode
 // Note - debug mode will affect JIT performance
 //
 // Default value: 1
 amx_debug 2 
Check the server and amxx logs (you will find them in cstrike / addons / amxmodx / logs) to determine the problem location in the plugin (specific place will never be given but you can find other errors there that can also affect the server).
Check the sma code of the plugin to find a place and fix the problem if you can do it yourself.
If you do not know how to scipt Pawn , make sure you post here
Used versions of hlds/rehlds , metamod and amxx
Server logs and amxx logs (you'll find them in cstrike / addons / amxmodx / logs)
Full plug-in code aswell

Аватар
esc-Fiv3
Извън линия
Foreigner
Foreigner
Мнения: 110
Регистриран на: 24 Ное 2018, 19:19
Се отблагодари: 16 пъти

uploading dump file (server crash)

Мнение от esc-Fiv3 » 04 Яну 2019, 23:37

Thanks!

Аватар
Dennis
Извън линия
AMXX Скриптър
AMXX Скриптър
Мнения: 177
Регистриран на: 25 Дек 2018, 04:14
Се отблагодари: 4 пъти
Получена благодарност: 10 пъти

uploading dump file (server crash)

Мнение от Dennis » 05 Яну 2019, 02:31

You might as well change the topic title to “Segmentation fault (server crash)” so it will be easyer for people with the samme issue to find the topic. As your problem is solved, request the staff to lock your thread with a final post here.

Заключено
  • Подобни теми
    Отговори
    Преглеждания
     Последно мнение

Обратно към “Поддръжка / Помощ”

Кой е на линия

Потребители разглеждащи този форум: 0 регистрирани и 9 госта