Page 1 of 1 1
Topic Options
#198348 - 2010-04-07 06:21 PM Can anyone confirm this Kix Crash bug
IanDubbelboer Offline
Fresh Scripter

Registered: 2004-06-25
Posts: 24
This is a simple script to demonstrate the problem.

Verified crash for me on 4.60 and 4.61
This is being run on a remote XP SP3 computer with the following info:

Name: HOME1
IP: 192.168.1.100
FQDN: HOME1.TEST.COM

This is an established network with all services confirmed working as in PING, NSLOOKUP, NETSTAT all provide the predictable and correct results.

 Code:
BREAK ON
$Display = ENUMKEY("\\HOME1\HKLM\SYSTEM\CurrentControlSet\Enum\Display",0)

? "Works 1"

$Display = ENUMKEY("\\192.168.1.100\HKLM\SYSTEM\CurrentControlSet\Enum\Display",0)

? "Works 2"

$Display = ENUMKEY("\\HOME1.TEST.COM\HKLM\SYSTEM\CurrentControlSet\Enum\Display",0)

? "Works 3"

EXIT
 



If I run this script the results are:

Works 1
Works 2

Then Kixtart crashes with "KiXtart main executable has encountered a problem and needs to close. We are sorry for the inconvenience"

I can work around the problem, but is this a known issue?


Edited by IanDubbelboer (2010-04-07 06:41 PM)

Top
#198350 - 2010-04-07 06:36 PM Re: Can anyone confirm this Kix Crash bug [Re: IanDubbelboer]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4574
Loc: USA
Is this an example or straight from your script? Your keys should should be enclosed with quotes.

 Code:
$Display = ENUMKEY("\\HOME1.TEST.COM\HKLM\SYSTEM\CurrentControlSet\Enum\Display",0)
_________________________
(... better days ahead)

Top
#198351 - 2010-04-07 06:40 PM Re: Can anyone confirm this Kix Crash bug [Re: Allen]
IanDubbelboer Offline
Fresh Scripter

Registered: 2004-06-25
Posts: 24
The script is to demonstrate the bug only.

I agree proper form should have quotes. They make no difference in the problem though.

Top
#198352 - 2010-04-07 06:54 PM Re: Can anyone confirm this Kix Crash bug [Re: IanDubbelboer]
IanDubbelboer Offline
Fresh Scripter

Registered: 2004-06-25
Posts: 24
Further background on why this causes me issues. I have a toolbox application I wrote in Kix that does a bunch of admin tasks that I need on a daily basis. Our network spans multiple DNS domains, so there are times when I need to specify the FQDN of a system. In doing so, I found my application crashed. I tracked the crash to ENUMKEY and FQDN's

To be honest, I found the same crash happens with WRITEVALUE and READVALUE as well.


Edited by IanDubbelboer (2010-04-07 06:55 PM)

Top
#198354 - 2010-04-07 07:04 PM Re: Can anyone confirm this Kix Crash bug [Re: IanDubbelboer]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4574
Loc: USA
Curious. Have you tried kix 4.53? A number of changes started after this version.
_________________________
(... better days ahead)

Top
#198355 - 2010-04-07 07:39 PM Re: Can anyone confirm this Kix Crash bug [Re: IanDubbelboer]
IanDubbelboer Offline
Fresh Scripter

Registered: 2004-06-25
Posts: 24
Interesting! It does work fine under 4.53
Top
#198358 - 2010-04-07 08:52 PM Re: Can anyone confirm this Kix Crash bug [Re: IanDubbelboer]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4574
Loc: USA
Well if someone can verify this, we can move this and hope to get Ruud's attention for the next version.
_________________________
(... better days ahead)

Top
Page 1 of 1 1


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

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

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

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org