Raised This Month: $ Target: $400
 0% 

what is the best debug method to get the full error log (cs 1.6)


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-28-2016 , 03:08   Re: what is the best debug method to get the full error log (cs 1.6)
Reply With Quote #31

What was the problem?
__________________
Arkshine is offline
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 07-28-2016 , 10:39   Re: what is the best debug method to get the full error log (cs 1.6)
Reply With Quote #32

Seems to be the new plugin update 1.4 Entity Resources Replacement

but the problem the server still crash with some same actions but not with the same debug log :
the most when there is +20 player on the server
player kill another player
player join the server

edit : the old problem is back after 2 days :

PHP Code:
CRASHThu Jul 28 14:16:42 CET 2016
Start Line
: ./hlds_linux -game cstrike -debug +port 27016 +sv_lan 0 +maxplayers 32 +map jb_oasis
 
-pidfile hlds.29563.pid
[New Thread 31070]
[New 
Thread 31071]
[New 
Thread 31072]
[New 
Thread 31073]
[New 
Thread 31077]
[New 
Thread 31080]
[New 
Thread 31144]
[
Thread debugging using libthread_db enabled]
Core was generated by `./hlds_linux -game cstrike -debug +port 27016 +sv_lan 0 +max'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7055dd0 in SV_SingleClipMoveToEntity (ent=0xb393a708, start=0xb3938e70, mins=0xb3938f44, maxs=0xb3938f50, end=0xbfa57c10, trace=0xbfa578e8) at ../engine/world.c:965
    in ../engine/world.c
#0  0xb7055dd0 in SV_SingleClipMoveToEntity (ent=0xb393a708, start=0xb3938e70, mins=0xb3938f44, maxs=0xb3938f50, end=0xbfa57c10, trace=0xbfa578e8) at ../engine/world.c:965
#1  0xb705675a in SV_ClipMoveToEntity (node=0xb74e97c0, clip=0xbfa57b10) at ../engine/world.c:1089
#2  SV_ClipToLinks (node=0xb74e97c0, clip=0xbfa57b10) at ../engine/world.c:1232
#3  0xb705671d in SV_ClipToLinks (node=0xb74e96e0, clip=0xbfa57b10) at ../engine/world.c:1254
#4  0xb705671d in SV_ClipToLinks (node=0xb74e96c0, clip=0xbfa57b10) at ../engine/world.c:1254
#5  0xb7057163 in SV_Move (start=0xb3938e70, mins=0xb3938f44, maxs=0xb3938f50, end=0xbfa57ce4, type=0, passedict=0xb3938de8, monsterClipBrush=false) at ../engine/world.c:1461
#6  0xb7048164 in SV_PushEntity (ent=0xb3938de8, push=0xbfa57dc0) at ../engine/sv_phys.c:537
#7  0xb704a74a in SV_Physics_Toss (ent=0xb3938de8) at ../engine/sv_phys.c:1578
#8  0xb704bdf8 in SV_Physics () at ../engine/sv_phys.c:2054
#9  0xb7043b26 in SV_Frame () at ../engine/sv_main.c:9236
#10 0xb700be92 in _Host_Frame (time=0.00161394803) at ../engine/host.c:1404
#11 0xb700c252 in Host_Frame (time=0.00161394803, iState=1, stateInfo=0xbfa57f1c) at ../engine/host.c:1522
#12 0xb70308dc in CEngine::Frame (this=0xb70c76a0) at ../engine/sys_engine.cpp:245
#13 0xb702dc43 in RunFrame (this=0xb70c2d00) at ../engine/sys_dll2.cpp:1235
#14 CDedicatedServerAPI::RunFrame (this=0xb70c2d00) at ../engine/sys_dll2.cpp:1226
#15 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:766
#16 0x08049472 in main (argc=16, argv=0xbfa58164) at ../dedicated/sys_ded.cpp:1146 
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !

Last edited by Old.School; 08-25-2016 at 01:45.
Old.School is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 07-28-2016 , 10:50   Re: what is the best debug method to get the full error log (cs 1.6)
Reply With Quote #33

Type condebug in console and enable logging, it'll output everything printed to console to a file called qconsole.log. That might help you figure out exactly what occurs before a crash.

Quote:
Originally Posted by Old.School View Post
this is the debug log

PHP Code:
---------------------------------------------- 
[New 
LWP 18675
[New 
LWP 18684
[New 
LWP 18688
[New 
LWP 18691
[New 
LWP 18771
[
Thread debugging using libthread_db enabled
Using host libthread_db library "/lib64/libthread_db.so.1"
Core was generated by `./hlds_linux -game cstrike -debug +port 27016 +sv_lan 0 +max'. 
Program terminated with signal SIGSEGV, Segmentation fault. 
#0  0xb6fc0688 in SV_ClearPacketEntities (frame=0xfe8d830) at ../engine/sv_main.c:528 
#0  0xb6fc0688 in SV_ClearPacketEntities (frame=0xfe8d830) at ../engine/sv_main.c:528 
#1  SV_ClearFrames (frames=0xb379aa68) at ../engine/sv_main.c:571 
#2  0xb6f99810 in Host_CheckDyanmicStructures () at ../engine/host.c:957 
#3  Host_ClearMemory (bQuiet=false) at ../engine/host.c:984 
#4  0xb6fcbaa3 in SV_SpawnServer (bIsDemo=false, server=0xbfad4ce0 "jail_nightcrew", startspot=0x0) at ../engine/sv_main.c:7392 
#5  0xb28d5c24 in ?? () from /home/jb/cstrike/addons/fix/nbex.so 
Backtrace stopped: previous frame inner to this frame (corrupt stack?) 
pack = 0xfe8f018 
From        To          Syms Read   Shared Object Library 
0xb76e0914  0xb7726c78  Yes         ./libstdc++.so.6 
0xb768da60  0xb768ea88  Yes (*)     /lib/libdl.so.2 
0xb76766a0  0xb7682778  Yes (*)     /lib/libpthread.so.0 
0xb74f0b00  0xb761ac74  Yes (*)     /lib/libc.so.6 
0xb74b2470  0xb74cc968  Yes (*)     /lib/libm.so.6 
0xb776f830  0xb77875cf  Yes (*)     /lib/ld-linux.so.2 
0xb749be04  0xb74ab490  Yes         ./libgcc_s.so.1 
0xb6f80490  0xb700424c  Yes         /home/jb/engine_i486.so 
0xb6f265c0  0xb6f30d74  Yes (*)     ./libsteam_api.so 
0xb6f1c8c0  0xb6f20668  Yes (*)     /lib/librt.so.1 
0xb6f03a00  0xb6f101b8  Yes         /home/jb/filesystem_stdio.so 
0xb5eb8000  0xb6a78250  Yes (*)     ./steamclient.so 
0xb5d28670  0xb5d9e020  Yes (*)     ./crashhandler.so 
0xb3429d00  0xb34ceebc  Yes (*)     /home/jb/./cstrike/addons/metamod/dlls/metamod.so 
0xb31cb370  0xb32ef370  Yes         /home/jb/cstrike/dlls/cs.so 
0xb308ca00  0xb30ec768  Yes (*)     /home/jb/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so 
0xb306dc10  0xb3070c98  Yes (*)     cstrike/addons/amxmodx/modules/fun_amxx_i386.so 
0xb305c0d0  0xb3067478  Yes (*)     cstrike/addons/amxmodx/modules/engine_amxx_i386.so 
0xb3023c50  0xb30504a8  Yes (*)     cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so 
0xb30010d0  0xb3006408  Yes (*)     cstrike/addons/amxmodx/modules/geoip_amxx_i386.so 
0xb2f4a220  0xb2f509d8  Yes (*)     cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so 
0xb2ed5d50  0xb2edc658  Yes (*)     cstrike/addons/amxmodx/modules/csx_amxx_i386.so 
0xb2e5f6c0  0xb2ec96d8  Yes (*)     cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so 
0xb2dd39d0  0xb2dfc618  Yes (*)     cstrike/addons/amxmodx/modules/orpheu_amxx_i386.so 
0xb2dbcdc0  0xb2dc4c58  Yes (*)     cstrike/addons/amxmodx/modules/roundcontrol_amxx_i386.so 
0xb2b0a510  0xb2b0b7c8  Yes (*)     /home/jb/cstrike/addons/fix/localizebugfix_mm_i386.so 
0xb288f6f0  0xb28bf0cc  Yes (*)     /home/jb/cstrike/addons/vtc/vtc.so 
0xb7692ca0  0xb7693f38  Yes (*)     /home/jb/cstrike/addons/uino/uino.so 
0xb275a920  0xb275b378  Yes (*)     /home/jb/cstrike/addons/fix/bsploaderfixer_i386.so 
0xb1f8b350  0xb1f93fc8  Yes (*)     cstrike/addons/amxmodx/modules/regex_amxx_i386.so 
0xb1ddc490  0xb1e6c228  Yes (*)     cstrike/addons/amxmodx/modules/mysql_amxx_i386.so 
0xb1cdc490  0xb1ce3d78  Yes (*)     cstrike/addons/amxmodx/modules/nvault_amxx_i386.so 
0xb1c14d30  0xb1c87208  Yes (*)     cstrike/addons/amxmodx/modules/sqlite_amxx_i386.so 
0xb1bf1500  0xb1bfcd98  Yes (*)     cstrike/addons/amxmodx/modules/cvar_util_amxx_i386.so 
0xb1cc5aa0  0xb1ccdf88  Yes (*)     /lib/libnss_files.so.2 
(*): Shared library is missing debugging information. 
Stack level 0, frame at 0xbfad4ba0: 
 eip = 0xb6fc0688 in SV_ClearPacketEntities (../engine/sv_main.c:528); saved eip = 0xb6f99810 
 inlined into frame 1 
 source language c. 
 Arglist at unknown address. 
 Locals at unknown address, Previous frame's sp in esp 
