YSF icon indicating copy to clipboard operation
YSF copied to clipboard

(Linux) Crash using the latest source

Open kristoisberg opened this issue 6 years ago • 1 comments

I'm using Debian 8 with SA-MP 0.3.7, compiled the source myself on the same machine.

[28.01.2018 13:40:18] [debug] #0 native FCNPC_Create () from FCNPC.so
[28.01.2018 13:40:18] [debug] #1 0013d8c4 in public LaeNPCd () at impu/systems/npc.pwn:10
[28.01.2018 13:40:18] [debug] Native backtrace:
[28.01.2018 13:40:18] [debug] #0 f73e7180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[28.01.2018 13:40:18] [debug] #1 f73df064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[28.01.2018 13:40:18] [debug] #2 f73dfd64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[28.01.2018 13:40:18] [debug] #3 f73e1cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[28.01.2018 13:40:18] [debug] #4 f73e64d5 in ?? () from plugins/crashdetect.so
[28.01.2018 13:40:18] [debug] #5 f7742ba0 in __kernel_rt_sigreturn () from linux-gate.so.1
[28.01.2018 13:40:18] [debug] #6 f7742bb9 in __kernel_vsyscall () from linux-gate.so.1
[28.01.2018 13:40:18] [debug] #7 f743e367 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[28.01.2018 13:40:18] [debug] #8 f743fa23 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[28.01.2018 13:40:18] [debug] #9 f766ca25 in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[28.01.2018 13:40:18] [debug] #10 f766a733 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[28.01.2018 13:40:18] [debug] #11 f766a7ad in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[28.01.2018 13:40:18] [debug] #12 f766aace in __cxa_rethrow () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[28.01.2018 13:40:18] [debug] #13 f5bdb920 in _ZNSt10_HashtableIjSt4pairIKj11CPlayerDataESaIS3_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEjjPNS5_10_Hash_nodeIS3_Lb0EEE () from plugins/YSF.so
[28.01.2018 13:40:18] [debug] #14 f5bdb9d7 in _ZNSt10_HashtableIjSt4pairIKj11CPlayerDataESaIS3_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb0ELb1EEEE10_M_emplaceIIRjSI_EEES0_INS5_14_Node_iteratorIS3_Lb0ELb0EEEbESt17integral_constantIbLb1EEDpOT_ () from plugins/YSF.so
[28.01.2018 13:40:18] [debug] #15 f5be2033 in _ZN7CPlugin9AddPlayerEi () from plugins/YSF.so
[28.01.2018 13:40:18] [debug] #16 f5be8e9d in _Z31HOOK_CGameMode__OnPlayerConnectP9CGameModei () from plugins/YSF.so
[28.01.2018 13:40:18] [debug] #17 080d09ff in ?? () from ./samp03svr
[28.01.2018 13:40:18] [debug] #18 080b058c in ?? () from ./samp03svr
[28.01.2018 13:40:18] [debug] #19 f5cb69e1 in _ZN10CFunctions9NewPlayerEPc () from plugins/FCNPC.so
[28.01.2018 13:40:18] [debug] #20 f5cc1761 in _ZN14CPlayerManager9AddPlayerEPc () from plugins/FCNPC.so
[28.01.2018 13:40:18] [debug] #21 f5cc4da6 in _ZN8CNatives12FCNPC_CreateEP6tagAMXPi () from plugins/FCNPC.so
[28.01.2018 13:40:18] [debug] #22 080950e4 in ?? () from ./samp03svr
[28.01.2018 13:40:18] [debug] #23 f73e0ad3 in _ZN11CrashDetect17HandleAMXCallbackEiPiS0_ () from plugins/crashdetect.so
[28.01.2018 13:40:18] [debug] #24 ff8f3078 in ?? () from  ‡p÷H…p÷Ü$°ˇÜ$°ˇŻ,°ˇÜ$°ˇŃ-°ˇæD°ˇq÷
[28.01.2018 13:40:18] [debug] Registers:
[28.01.2018 13:40:18] [debug] EAX: 00000000 EBX: 000076fe ECX: 000076fe EDX: 00000006
[28.01.2018 13:40:18] [debug] ESI: f76d4dc2 EDI: f75b9000 EBP: ff8f2418 ESP: ff8f2294
[28.01.2018 13:40:18] [debug] EIP: f7742bb9 EFLAGS: 00000202
[28.01.2018 13:40:18] [debug] Stack:
[28.01.2018 13:40:18] [debug] ESP+00000000: ff8f2418 00000006 000076fe f743e367
[28.01.2018 13:40:18] [debug] ESP+00000020: ff8f22c4 00000000 f740f220 00000005
[28.01.2018 13:40:18] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[28.01.2018 13:40:18] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[28.01.2018 13:40:18] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[28.01.2018 13:40:18] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[28.01.2018 13:40:18] [debug] ESP+000000c0: f7764000 f7712000 00000005 ff8f23c0
[28.01.2018 13:40:18] [debug] ESP+000000e0: 00000005 00000000 f747fc55 00000000
[28.01.2018 13:40:18] [debug] ESP+00000100: f7625af8 f770998c 081a18ec ff8f2418
[28.01.2018 13:40:18] [debug] ESP+00000120: f770a000 f76d4dc2 081a18ec ff8f2418
[28.01.2018 13:40:18] [debug] ESP+00000140: f770a000 081a18ec f766ca25 00000001
[28.01.2018 13:40:18] [debug] ESP+00000160: f7743c18 ff8f2414 00000000 f76348b8
[28.01.2018 13:40:18] [debug] ESP+00000180: 474e5543 8eb004a8 f766a733 8eb004a8
[28.01.2018 13:40:18] [debug] ESP+000001a0: f77576e0 f766a775 f766a7a4 8eb004c8
[28.01.2018 13:40:18] [debug] ESP+000001c0: f7668e56 f766aa79 f5c4bd34 8eb004a8
[28.01.2018 13:40:18] [debug] ESP+000001e0: f5be03b6 f5c4bd34 f5bdd976 08d78768
[28.01.2018 13:40:18] [debug] ESP+00000200: 23691928 018f24aa 170001e9 f7000000
[28.01.2018 13:40:18] [debug] ESP+00000220: 000001e9 ff8f2518 f5bdb9d7 ff8f24fc
[28.01.2018 13:40:18] [debug] ESP+00000240: 000001e9 ff8f24f0 00000009 00000002
[28.01.2018 13:40:18] [debug] ESP+00000260: 0000000b 00000005 f71f57de f7007469
[28.01.2018 13:40:18] [debug] ESP+00000280: 000001e9 ff8f2578 f5be2033 ff8f255b
[28.01.2018 13:40:18] [debug] ESP+000002a0: 00000013 ff8f25a8 ff8f25a8 000001f3
[28.01.2018 13:40:18] [debug] ESP+000002c0: 000001e9 f5c4bd34 f5c1d51b 080a5160
[28.01.2018 13:40:18] [debug] ESP+000002e0: 000001e9 ff8f25b8 f5be8e9d 08d78768
[28.01.2018 13:40:18] [debug] ESP+00000300: 08159470 ff8f25a8 0000007f 00000000
[28.01.2018 13:40:18] [debug] ESP+00000320: 0100007f ff8f2758 080d09ff 236916d8
[28.01.2018 13:40:18] [debug] ESP+00000340: f76cfeb6 258b2768 0809fbc4 258b2768
[28.01.2018 13:40:18] [debug] ESP+00000360: 2362d3d0 01050e29 00000000 0100007f
[28.01.2018 13:40:18] [debug] ESP+00000380: 0000ffff ff8f2788 01e9c51c 00000068
[28.01.2018 13:40:18] [debug] ESP+000003a0: 01000000 61724605 00006b6e 00000000
[28.01.2018 13:40:18] [debug] ESP+000003c0: 00000000 00000000 00000000 00000000
[28.01.2018 13:40:18] [debug] ESP+000003e0: 00000000 00000000 00000000 00000000
[28.01.2018 13:40:18] [debug] Loaded modules:
[28.01.2018 13:40:18] [debug] 00000000 - 00187dc3 samp03svr
[28.01.2018 13:40:18] [debug] f7742000 - f7742d0b linux-gate.so.1
[28.01.2018 13:40:18] [debug] f772f000 - f773181b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[28.01.2018 13:40:18] [debug] f7713000 - f772dd2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[28.01.2018 13:40:18] [debug] f7620000 - f7719cda /usr/lib/i386-linux-gnu/libstdc++.so.6
[28.01.2018 13:40:18] [debug] f75da000 - f761eb43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[28.01.2018 13:40:18] [debug] f75bd000 - f75d93c4 /lib/i386-linux-gnu/libgcc_s.so.1
[28.01.2018 13:40:18] [debug] f7410000 - f75c522f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[28.01.2018 13:40:18] [debug] f7743000 - f7763d6c /lib/ld-linux.so.2
[28.01.2018 13:40:18] [debug] f73c9000 - f740bac4 plugins/crashdetect.so
[28.01.2018 13:40:18] [debug] f729f000 - f73cd461 plugins/pawnraknet.so
[28.01.2018 13:40:18] [debug] f71c9000 - f729f7f0 plugins/streamer.so
[28.01.2018 13:40:18] [debug] f7734000 - f773b09f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[28.01.2018 13:40:18] [debug] f6e38000 - f71cdeb2 plugins/mysql.so
[28.01.2018 13:40:18] [debug] f6e14000 - f6e37d32 /home/kvann/samp/plugins/../log-core.so
[28.01.2018 13:40:18] [debug] f5cf3000 - f5cfe3ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[28.01.2018 13:40:18] [debug] f5e02000 - f5e111d4 plugins/sscanf.so
[28.01.2018 13:40:18] [debug] f5ca5000 - f5cf1bbf plugins/FCNPC.so
[28.01.2018 13:40:18] [debug] f5c9c000 - f5ca2e84 plugins/memory.so
[28.01.2018 13:40:18] [debug] f5bb5000 - f5c9cc5b plugins/YSF.so
[28.01.2018 13:40:18] [debug] 96565000 - 96be678a plugins/RouteConnectorPlugin.so
[28.01.2018 13:40:18] [debug] 96526000 - 9655b02a /usr/lib/libtbb.so.2
[28.01.2018 13:40:18] [debug] 964fc000 - 96526340 /usr/lib/libtbbmalloc.so.2
[28.01.2018 13:40:18] [debug] 961ae000 - 962bc79b plugins/ColAndreas_static.so
[28.01.2018 13:40:18] [debug] 95d39000 - 95d53167 plugins/bcrypt-samp.so
[28.01.2018 13:40:18] [debug] 95b74000 - 95b9bd0c plugins/profiler.so
[28.01.2018 13:40:18] [debug] 9655d000 - 9656197b /lib/i386-linux-gnu/i686/cmov/libnss_dns.so.2
[28.01.2018 13:40:18] [debug] 93874000 - 9388c2fb /lib/i386-linux-gnu/i686/cmov/libresolv.so.2

kristoisberg avatar Jan 28 '18 13:01 kristoisberg

I suppose it's caused by FindNPCProcessID trying to find the process ID of a NPC created by FCNPC. But it shouldn't crash anyway

IS4Code avatar Jan 29 '18 15:01 IS4Code