Velaron / cs16-client

Other
82 stars 19 forks source link

when I put a bomb, the engine crashes (Ubuntu Arm64) #64

Closed ArtemS2 closed 5 months ago

ArtemS2 commented 8 months ago

Launched via gdb:

(No debugging symbols found in ./xash3d) (gdb) run Starting program: /home/artem/games/HalfLife(xash3d)/xash3d [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". [New Thread 0xfffff5a5d100 (LWP 10733)] [New Thread 0xffffeaf4e100 (LWP 10735)] [New Thread 0xffffe842b100 (LWP 10737)] [New Thread 0xffffbffff100 (LWP 10738)] [New Thread 0xffffbf7ef100 (LWP 10739)] [Thread 0xffffbffff100 (LWP 10738) exited] [Thread 0xffffbf7ef100 (LWP 10739) exited] [Thread 0xffffe842b100 (LWP 10737) exited] [Thread 0xffffeaf4e100 (LWP 10735) exited] [Thread 0xfffff5a5d100 (LWP 10733) exited] process 10731 is executing new program: /home/artem/games/HalfLife(xash3d)/xash3d [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". [New Thread 0xfffff5a5d100 (LWP 10743)] [New Thread 0xffffeaf4e100 (LWP 10744)] [New Thread 0xffffd3f46100 (LWP 10746)] [New Thread 0xffffd3ef6100 (LWP 10747)] [New Thread 0xffffd36e6100 (LWP 10748)] [12:45:20] Setting up renderer... [12:45:20] Custom resource propagation complete. [12:45:23] Scoring will not start until both teams have players

Thread 1 "xash3d" received signal SIGSEGV, Segmentation fault. 0x0000ffffea3c3c14 in RadiusDamage(Vector, entvars_s, entvars_s, float, float, int, int) () from cstrike/dlls/cs_arm64.so (gdb) bt

0 0x0000ffffea3c3c14 in RadiusDamage(Vector, entvars_s, entvars_s, float, float, int, int) () from cstrike/dlls/cs_arm64.so

1 0x0000ffffea39a98c in CBaseMonster::RadiusDamage(entvars_s, entvars_s, float, int, int) () from cstrike/dlls/cs_arm64.so

2 0x0000ffffea3e2030 in CGrenade::Explode2_OrigFunc(TraceResult*, int) ()

from cstrike/dlls/cs_arm64.so

3 0x0000ffffea3e91c8 in IHookChainClassImpl<void, CGrenade, TraceResult, int>::callNext(CGrenade, TraceResult*, int) () from cstrike/dlls/cs_arm64.so

4 0x0000ffffea3e89b8 in IHookChainRegistryClassImpl<void, CGrenade, TraceResult, int>::callChain(void (CGrenade::)(TraceResult, int), CGrenade, TraceResult*, int) () from cstrike/dlls/cs_arm64.so

5 0x0000ffffea3e18bc in CGrenade::Explode2(TraceResult*, int) ()

from cstrike/dlls/cs_arm64.so

6 0x0000ffffea3e4504 in CGrenade::Detonate2() ()

from cstrike/dlls/cs_arm64.so

7 0x0000ffffea38e7c0 in CBaseEntity::Think() () from cstrike/dlls/cs_arm64.so

8 0x0000ffffea3a97c8 in DispatchThink(edict_s*) ()

from cstrike/dlls/cs_arm64.so

9 0x0000fffff6c84ca4 in ?? ()

from /home/artem/games/HalfLife(xash3d)/libxash.so

10 0x0000fffff6c7e064 in ?? ()

from /home/artem/games/HalfLife(xash3d)/libxash.so

11 0x0000fffff6c08a48 in ?? ()

--Type for more, q to quit, c to continue without paging-- from /home/artem/games/HalfLife(xash3d)/libxash.so

12 0x0000fffff6c0a038 in ?? ()

from /home/artem/games/HalfLife(xash3d)/libxash.so

13 0x0000fffff6c0a198 in ?? ()

from /home/artem/games/HalfLife(xash3d)/libxash.so

14 0x0000fffff6c098b0 in Host_Main ()

from /home/artem/games/HalfLife(xash3d)/libxash.so

15 0x0000aaaaaaaa0a34 in ?? ()

16 0x0000fffff7e173fc in __libc_start_call_main (

main=main@entry=0xaaaaaaaa0980, argc=argc@entry=4, 
argv=argv@entry=0xffffffffebd8)
at ../sysdeps/nptl/libc_start_call_main.h:58

17 0x0000fffff7e174cc in __libc_start_main_impl (main=0xaaaaaaaa0980, argc=4,

argv=0xffffffffebd8, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, stack_end=<optimized out>)
at ../csu/libc-start.c:392

18 0x0000aaaaaaaa0af0 in ?? ()

(gdb)

ArtemS2 commented 8 months ago

@nekonomicon Понял в чем дело, у меня изначально движок был тогда собран полгода назад. Сейчас пересобрал снова релиз , и остался только баг с SV_Multicast: expected 0 bytes, it written 17. Ignored.

a1batross commented 8 months ago

@ArtemS2 SV_Multicast именно так написан?

Там между "SV_Multicast:" и "expected" должно быть имя сообщения.

ArtemS2 commented 8 months ago

Снимок экрана от 2023-11-20 18-53-36

Vladislav4KZ commented 8 months ago

Там между "SV_Multicast:" и "expected" должно быть имя сообщения.

@a1batross Каждый раз, когда я видел эту ошибку у себя, ни разу между "SV_Multicast:" и "expected" не было написано имя сообщения.

В моих багрепортах связанных с этой ошибкой это можно заметить.

ArtemS2 commented 8 months ago

Оно еще перед ошибками имеет следующие строки: 19:02:48] Host_EndGame: starting new server [19:02:48] [19:02:50] Setting up renderer... [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 1. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 2. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 2. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 12. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 9. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 10. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 2. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 23. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 5. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 1. Ignored. .... [19:02:50] Custom resource propagation complete. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 17. Ignored. [19:02:50] Error: SV_Multicast: expected 0 bytes, it written 1. Ignored. [19:02:52] Error: SV_Multicast: expected 0 bytes, it written 1. Ignored. [19:02:52] Error: SV_Multicast: expected 0 bytes, it written 1. Ignored

ArtemS2 commented 5 months ago

Ого , крутяк, последние патчи убрали ошибку SV_Multicast