MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000138Soldat Dedicated ServerScripting Corepublic2011-12-06 04:242012-07-30 00:05
ReporterSzaman 
Assigned ToFalcon 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionwon't fix 
Platformx86OSWindowsOS Version7 SP1
Product Version2.7.2 
Target VersionFixed in Version2.7.4 
Summary0000138: Creation of sockets in scripts (via EnEsCe manual) causes Out of Range/Access Violation error
DescriptionUsing this code as the only scipt: http://4programmers.net/Pastebin/1467 [^]
I get:
[*] [Error] spect-join -> (MainSocketLoop): Out of range
when "safe mode" is ON
and this:
[*] [Error] spect-join -> (ThreadedCreate): Access Violation at address 004E52EE in module 'soldatserver.exe'. Write of address 0000008C.
when "safe mode" in OFF.

(spect-join is a name of script file)

This occurs on the newest version of server (2.7.2). See also "additional information".
Steps To Reproduce1. Create new script
2. Enable scripting in server
3. Paste code into script file
4. Run the server with/without safe mode (-safe option).
5. Observe messages
Additional InformationOn the picture u can see both situations (safe mode ON/OFF) and sometimes there is duplicated info about "function disabled".

Error occurs also on 2.7.0 version.
Error NOT occurs in server 2.6.3 version (2.2 of ScriptCore) - bug (?) with "out of range" also occurs there but no Access Violation with no safemode.
Also 2.6.3 correctly handles connection to remote server problem - error "connection refused".

In case of additional info: e-mail me.
TagsNo tags attached.
John
Attached Filespng file icon server bugs.png [^] (198,260 bytes) 2011-12-06 04:24

- Relationships

-  Notes
(0001259)
Szaman (reporter)
2011-12-06 15:14

"(spect-join is a name of script file)" -> of course not, this is name of the directory. Sorry for mistake ;) Name of file is sockets.pas.
(0001374)
Falcon (administrator)
2012-02-29 20:16

There's no much we can do about this. It's all about threads being desynchronized and that's quite a lot of code to fix.
(0001574)
Falcon (administrator)
2012-07-30 00:05

Socket functions has been removed from source. If you need socket support, please use DLLs instead, or consider using adminport.

- Issue History
Date Modified Username Field Change
2011-12-06 04:24 Szaman New Issue
2011-12-06 04:24 Szaman File Added: server bugs.png
2011-12-06 15:14 Szaman Note Added: 0001259
2012-02-29 20:16 Falcon Note Added: 0001374
2012-02-29 20:16 Falcon Assigned To => Falcon
2012-02-29 20:16 Falcon Status new => confirmed
2012-05-24 20:52 Falcon Assigned To Falcon =>
2012-07-30 00:05 Falcon Note Added: 0001574
2012-07-30 00:05 Falcon Status confirmed => closed
2012-07-30 00:05 Falcon Assigned To => Falcon
2012-07-30 00:05 Falcon Resolution open => won't fix
2012-07-30 00:05 Falcon Fixed in Version => 2.7.4


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker