The strangest crash ever.
#1

I've never had this happen to me.

Okay, so my server seems to crash when I have Stall Coordinates
pawn Код:
new Float:gStallCoords[][] =
{
    {-315.4249,1051.4526,19.7422}, // 0
    {-326.9075,1057.4795,19.7422}, // 1
    {-315.4249,1051.4526,19.7422}, // 2
    {-326.9075,1057.4795,19.7422}, // 3
    {-328.3491,1056.2740,19.7422}, // 4
    {-327.9832,1036.7263,19.7422}, // 5
    {-328.0762,1030.7684,19.7422}, // 6
    {-327.8653,1024.7919,19.7422}, // 7
    {-325.9924,1024.8948,19.7422}, // 8
    {-326.2047,1030.3770,19.7422}, // 9
    {-326.0833,1036.6663,19.7422}, // 10
    {-317.5712,1051.6528,19.7422}, // 11
    {-305.5118,1047.2552,19.7350}, // 12
    {-305.3342,1045.3851,19.7332}, // 13
    {-312.8089,1034.8125,19.7272}, // 14
    {-313.1465,1032.9255,19.7276}, // 15
    {-313.2080,1027.0558,19.7263}, // 16
    {-312.2288,1025.1843,19.7240}  // 17
};
this is under stock LoadPickups
pawn Код:
for (new i = 0; i < sizeof(gStallCoords); i ++)
    {
        CreateDynamicPickup(1239, 1, gStallCoords[i][0], gStallCoords[i][1], gStallCoords[i][2]); // stallcheckpoint
        Create3DTextLabel("{FF0000}Stall\n{FFFFFF}/sbuy, /ssell", COLOR_RED, gStallCoords[i][0], gStallCoords[i][1], gStallCoords[i][2], 30, 0, 1);
    }
And crashdetect tells me this

pawn Код:
[10:57:58] [debug] Server crashed due to an unknown error
[10:57:58] [debug] Native backtrace:
[10:57:58] [debug] #0 002d460b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[10:57:58] [debug] #1 002cbe92 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[10:57:58] [debug] #2 002cd8d9 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[10:57:58] [debug] #3 002d42a0 in ?? () from plugins/crashdetect.so
[10:57:58] [debug] #4 00214410 in ?? ()
[10:57:58] [debug] #5 002d900f in amx_Init () from plugins/crashdetect.so
[10:57:58] [debug] #6 002d9427 in aux_LoadProgram () from plugins/crashdetect.so
[10:57:58] [debug] #7 002c3804 in _ZN13AMXPathFinder7AMXFileC1ERKSs () from plugins/crashdetect.so
[10:57:58] [debug] #8 002c3cb8 in _ZN13AMXPathFinder7FindAmxE9AMXScript () from plugins/crashdetect.so
[10:57:58] [debug] #9 002cddb2 in _ZN11CrashDetect4LoadEv () from plugins/crashdetect.so
[10:57:58] [debug] #10 002cfea6 in AmxLoad () from plugins/crashdetect.so
[10:57:58] [debug] #11 080c59d9 in ?? () from ./samp03svr
[10:57:58] [debug] #12 080ac7bf in ?? () from ./samp03svr
[10:57:58] [debug] #13 080b278d in ?? () from ./samp03svr
[10:57:58] [debug] #14 080b1057 in ?? () from ./samp03svr
[10:57:58] [debug] #15 0034bce6 in __libc_start_main () from /lib/libc.so.6
[10:57:58] [debug] #16 0804b521 in ?? () from ./samp03svr
Reply
#2

pawn Код:
enum E_STALL_DATA
{
    Float:E_STALL_X,
    Float:E_STALL_Y,
    Float:E_STALL_Z
};

new gStallCoords[18][E_STALL_DATA] =
{
    {-315.4249,1051.4526,19.7422}, // 0
    {-326.9075,1057.4795,19.7422}, // 1
    {-315.4249,1051.4526,19.7422}, // 2
    {-326.9075,1057.4795,19.7422}, // 3
    {-328.3491,1056.2740,19.7422}, // 4
    {-327.9832,1036.7263,19.7422}, // 5
    {-328.0762,1030.7684,19.7422}, // 6
    {-327.8653,1024.7919,19.7422}, // 7
    {-325.9924,1024.8948,19.7422}, // 8
    {-326.2047,1030.3770,19.7422}, // 9
    {-326.0833,1036.6663,19.7422}, // 10
    {-317.5712,1051.6528,19.7422}, // 11
    {-305.5118,1047.2552,19.7350}, // 12
    {-305.3342,1045.3851,19.7332}, // 13
    {-312.8089,1034.8125,19.7272}, // 14
    {-313.1465,1032.9255,19.7276}, // 15
    {-313.2080,1027.0558,19.7263}, // 16
    {-312.2288,1025.1843,19.7240}  // 17
};
pawn Код:
for (new i = 0; i < sizeof(gStallCoords); i ++)
    {
        CreateDynamicPickup(1239, 1, gStallCoords[i][E_STALL_X], gStallCoords[i][E_STALL_Y], gStallCoords[i][E_STALL_Z]); // stallcheckpoint
        Create3DTextLabel("{FF0000}Stall\n{FFFFFF}/sbuy, /ssell", COLOR_RED, gStallCoords[i][E_STALL_X], gStallCoords[i][E_STALL_Y], gStallCoords[i][E_STALL_Z], 30.0, 0);
    }
Reply
#3

Same thing
Reply
#4

It looks related to crashdetect itself. Try disabling the plugin and see if the server still crashes (though, be aware, it won't tell you in the server_log, it'll just stop).
Reply
#5

And I feel like a complete fucking blonde.

Thanks for helping out Ash. but why would the plugin be having issues?
Reply
#6

What version of the crashdetect are you using?

There's 4.12 beta and 4.11.2 that you can use!
Reply
#7

I don't even know what version holmes, I'm literally fucked up at the moment. Haven't slept in over 24 hours, need some sleep. Can't even understand a dam word that crosses my mind. xD, shockingly I can still type....

Nah JK, but I'm very tired, so I'll check that tomorrow.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)