Page 1 of 2 12>
Topic Options
#79184 - 2002-09-19 02:47 AM KiXtart v4.12 Beta 1 update
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Has anyone found any issues that may prevent this build from becoming a RELEASE version?

Please post any issues related to this build so that we can hopefully get it compiled as a release if no one finds or reports any issues.

Top
#79185 - 2002-09-21 02:51 AM Re: KiXtart v4.12 Beta 1 update
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
So no one is using or tyring this version? or it is ready for Production status?
Top
#79186 - 2002-09-21 05:17 PM Re: KiXtart v4.12 Beta 1 update
kholm Offline
Korg Regular
*****

Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
I have found noting serious [Smile]

All my script run with no modification, so i'm tempted to release a beta into production.

The only issues i have found until now is that the Set command dosn't work on Win95, but since
it hasn't worked in previous versions, this shouldn't prevent an upgrade.

Another small one is that if you use MessageBox() from a DOS console the messagebox dosn't get focus
the focus stays on the DOS console.
This last one i have only seen when running KiX32/WKiX32 from WinXP

-Erik

Top
#79187 - 2002-09-21 09:24 PM Re: KiXtart v4.12 Beta 1 update
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I haven't anything wrong either. However, it seems that COM is now working like a charm [Smile]
_________________________
There are two types of vessels, submarines and targets.

Top
#79188 - 2002-09-22 06:10 PM Re: KiXtart v4.12 Beta 1 update
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Okay, I have to revers my statement, I did find something, might be a memory leak.

The code posted below was run on a Pentium-III 1000 with 512MB RAM under Windows 2000 Server. It fails around the number combination 8,2,0,0 with an 'out-of-memory' error. Beforehand, memory consumption (as displayed in the Task Manager) is increasing constantly.

Additionally, in case of divisions by 0 , no 'division-by-zero' error is created but the division results in a mathematically incorrect '0'.

code:
BREAK ON
cls

$rc = redirectoutput(@SCRIPTDIR+'\game24full.txt')

DIM $rc, $out, $result, $i1, $i2, $i3, $i4, $shellcommand, $ticks

$rc=SETOPTION('Explicit','ON')
$rc=SETOPTION('NoVarsInString','ON')
$rc=SRND(@MSECS)


? 'Game24 KiXtart Golf running under KiXtart v'@KIX
? 'Computer = Pentium III '+@MHZ+' and '+MEMORYSIZE()+' RAM'
? ''

$ticks=@TICKS

for $i1=0 to 9
for $i2=0 to 9
for $i3=0 to 9
for $i4=0 to 9
? 'Numbers = '+$i1+', '+$i2+', '+$i3+', '+$i4
$out=Game24($i1,$i2,$i3,$i4)
if $out
? 'Result = '+$out
else
? 'No solution found'
endif
? ''
next
next
next
next

? ''
? 'Time = '+(@TICKS-$ticks)+' ticks'
; end of the kiXtart Golf validation script


;!
Function game24($,$b,$c,$d)
$game24=f(""+$+$b+$c+$d,"")
EndFunction
Function f($,$b)
Dim $e,$x,$y,$z,$a
If($)
For $x=1 to Len($)
$e=f(Left($,$x-1)+SubStr($,$x+1),$b+SubStr($,$x,1))
If $e $f=$e EndIf
Next
Else
$e=Split("+ - * /")
For Each $x In $e
For Each $y In $e
For Each $z In $e
$=Left($b,1)+".0"+$x+"("+SubStr($b,2,1)+".0"+$y+"("+SubStr($b,3,1)+".0"+$z+Right($b,1)+"))"
$z=Execute("$$a="+$)
If "24"=$a $f=$ EndIf
Next
Next
Next
EndIf
EndFunction
;!
;!

_________________________
There are two types of vessels, submarines and targets.

Top
#79189 - 2002-09-23 09:44 PM Re: KiXtart v4.12 Beta 1 update
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Shawn, Howard, Alex, Lonkero, etc...

Can anyone else analyze and confirm this to be a possible bug?

Top
#79190 - 2002-09-23 11:27 PM Re: KiXtart v4.12 Beta 1 update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
doc,
hoby has seen something and so have I.

just have to see that it really is kixtart and not the add-ons doing this...
_________________________
!

download KiXnet

Top
#79191 - 2002-09-23 11:36 PM Re: KiXtart v4.12 Beta 1 update
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
I have been out of it for a while..

Were we able to get the Access, SQL DB query stuff resolved with the new version?

Thanks!

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#79192 - 2002-09-23 11:44 PM Re: KiXtart v4.12 Beta 1 update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what I've seen on the board, they seems to working again...