End of crash report 
---------------------------------------------- 
This is a bit off topic but does anyone know if it's possible to get similar crash logs on windows? Adding -debug is not outputting a debug.log anywhere.
PartialCloning is offline
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 08-23-2016 , 20:35   Re: what is the best debug method to get the full error log (cs 1.6)
Reply With Quote #34

New Problem..

can any one explain this crash log
PHP Code:
[New Thread 18651]
[New 
Thread 18654]
[New 
Thread 18658]
[New 
Thread 18661]
[New 
Thread 18702]
[
Thread debugging using libthread_db enabled]
Core was generated by `./hlds_linux -console -game cstrike +log off -autoupdate -noaff -d'.
Program terminated with signal 6, Aborted.
#0  0xb772a420 in __kernel_vsyscall ()
#0  0xb772a420 in __kernel_vsyscall ()
#1  0xb74c0861 in raise () from /lib/libc.so.6
#2  0xb74c213a in abort () from /lib/libc.so.6
#3  0xb7500725 in __libc_message () from /lib/libc.so.6
#4  0xb7506c91 in malloc_printerr () from /lib/libc.so.6
#5  0xb75096b2 in _int_free () from /lib/libc.so.6
#6  0xb76dc9d9 in operator delete (ptr=0x9dec5f0) at /valve/build/targets/src/gcc-4.6.1/libstdc++-v3/libsupc++/del_op.cc:47
#7  0xb76dca23 in operator delete[] (ptr=0x9dec5f0) at /valve/build/targets/src/gcc-4.6.1/libstdc++-v3/libsupc++/del_opv.cc:32
#8  0xb3080c3b in ?? () from /home/jb/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
No symbol table info available. 
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !
Old.School is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 08-24-2016 , 13:47   Re: what is the best debug method to get the full error log (cs 1.6)
Reply With Quote #35

I bet some of your custom modules are badly coded

EDIT:

PHP Code:
0xb275a920  0xb275b378  Yes (*)     /home/jb/cstrike/addons/fix/bsploaderfixer_i386.so 
Why are you still using it? Is not needed anymore unless...you...

EDIT:

I can't I can't!

You're also using vtc module, I bet other modules you use fixes old bugs on engine.
Update your game, remove those modules, remove dproto and stop spending our time
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.

Last edited by joropito; 08-24-2016 at 13:54.
joropito is offline
Send a message via MSN to joropito
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode