ziggi / FCNPC

FCNPC - Fully Controllable NPC
Apache License 2.0
125 stars 30 forks source link

Signal 11 (Segmentation fault), address is 36b from f5e23ec7 #285

Closed Awide closed 2 months ago

Awide commented 1 year ago

Hey! Suddenly I've been getting an error and I cannot get to the end of it. The server runs for like 30 minutes before it happens.

gdb on the linux vps has been giving me this: https://cdn.discordapp.com/attachments/231799180127895553/1094443741474983986/image.png ?? () from /lib32/libc.so.6

on Windows 10 localhost: Vector iterators incompatible

FCNPC crashing:

=========================== FCNPC Exception Handler ============================
Signal 11 (Segmentation fault), address is 36b from f5e23ec7

Backtrace:
  #0 in plugins/FCNPC.so(_ZN17CExceptionHandler24ExceptionHandlerCallbackEiP9siginfo_tPv+0x126) [0xf5e19ba6]
  #1 in linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7f1bdc0]
  #2 in plugins/FCNPC.so(_ZN11CPlayerData7ProcessEv+0x17) [0xf5e23ec7]
  #3 in plugins/FCNPC.so(_ZN14CPlayerManager7ProcessEv+0x42) [0xf5e26142]
  #4 in plugins/FCNPC.so(_ZN7CServer7ProcessEv+0x54) [0xf5e28664]
  #5 in plugins/FCNPC.so(ProcessTick+0x23) [0xf5e29f53]
  #6 in /home/runit/sampi/samp03svr() [0x80dd3d2]
  #7 in /home/runit/sampi/samp03svr() [0x80b7c1c]
  #8 in /home/runit/sampi/samp03svr() [0x80b2d92]
  #9 in /lib32/libc.so.6(__libc_start_main+0xf5) [0xf7a10ed5]

Information:
  System: GNU/Linux
  SA-MP: 0.3.DL R1
  FCNPC: 2.0.0

Functions:
  FUNC_CPlayerPool__DeletePlayer: 0x80dc0b0
  FUNC_CPlayer__Kill: 0x80d5ac0
  FUNC_CPlayer__EnterVehicle: 0x80d6a70
  FUNC_CPlayer__ExitVehicle: 0x80d6bf0
  FUNC_CPlayer__SpawnForWorld: 0x80d7870
  FUNC_GetVehicleModelInfo: 0x80e14f0
  FUNC_CConsole__GetIntVariable: 0x80a87d0
  FUNC_ClientJoin_RPC: 0x80ba350

Pointers:
  VAR_ServerAuthentication: 0x81b7d2c
  VAR_NetVersion: 0xfde

Offsets:
  OFFSET_RemoteSystemManager: 0x334
  OFFSET_RemoteSystemSize: 0xc69
  OFFSET_RemoteSystem__ConnectMode: 0xc62
  OFFSET_RemoteSystem__Unknown: 0xc67
=========================== FCNPC Exception Handler ============================
ziggi commented 1 year ago

You should not use older versions of the plugin, newer versions are more stable. Update the plugin to 2.0.4, if that doesn't help try to build the plugin from the master branch by yourself.

AdilVK007 commented 1 month ago

Is this fixed?

ziggi commented 1 month ago

Is this fixed?

The problem occurred in the old version of FCNPC, so it may be fixed in the new one.

AdilVK007 commented 1 month ago

I updated the latest plugins, but the same error will be showing.

ziggi commented 1 month ago

I updated the latest plugins, but the same error will be showing.

Crashlog?