still I wonder, what is the use if there is exchaustive access to DB and all kix gives is an:
"out of memory"

anyway, it seems that those problems were solved and the solving has introduced another stuff...

like, not working set on w9x (which should work in this version, I quess...).

 
_________________________
!

download KiXnet

Top
#79193 - 2002-09-24 03:38 PM Re: KiXtart v4.12 Beta 1 update
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
doc, I don't know do you use execute, but:
code:
$x=0
do $=execute("$$x=kbhit()") until $x

caused 30M of memory usage in 1 minute.

in normal logonscript it should have no effect but for exchaustive long running scripts it is real pain.
 
_________________________
!

download KiXnet

Top
#79194 - 2002-09-24 06:02 PM Re: KiXtart v4.12 Beta 1 update
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
I am getting out of memory errors when I leave my remote administation script running for about two hours with version 4.12 Beta 1.

I have been running a variation of this script since version 3.63 and have never received an out of memory before. My script is text based, so you can take kixforms out of the equation.
_________________________
Kelly

Top
#79195 - 2002-09-24 06:18 PM Re: KiXtart v4.12 Beta 1 update
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
krabourn,
It has already been shown that Execute() is leaky. Does your admin script have any Execute() statements? If not, then you should take apart your script and test them piece by piece to see where the leak may be and post the results.

TIA
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#79196 - 2002-09-24 06:27 PM Re: KiXtart v4.12 Beta 1 update
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
I don't use execute. I have call, shell, run and some WMI COM calls. Those are the closest to execute that I can think of. I guess I will have to check these out.
_________________________
Kelly

Top
#79197 - 2002-09-24 07:25 PM Re: KiXtart v4.12 Beta 1 update
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
OK, Here are my results. All of my tests lasted 60 seconds.

EXECUTE
Execute kept climbing the whole time.
Start: 172,532 K
Finish: 191,420 K
Difference: 18,888 K

code:
Break on
$x=0
do
$=execute("$$x=kbhit()")
until $x

CALL
Call kept climbing the whole time.
Start: 172,368 K
Finish: 179,836 K
Difference: 7,468 K

code:
Break On
$x=0
do
call ".\test-code.kix"
until $x

TEST-CODE.KIX
code:
$x=kbhit()

RUN
Run held steady.
Start: 172,532 K
Finish: 178,552 K
Difference: 6,020 K

code:
Break on
$x=0
do
Run('%Comspec% /C Dir .\ > Nul')
until $x

SHELL
Shell held steady.
Start: 172,564 K
Finish: 173,340 K
Difference: 766 K

code:
Break on
$x=0
do
Shell('%Comspec% /C Dir .\ > Nul')
until $x

WMI
WMI held steady.
Start: 185,336 K
Finish: 186,636 K
Difference: 1,300 K

code:
Break on
$x=0
do
$Locator = CreateObject ('WbemScripting.SWbemLocator')
$WMIConnect = $Locator.ConnectServer('.', 'root\CIMV2', $AdminName, '"' + $AdminPassword + '"')
$WMIConnectError = @error
IF $WMIConnectError = 0
$WMIConnect.Security_.ImpersonationLevel = 3
ENDIF
$Locator = ''
$WMIConnect = ''
$WMIConnectError = ''
until $x

Hope this helps.
_________________________
Kelly

Top
#79198 - 2002-09-24 07:33 PM Re: KiXtart v4.12 Beta 1 update
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Interesting leak using CALL. Good work documenting. I think we will have some fix requests for Ruud when he gets back.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#79199 - 2002-09-24 07:36 PM Re: KiXtart v4.12 Beta 1 update
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Yeah - think one can see a pattern emerging - not
outside the realm of possiblility that CALL and
EXECUTE might share the same code.

Top
#79200 - 2002-09-24 07:39 PM Re: KiXtart v4.12 Beta 1 update
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Call & Execute both leak in 4.02 also.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#79201 - 2002-09-24 07:41 PM Re: KiXtart v4.12 Beta 1 update
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
Call is probably the closest to Execute. I have one script that I made, for controling services, before there were UDFs and I have not converted it. I use Call to access it.

I guess this is a good insentive.
_________________________
Kelly

Top
#79202 - 2002-09-24 07:42 PM Re: KiXtart v4.12 Beta 1 update
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
[Eek!]
Top
#79203 - 2002-09-24 08:26 PM Re: KiXtart v4.12 Beta 1 update
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
just don't break COM again [Wink]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 1 of 2 12>


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.07 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.