Closed karimcambridge closed 10 years ago
Could you post a repro?
I'm trying to create one but so far I cannot.
I am using my main gamemode which is around 60k lines.
I see you recently added a fix about tagof, but I don't think its that.
//#include regex
// I removed the <> between includes because apparently github wasn't showing it.
The release, Testing binaries 21/01/2014
Zeex released this 2 months ago · 10 commits to master since this release
works ..
but it didn't work so well with the sscanf2 include
0[14:35]
otherwise it worked! wow! nice increase in speed.
soo I tested the libraries from 24/01/2014 and it didn't work, the same instant crash happened.
https://github.com/Zeex/pawn/compare/binaries-21012014...master
so one of the commits between Jan 24, 2014 to Jan 25, 2014 must have messed up something!
" Zeex Optimize stringlist functions … fba30db Jan 25, 2014 Zeex Fix grow_stgbuffer() not updating buffer size … 200abb1 Zeex More optimal array growth factor … 77bde2e Zeex Revert "Optimize stringlist functions" … 8a32378 Zeex Apply patch from upstream SVN r4641 … 0aba449 Zeex Another stringlist fix … 7462512 Zeex Fix lots of compile warnings" ^ somewhere here probably messed it up ;.
Also, I ran the gamemode with the 21/01/2014 binary but I'm guessing it doesn't work!
[02/03/2014 14:44:21] Loaded 2 filterscripts.
[02/03/2014 14:44:21] Error: Function not registered: ''
[02/03/2014 14:44:21] Error: Function not registered: ''
[02/03/2014 14:44:21] [debug] Run time error 19: "File or function is not found"
[02/03/2014 14:44:21] [debug]
[02/03/2014 14:44:21] [debug]
[02/03/2014 14:44:21] [debug] Run time error 19: "File or function is not found"
[02/03/2014 14:44:21] [debug]
[02/03/2014 14:44:21] [debug]
[02/03/2014 14:44:21] Script[gamemodes/Kcnr.amx]: Run time error 19: "File or function is not found"
[02/03/2014 14:44:21] Number of vehicle models: 0
[02/03/2014 14:44:23] --- Server Shutting Down.
[02/03/2014 14:44:23] [debug] Run time error 19: "File or function is not found"
[02/03/2014 14:44:23] [debug]
[02/03/2014 14:44:23] [debug]
[02/03/2014 14:44:23] plugin.mysql: Unloading plugin...
[02/03/2014 14:44:23] plugin.mysql: Plugin unloaded.
all plugins we're loaded
Could you please capture a crash dump with the latest release (30/03/2014)? This link explains how: http://support.emsisoft.com/topic/3810-how-to-configure-automatic-crash-dumps-in-case-of-application-failures/
Here's your Dr Watson log
http://www.mediafire.com/download/tdxhdkyuuldg6k8/Dr_Watson.zip
Does it crash if you remove -r from the command line?
It crashes, but not instantly. Takes a good while (61k lines of code)
What is -r? should I really use it? it comes with the sa-mp package by default i think...
This is all that I'm getting in this log
Microsoft (R) DrWtsn32 Copyright (C) 1985-2001 Microsoft Corp. All rights reserved.
*There is no dump file
and an un open able kcnr amx file (getting access is denied trying to open them or move them, well I think only after putting them into the dr watson file so I could've zipped everything one time)
AFAIK -r generates XML documentation from comments. I guess it's a different crash now that you don't use it. Would you please upload another crash dump?
Sorry I edited the comment.
Oh so thats what was creating that xml file, okay.
It creates a 31kb amx file, no dump file is being created.
I don't know why no user.dmp isn't being created, these are my settings, http://puu.sh/7X6pQ.png
Here's the AMX file http://www.mediafire.com/download/rvr3btc8zyild3r/Kcnr.amx
Wow, I can compile again. This is the first binaries that I can compile on since early november 2013.
Nice job, it's all fixed now.
Little problem though,
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[06/04/2014 12:04:21]
[06/04/2014 12:04:21] Server Plugins
[06/04/2014 12:04:21] --------------
[06/04/2014 12:04:21] Loading plugin: crashdetect
[06/04/2014 12:04:21] CrashDetect v4.13.1 is OK.
[06/04/2014 12:04:21] Loaded.
[06/04/2014 12:04:21] Loading plugin: mysql
[06/04/2014 12:04:22] >> plugin.mysql: R38 successfully loaded.
[06/04/2014 12:04:22] Loaded.
[06/04/2014 12:04:22] Loading plugin: sscanf
[06/04/2014 12:04:22]
[06/04/2014 12:04:22] ===============================
[06/04/2014 12:04:22] sscanf plugin loaded.
[06/04/2014 12:04:22] Version: 2.8.1
[06/04/2014 12:04:22] (c) 2012 Alex "Y_Less" Cole
[06/04/2014 12:04:22] ===============================
[06/04/2014 12:04:22] Loaded.
[06/04/2014 12:04:22] Loading plugin: irc
[06/04/2014 12:04:22]
*** IRC Plugin v1.4.4 by Incognito loaded ***
[06/04/2014 12:04:22] Loaded.
[06/04/2014 12:04:22] Loading plugin: Whirlpool
[06/04/2014 12:04:22]
[06/04/2014 12:04:22] ==================
[06/04/2014 12:04:22]
[06/04/2014 12:04:22] Whirlpool loaded
[06/04/2014 12:04:22]
[06/04/2014 12:04:22] ==================
[06/04/2014 12:04:22]
[06/04/2014 12:04:22] Loaded.
[06/04/2014 12:04:22] Loading plugin: streamer
[06/04/2014 12:04:22] Loaded.
[06/04/2014 12:04:22] Loading plugin: MapAndreas
[06/04/2014 12:04:22] Loaded.
[06/04/2014 12:04:22] Loading plugin: nativechecker
[06/04/2014 12:04:22] Loaded.
[06/04/2014 12:04:22] Loaded 8 plugins.
[06/04/2014 12:04:22]
[06/04/2014 12:04:22] Filterscripts
[06/04/2014 12:04:22] ---------------
[06/04/2014 12:04:22] Loading filterscript 'rconfix.amx'...
[06/04/2014 12:04:23]
--RCON Fix FS loaded.
[06/04/2014 12:04:23] Loading filterscript 'TD_Editor_v3.1.amx'...
[06/04/2014 12:04:23]
--------------------------------------
[06/04/2014 12:04:23] Text Draw Editor 1.0RC2 (v3.1) by Zamaroht for SA-MP 0.3 Loaded.
[06/04/2014 12:04:23] --------------------------------------
[06/04/2014 12:04:23] Loaded 2 filterscripts.
[06/04/2014 12:04:24] *** Streamer Plugin: Warning: Include file version (0x6d) does not match plugin version (0x27101) (script might need to be recompiled with the latest include file)
[06/04/2014 12:04:24] [debug] Run time error 22: "AMX not initialized (or doubly initialized)"
[06/04/2014 12:04:24] [debug] Run time error 22: "AMX not initialized (or doubly initialized)"
[06/04/2014 12:04:24] Script[gamemodes/Kcnr.amx]: Run time error 22: "AMX not initialized (or doubly initialized)"
[06/04/2014 12:04:24] Number of vehicle models: 0
[06/04/2014 12:04:28] --- Server Shutting Down.
[06/04/2014 12:04:28] [debug] Run time error 22: "AMX not initialized (or doubly initialized)"
[06/04/2014 12:04:28] plugin.mysql: Unloading plugin...
[06/04/2014 12:04:28] plugin.mysql: Plugin unloaded.
[06/04/2014 12:04:28]
[06/04/2014 12:04:28] ===============================
[06/04/2014 12:04:28] sscanf plugin unloaded.
[06/04/2014 12:04:28] ===============================
[06/04/2014 12:04:28]
*** IRC Plugin v1.4.4 by Incognito unloaded ***
[06/04/2014 12:04:28]
[06/04/2014 12:04:28] ====================
[06/04/2014 12:04:28]
[06/04/2014 12:04:28] Whirlpool unloaded
[06/04/2014 12:04:28]
[06/04/2014 12:04:28] ====================
[06/04/2014 12:04:28]
[06/04/2014 12:04:28]
*** Streamer Plugin v2.7.1 by Incognito unloaded ***
You fixed it! my gamemode now runs in the 21/04/2014 binaries!
Glad to hear that!
As soon as I click F4 to compile, boom the compiler crashes.
Windows XP SP3
http://puu.sh/77zI3.png