View Full Version : Migrating from V2
Jannie
12 Jan 05, 07:44 AM
Tried the Toolkit for the first time today. What a battle!
Software installed fine on clean Win2K system. However cannot get the system up. Scanning network and most other actions either produces Toolkit error messages, crashes or just hangs.
System: Win2K with PCI on Com1.
Some questions:
1) How do I migrate a V2 project? I've tried copying the V2 project directory but when I do an Import, it crashes.
2) How do I set the network number, it seems to default to 254 and I cannot see where to change it. The network is set to 2.
3) When I use the "Find Networks" option, the system sees the interface, identfy the project. It then opens the network and "Identify Duplicate Units". It then pops up with a cannot open network error.
If I 'ping' the network it sees all the units on the network.
Any ideas? Where can I find decent documentation?
Duncan
12 Jan 05, 08:06 AM
Tried the Toolkit for the first time today. What a battle!
Software installed fine on clean Win2K system. However cannot get the system up. Scanning network and most other actions either produces Toolkit error messages, crashes or just hangs.
System: Win2K with PCI on Com1.
Some questions:
1) How do I migrate a V2 project? I've tried copying the V2 project directory but when I do an Import, it crashes.
2) How do I set the network number, it seems to default to 254 and I cannot see where to change it. The network is set to 2.
3) When I use the "Find Networks" option, the system sees the interface, identfy the project. It then opens the network and "Identify Duplicate Units". It then pops up with a cannot open network error.
If I 'ping' the network it sees all the units on the network.
Any ideas? Where can I find decent documentation?
Sorry to hear you're having trouble.
Could you advise what version Toolkit you're using and what the error messages are? Also, what version PCI are you using?
Jannie
12 Jan 05, 08:17 AM
V1.1.4. Not to sure about the PCI version. It's a DIN rail unit, installed in the last year. Can I check via C-Gate 1.5?
I copied the V2 project directory into the same location on the new machine. When I import the project the systems say 'Importing Project..." but this seems to carry on forever. How long should a project take to import. After 20 minutes or so, I have to kill the app and restart.
I often get a "Cannot open network" error.
Other times I get a Win2K OS error, saying the application terminated.
Duncan
12 Jan 05, 08:19 AM
V1.1.4. Not to sure about the PCI version. It's a DIN rail unit, installed in the last year. Can I check via C-Gate 1.5?
I copied the V2 project directory into the same location on the new machine. When I import the project the systems say 'Importing Project..." but this seems to carry on forever. How long should a project take to import. After 20 minutes or so, I have to kill the app and restart.
I often get a "Cannot open network" error.
Other times I get a Win2K OS error, saying the application terminated.
It certainly shouldnt take 20 mins..
You can check the firmware version of the PCI using V2 and checking the Status Tab of the PCI..
Is the serial port a real DB9 COM Port or a USB Device?
Jannie
12 Jan 05, 08:32 AM
It's a 232 port on a desktop machine.
Don't have V2 available to check as I put the Toolkit PC on the interface.
I also have a TICA installed on the same system connected via Com2. It seems to pick it up as a PCI. I get the same result when trying to use the TICA interface.
Duncan
12 Jan 05, 08:36 AM
It's a 232 port on a desktop machine.
Don't have V2 available to check as I put the Toolkit PC on the interface.
I also have a TICA installed on the same system connected via Com2. It seems to pick it up as a PCI. I get the same result when trying to use the TICA interface.
Thanks Jannie,
Its puzzling.. Whilst we have had SOME problems with comms, its generally be resolvable to issues with old PCI's/Minder.. Further, now that you've essentially tried 2 PCI's I'm beginning to wonder if there's 'issues' on the Network you're trying to scan with poor comms, is that a possibility?
Jannie
12 Jan 05, 08:40 AM
Hi,
So is Tica a PCI?
The network is extremely stable. The production C-gate is 1.5 with 3 (older) PCI's and everything seems to work fine.
Why won't the project import? Does it scan as it import or is the omport first completed before it connects to the network?
Why is it coming up with a default network number of 254?
Jannie
12 Jan 05, 08:43 AM
CAn it not be a C-Gate 2 issue? I noticed their is no networks.txt file on v2. Must I create it. The PCI connects to network 2 with bridges to networks 1 and 3.
Duncan
12 Jan 05, 08:43 AM
Hi,
So is Tica a PCI?
The network is extremely stable. The production C-gate is 1.5 with 3 (older) PCI's and everything seems to work fine.
Why won't the project import? Does it scan as it import or is the omport first completed before it connects to the network?
Why is it coming up with a default network number of 254?
Network's number downwards from 254.
The project import is a good question, are you able to send us a CB2 file that we can try ourselves?
You dont need to import in order to scan the network. Try setting your default Com Port under File|Preferences then press the "Scan Network" button.
Jannie
13 Jan 05, 05:37 AM
I kept on trying to import the database and after one crash, when I restarted the program the database was imported! I can now load the project from the db. I made no changes prior to this.
The topology consists of three networks, with a PCI to the 'center network', Network 2. Network 1 and 3 are connected via bridges.
I can now scan network 2 (the directly PCI-connected network), but cannot scan network 1 and 3 (the bridge-connected networks).
I can ping networks 1 and 3 and it replies with the correct units, but when I try to scan the networks, it sits on the 'Scanning for duplicates; screen for a while and then gives an error 3051 'Network failed to open'.
1) Are there any special setups for a three networked, bridged topology?
2) Do I not need a networks.txt file for C-Gate?
PCI Firmware is 3.11.
Bridge Firmware is 4.1.00
Jannie
13 Jan 05, 07:10 AM
Because I managed to scan the PCI-network after 30 or so attempts, I did the same with the bridge-connected networks, i.e. start the scan, software crashes or hang up, restart the software and scan.
After many of these attempts, it just now suddenly started scanning one of the remote networks, found all the units and while retrieving the groups, crashed.....
Surely this software is not fit for production?
I especially built a clean Win2K installation, loaded all the Microsoft patches (to ensure as clean an environment as possible) and then installed the Toolkit. Therefore the fact that the software crashes all the time points to a flaky application.
When will we see stable software?
Jannie
13 Jan 05, 07:17 AM
Once again tried scanning the bridge-connected network, this time using the Scan New Units option. It found 32 of around 80 units and then crashed with the following error log.:
--------------------------------------------------------------------------------
TITLE
--------------------------------------------------------------------------------
Application Error
--------------------------------------------------------------------------------
USER COMMENTS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CUSTOM INFO
--------------------------------------------------------------------------------
Version = 1.1.4
Build = 124
--------------------------------------------------------------------------------
ERROR MESSAGE
--------------------------------------------------------------------------------
Exception 'ECGateCommandTimeOut' in module CBusToolkit1_1.exe at 0012DC1C
TcgcNetSyncNew120-completed MMI 1 of 1.
303-New Unit Found: address=2 type=BRIDGE2F version=4.1.00 serial=80698.49
303-New Unit Found: address=8 type=PC_INT_1 version=3.06 serial={none}
303-New Unit Found: address=61 type=RELDN12 version=1.1.28 serial=63354.73
303-New Unit Found: address=62 type=RELDN12 version=1.1.28 serial=63354.70
303-New Unit Found: address=63 type=RELDN12 version=1.1.28 serial=63354.57
303-New Unit Found: address=64 type=RELDN12 version=1.1.28 serial=63354.71
303-New Unit Found: address=66 type=RELDN12 version=1.1.28 serial=63354.75
303-New Unit Found: address=67 type=RELDN12 version=1.1.23 serial=58950.19
303-New Unit Found: address=68 type=RELDN12 version=1.1.28 serial=63354.79
303-New Unit Found: address=69 type=RELDN12 version=1.1.23 serial=58950.346
303-New Unit Found: address=71 type=RELDN12 version=1.1.28 serial=63354.74
303-New Unit Found: address=72 type=RELDN12 version=1.1.28 serial=63354.76
--------------------------------------------------------------------------------
CALL STACK
--------------------------------------------------------------------------------
Call stack:
:0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
:7C59BBF3 [kernel32.dll]
Recursive call (3 times):
:0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
:77A82955 [ole32.dll]
Recursive call (2 times):
:0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
:0040776D [CBusToolkit1_1.exe] DynArrayHigh (system.pas, line 10344)
:00411EE6 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.WriterIsOnlyR eader (sysutils.pas, line 7071)
:00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
:0064A121 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.SetTimeout (CIS_TThreadWrappedIndySocket.pas, line 587)
:00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
:00649DB7 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteBuffer_EndWrite (CIS_TThreadWrappedIndySocket.pas, line 463)
:00649F7B [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteLine (CIS_TThreadWrappedIndySocket.pas, line 525)
:0064A6C4 [CBusToolkit1_1.exe] TThreadCommandSocket.ProcessCommand (CIS_TThreadWrappedIndySocket.pas, line 825)
:00648BB3 [CBusToolkit1_1.exe] TcgConnectionAdministrator.SendCommand (CIS_TcgConnectionAdministrator.pas, line 42)
:0052E2DB [CBusToolkit1_1.exe] InternalSendCommand (CIS_TCGateCommand.pas, line 201)
:0052E3ED [CBusToolkit1_1.exe] TCGateCommand.CommandExecute (CIS_TCGateCommand.pas, line 240)
:0040286F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 942)
:0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
:00402C95 [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1123)
:00402CBD [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1127)
:00402FC8 [CBusToolkit1_1.exe] SysReallocMem (GETMEM.INC, line 1253)
:00402FEE [CBusToolkit1_1.exe] SysReallocMem (GETMEM.INC, line 1258)
:00403043 [CBusToolkit1_1.exe] ReallocMem (system.pas, line 1257)
:0040504F [CBusToolkit1_1.exe] LStrSetLength (system.pas, line 6684)
:00404D30 [CBusToolkit1_1.exe] LStrCat (system.pas, line 6080)
:00641CC2 [CBusToolkit1_1.exe] TCGateObject.GetAddressAsCGateID (CIS_TCBusObject.pas, line 225)
:00641CE5 [CBusToolkit1_1.exe] TCGateObject.GetAddressAsCGateID (CIS_TCBusObject.pas, line 227)
:00641C7A [CBusToolkit1_1.exe] TCGateObject.GetOIDAsCGateID (CIS_TCBusObject.pas, line 218)
:005BB63B [CBusToolkit1_1.exe] TCBusNetworkCGateAgent.NetworkIdentifier (CIS_TCBusNetworkCGateAgent.pas, line 282)
:005BE1C3 [CBusToolkit1_1.exe] TCBusNetworkCGateAgent.NetSyncNew (CIS_TCBusNetworkCGateAgent.pas, line 1414)
:005BE3BF [CBusToolkit1_1.exe] TCBusNetworkCGateAgent.SyncForNewUnits (CIS_TCBusNetworkCGateAgent.pas, line 1442)
:005BB0D5 [CBusToolkit1_1.exe] TCBusNetworkCGateAgent.AgentLoad (CIS_TCBusNetworkCGateAgent.pas, line 182)
:00532807 [CBusToolkit1_1.exe] TPersistableObject.StorageLoad (CIS_TIdentifiableObject.pas, line 109)
:00709F04 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnScanNewUnits (CIS_TddPhysicalUnitsDisplay.pas, line 2216)
:00508151 [CBusToolkit1_1.exe] TTBCustomItem.Click (TB2Item.pas, line 1350)
:00508096 [CBusToolkit1_1.exe] TTBCustomItem.ClickWndProc (TB2Item.pas, line 1318)
:00463D1E [CBusToolkit1_1.exe] StdWndProc (Forms.pas, line 1459)
:77E11EF0 [user32.dll]
:77E1204C [user32.dll]
:77E117A0 [user32.dll]
:77E15E6E [user32.dll]
:77E15F69 [user32.dll]
:0046EA59 [CBusToolkit1_1.exe] TApplication.ProcessMessage (Forms.pas, line 6630)
:0046EAA0 [CBusToolkit1_1.exe] TApplication.HandleMessage (Forms.pas, line 6649)
:0046B08D [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4692)
:0046B11B [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4700)
:0046B1C7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
:0046B1E7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
:0051346F [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 127)
:005134BB [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 135)
:77E13869 [user32.dll]
:77E177F4 [user32.dll]
:77E17803 [user32.dll]
:0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
:00402E9F [CBusToolkit1_1.exe] ResizeInPlace (GETMEM.INC, line 1198)
:0040C2DD [CBusToolkit1_1.exe] FileExists (sysutils.pas, line 2882)
:0064AD54 [CBusToolkit1_1.exe] TddMainFormDialogDirector.Direct (CIS_TddMainFormDialogDirector.pas, line 26)
:00504C70 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 162)
:00504CB7 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 167)
:00738EF1 [CBusToolkit1_1.exe] TamgKipper.Run (CIS_TamgKipper.pas, line 413)
:007C078E [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
:007C07A4 [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
:7C59893D [kernel32.dll]
--------------------------------------------------------------------------------
REGISTERS
--------------------------------------------------------------------------------
Main Thread ID = 00000400, Current Thread ID = 00000400
Registers:
EAX = 0012F8E8 CS = 001B EIP = 7C59BBF3 Flags = 00000202
EBX = 0490AFA4 SS = 0023 ESP = 0012F8E0 EBP = 0012F938
ECX = 00000000 DS = 0023 ESI = 0012F96C FS = 003B
EDX = 0052EC1C ES = 0023 EDI = 0012F918 GS = 0000
Code at CS:EIP
5F 5E C9 C2 10 00 8B 4C 24 04 A1 F0 A1 5C 7C 89
Stack:
0490AFA4 017806C4 0EEDFADE 00000001 00000000
00000000 00000000 7C59893D 00403A05 048455D4
0042690B 04AAA17C 0000000B 00000000 04B82330
7C59893D FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
Duncan
13 Jan 05, 07:33 AM
Because I managed to scan the PCI-network after 30 or so attempts, I did the same with the bridge-connected networks, i.e. start the scan, software crashes or hang up, restart the software and scan.
After many of these attempts, it just now suddenly started scanning one of the remote networks, found all the units and while retrieving the groups, crashed.....
Surely this software is not fit for production?
I especially built a clean Win2K installation, loaded all the Microsoft patches (to ensure as clean an environment as possible) and then installed the Toolkit. Therefore the fact that the software crashes all the time points to a flaky application.
When will we see stable software?
Jannie,
Thanks for the further information.. I'm puzzled to say the least.
Can you try something else for me? Under File -> Preferences there is two options labelled "Live Group Levels" and "Application Log" could you ensure turn these off (Uncheck them) and try again.
Thanks for persisting thus far.
Duncan
13 Jan 05, 07:37 AM
One more thing to check..
Have you changed the Event Level setting of the CGate2 instance? It should be at 5 or lowe.r
Jannie
13 Jan 05, 07:40 AM
After the partial scan of network 3 (Toolkit crashed), I tried scanning again and it completed the scan and I could move the network to the db. This was on network 3.
I then first tried scanning network 1 and got the normal 'Network failed to open' error.
I then unchecked the tickboxes as you requested and rescanned with same results.
How does C-Gate work with mutiple networks if their is no license file?
Jannie
13 Jan 05, 07:44 AM
Toolkit was idling (i.e. I was not active on the application), when I went back to the system it had crashed with the following log:
--------------------------------------------------------------------------------
TITLE
--------------------------------------------------------------------------------
Application Error
--------------------------------------------------------------------------------
USER COMMENTS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CUSTOM INFO
--------------------------------------------------------------------------------
Version = 1.1.4
Build = 124
--------------------------------------------------------------------------------
ERROR MESSAGE
--------------------------------------------------------------------------------
Exception 'ECGateCommandTimeOut' in module CBusToolkit1_1.exe at 0012DC1C
TcgcProjectSave
Module: CIS_TCGateCommand, Source: CIS_TCGateCommand.pas, Line 539
Procedure: TThreadCommandSynchroniser.ProcessResponses
--------------------------------------------------------------------------------
CALL STACK
--------------------------------------------------------------------------------
Call stack:
:0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
:7C59BBF3 [kernel32.dll]
Recursive call (3 times):
:0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
:77A72C2B [ole32.dll]
:77A82955 [ole32.dll]
:00402C95 [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1123)
:00402CBD [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1127)
:004193B5 [CBusToolkit1_1.exe] TStringList.Find (Classes.pas, line 3350)
:0040222F [CBusToolkit1_1.exe] InternalFreeMem (GETMEM.INC, line 684)
:0040776D [CBusToolkit1_1.exe] DynArrayHigh (system.pas, line 10344)
:00411EE6 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.WriterIsOnlyR eader (sysutils.pas, line 7071)
:00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
:0064A121 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.SetTimeout (CIS_TThreadWrappedIndySocket.pas, line 587)
:00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
:00649DB7 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteBuffer_EndWrite (CIS_TThreadWrappedIndySocket.pas, line 463)
:00649F7B [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteLine (CIS_TThreadWrappedIndySocket.pas, line 525)
:0064A6C4 [CBusToolkit1_1.exe] TThreadCommandSocket.ProcessCommand (CIS_TThreadWrappedIndySocket.pas, line 825)
:00648BB3 [CBusToolkit1_1.exe] TcgConnectionAdministrator.SendCommand (CIS_TcgConnectionAdministrator.pas, line 42)
:0052E2DB [CBusToolkit1_1.exe] InternalSendCommand (CIS_TCGateCommand.pas, line 201)
:0052E3ED [CBusToolkit1_1.exe] TCGateCommand.CommandExecute (CIS_TCGateCommand.pas, line 240)
:00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
:7C599970 [kernel32.dll]
:00402ABC [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
:0040442E [CBusToolkit1_1.exe] TryFinallyExit (system.pas, line 4931)
:00402A22 [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1004)
:00402ABD [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
:00403075 [CBusToolkit1_1.exe] ReallocMem (system.pas, line 1281)
:0040792F [CBusToolkit1_1.exe] DynArraySetLength (system.pas, line 10450)
:00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
:00411E5A [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.Create (sysutils.pas, line 7051)
:00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
:00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
:0052E7DC [CBusToolkit1_1.exe] TThreadCommandSynchroniser.Create (CIS_TCGateCommand.pas, line 422)
:00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
:004EF0E9 [CBusToolkit1_1.exe] TFlashEntityManager.ResolveChange (CIS_TCustomFlashObject.pas, line 3656)
:004EE175 [CBusToolkit1_1.exe] TCISAttribute.ResolveChange (CIS_TCustomFlashObject.pas, line 3121)
:00534BEE [CBusToolkit1_1.exe] TStringAttribute.GetAsString (CIS_TStringAttribute.pas, line 95)
:00543E36 [CBusToolkit1_1.exe] TProjectCGateAgent.ProjectIdentifier (CIS_TProjectCGateAgent.pas, line 100)
:00544B67 [CBusToolkit1_1.exe] TProjectCGateAgent.CommandProjectSave (CIS_TProjectCGateAgent.pas, line 372)
:0054474C [CBusToolkit1_1.exe] TProjectCGateAgent.SaveProject (CIS_TProjectCGateAgent.pas, line 280)
:00544036 [CBusToolkit1_1.exe] TProjectCGateAgent.AgentSave (CIS_TProjectCGateAgent.pas, line 156)
:005327B4 [CBusToolkit1_1.exe] TPersistableObject.StorageSave (CIS_TIdentifiableObject.pas, line 96)
:00706DA4 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 930)
:0040442E [CBusToolkit1_1.exe] TryFinallyExit (system.pas, line 4931)
:00706B8D [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 868)
:00706DF4 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 941)
:00508151 [CBusToolkit1_1.exe] TTBCustomItem.Click (TB2Item.pas, line 1350)
:00508096 [CBusToolkit1_1.exe] TTBCustomItem.ClickWndProc (TB2Item.pas, line 1318)
:00463D1E [CBusToolkit1_1.exe] StdWndProc (Forms.pas, line 1459)
:77E11EF0 [user32.dll]
:77E1204C [user32.dll]
:77E117A0 [user32.dll]
:77E15E6E [user32.dll]
:77E15F69 [user32.dll]
:0046EA59 [CBusToolkit1_1.exe] TApplication.ProcessMessage (Forms.pas, line 6630)
:0046EAA0 [CBusToolkit1_1.exe] TApplication.HandleMessage (Forms.pas, line 6649)
:0046B08D [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4692)
:0046B11B [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4700)
:0046B1C7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
:0046B1E7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
:0051346F [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 127)
:005134BB [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 135)
:77E13869 [user32.dll]
:77E177F4 [user32.dll]
:77E17803 [user32.dll]
:0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
:00402E9F [CBusToolkit1_1.exe] ResizeInPlace (GETMEM.INC, line 1198)
:0040C2DD [CBusToolkit1_1.exe] FileExists (sysutils.pas, line 2882)
:0064AD54 [CBusToolkit1_1.exe] TddMainFormDialogDirector.Direct (CIS_TddMainFormDialogDirector.pas, line 26)
:00504C70 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 162)
:00504CB7 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 167)
:00738EF1 [CBusToolkit1_1.exe] TamgKipper.Run (CIS_TamgKipper.pas, line 413)
:007C078E [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
:007C07A4 [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
:7C59893D [kernel32.dll]
--------------------------------------------------------------------------------
REGISTERS
--------------------------------------------------------------------------------
Main Thread ID = 00000400, Current Thread ID = 00000400
Registers:
EAX = 0012F8C8 CS = 001B EIP = 7C59BBF3 Flags = 00000202
EBX = 06757BBC SS = 0023 ESP = 0012F8C0 EBP = 0012F918
ECX = 00000000 DS = 0023 ESI = 0012F94C FS = 003B
EDX = 0052EC1C ES = 0023 EDI = 0012F8F8 GS = 0000
Code at CS:EIP
5F 5E C9 C2 10 00 8B 4C 24 04 A1 F0 A1 5C 7C 89
Stack:
06757BBC 017806C4 0EEDFADE 00000001 00000000
00000000 00000000 7C59893D 00403A05 067589F0
0042690B 0675A0DC 0000000B 00000000 04B82330
7C59893D FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
Duncan
13 Jan 05, 07:48 AM
I then first tried scanning network 1 and got the normal 'Network failed to open' error.
I then unchecked the tickboxes as you requested and rescanned with same results.
Network 1 is your local network or a bridged network?
How does C-Gate work with mutiple networks if their is no license file?
Toolkit 'unlocks' CGate to work with all Networks.
Jannie, would you be able to give me:
1. the firmware versions of the PCI
2. the firmware version of the bridge
3. the Java version that is running on the machine "java -version" at a command prompt will show that.
I'll get a network set up with Win2k, the same Java, PCI's and Bridges.. but based on the already significant testing we've already done I'm almost certain that we're not going to find a testing. At this point I'm wondering if there's something on your Network generating messages or traffic that are causing problems for Toolkit.. Is there any chance of your building a smaller network to rule out problems with the particular machine that you're using or finding another machine to test against that Network?
Also, if you look in the Java console window, does CGate appear to have any exceptions or errors being raised?
I know this is an imposition on your no doubt busy time but I really want to get to the bottom of it.
Jannie
13 Jan 05, 08:04 AM
Toolkit was idling (i.e. I was not active on the application), when I went back to the system it had crashed with the following log:
--------------------------------------------------------------------------------
TITLE
--------------------------------------------------------------------------------
Application Error
--------------------------------------------------------------------------------
USER COMMENTS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CUSTOM INFO
--------------------------------------------------------------------------------
Version = 1.1.4
Build = 124
--------------------------------------------------------------------------------
ERROR MESSAGE
--------------------------------------------------------------------------------
Exception 'ECGateCommandTimeOut' in module CBusToolkit1_1.exe at 0012DC1C
TcgcProjectSave
Module: CIS_TCGateCommand, Source: CIS_TCGateCommand.pas, Line 539
Procedure: TThreadCommandSynchroniser.ProcessResponses
--------------------------------------------------------------------------------
CALL STACK
--------------------------------------------------------------------------------
Call stack:
:0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
:7C59BBF3 [kernel32.dll]
Recursive call (3 times):
:0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
:77A72C2B [ole32.dll]
:77A82955 [ole32.dll]
:00402C95 [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1123)
:00402CBD [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1127)
:004193B5 [CBusToolkit1_1.exe] TStringList.Find (Classes.pas, line 3350)
:0040222F [CBusToolkit1_1.exe] InternalFreeMem (GETMEM.INC, line 684)
:0040776D [CBusToolkit1_1.exe] DynArrayHigh (system.pas, line 10344)
:00411EE6 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.WriterIsOnlyR eader (sysutils.pas, line 7071)
:00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
:0064A121 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.SetTimeout (CIS_TThreadWrappedIndySocket.pas, line 587)
:00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
:00649DB7 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteBuffer_EndWrite (CIS_TThreadWrappedIndySocket.pas, line 463)
:00649F7B [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteLine (CIS_TThreadWrappedIndySocket.pas, line 525)
:0064A6C4 [CBusToolkit1_1.exe] TThreadCommandSocket.ProcessCommand (CIS_TThreadWrappedIndySocket.pas, line 825)
:00648BB3 [CBusToolkit1_1.exe] TcgConnectionAdministrator.SendCommand (CIS_TcgConnectionAdministrator.pas, line 42)
:0052E2DB [CBusToolkit1_1.exe] InternalSendCommand (CIS_TCGateCommand.pas, line 201)
:0052E3ED [CBusToolkit1_1.exe] TCGateCommand.CommandExecute (CIS_TCGateCommand.pas, line 240)
:00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
:7C599970 [kernel32.dll]
:00402ABC [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
:0040442E [CBusToolkit1_1.exe] TryFinallyExit (system.pas, line 4931)
:00402A22 [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1004)
:00402ABD [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
:00403075 [CBusToolkit1_1.exe] ReallocMem (system.pas, line 1281)
:0040792F [CBusToolkit1_1.exe] DynArraySetLength (system.pas, line 10450)
:00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
:00411E5A [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.Create (sysutils.pas, line 7051)
:00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
:00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
:0052E7DC [CBusToolkit1_1.exe] TThreadCommandSynchroniser.Create (CIS_TCGateCommand.pas, line 422)
:00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
:004EF0E9 [CBusToolkit1_1.exe] TFlashEntityManager.ResolveChange (CIS_TCustomFlashObject.pas, line 3656)
:004EE175 [CBusToolkit1_1.exe] TCISAttribute.ResolveChange (CIS_TCustomFlashObject.pas, line 3121)
:00534BEE [CBusToolkit1_1.exe] TStringAttribute.GetAsString (CIS_TStringAttribute.pas, line 95)
:00543E36 [CBusToolkit1_1.exe] TProjectCGateAgent.ProjectIdentifier (CIS_TProjectCGateAgent.pas, line 100)
:00544B67 [CBusToolkit1_1.exe] TProjectCGateAgent.CommandProjectSave (CIS_TProjectCGateAgent.pas, line 372)
:0054474C [CBusToolkit1_1.exe] TProjectCGateAgent.SaveProject (CIS_TProjectCGateAgent.pas, line 280)
:00544036 [CBusToolkit1_1.exe] TProjectCGateAgent.AgentSave (CIS_TProjectCGateAgent.pas, line 156)
:005327B4 [CBusToolkit1_1.exe] TPersistableObject.StorageSave (CIS_TIdentifiableObject.pas, line 96)
:00706DA4 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 930)
:0040442E [CBusToolkit1_1.exe] TryFinallyExit (system.pas, line 4931)
:00706B8D [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 868)
:00706DF4 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 941)
:00508151 [CBusToolkit1_1.exe] TTBCustomItem.Click (TB2Item.pas, line 1350)
:00508096 [CBusToolkit1_1.exe] TTBCustomItem.ClickWndProc (TB2Item.pas, line 1318)
:00463D1E [CBusToolkit1_1.exe] StdWndProc (Forms.pas, line 1459)
:77E11EF0 [user32.dll]
:77E1204C [user32.dll]
:77E117A0 [user32.dll]
:77E15E6E [user32.dll]
:77E15F69 [user32.dll]
:0046EA59 [CBusToolkit1_1.exe] TApplication.ProcessMessage (Forms.pas, line 6630)
:0046EAA0 [CBusToolkit1_1.exe] TApplication.HandleMessage (Forms.pas, line 6649)
:0046B08D [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4692)
:0046B11B [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4700)
:0046B1C7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
:0046B1E7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
:0051346F [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 127)
:005134BB [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 135)
:77E13869 [user32.dll]
:77E177F4 [user32.dll]
:77E17803 [user32.dll]
:0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
:00402E9F [CBusToolkit1_1.exe] ResizeInPlace (GETMEM.INC, line 1198)
:0040C2DD [CBusToolkit1_1.exe] FileExists (sysutils.pas, line 2882)
:0064AD54 [CBusToolkit1_1.exe] TddMainFormDialogDirector.Direct (CIS_TddMainFormDialogDirector.pas, line 26)
:00504C70 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 162)
:00504CB7 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 167)
:00738EF1 [CBusToolkit1_1.exe] TamgKipper.Run (CIS_TamgKipper.pas, line 413)
:007C078E [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
:007C07A4 [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
:7C59893D [kernel32.dll]
--------------------------------------------------------------------------------
REGISTERS
--------------------------------------------------------------------------------
Main Thread ID = 00000400, Current Thread ID = 00000400
Registers:
EAX = 0012F8C8 CS = 001B EIP = 7C59BBF3 Flags = 00000202
EBX = 06757BBC SS = 0023 ESP = 0012F8C0 EBP = 0012F918
ECX = 00000000 DS = 0023 ESI = 0012F94C FS = 003B
EDX = 0052EC1C ES = 0023 EDI = 0012F8F8 GS = 0000
Code at CS:EIP
5F 5E C9 C2 10 00 8B 4C 24 04 A1 F0 A1 5C 7C 89
Stack:
06757BBC 017806C4 0EEDFADE 00000001 00000000
00000000 00000000 7C59893D 00403A05 067589F0
0042690B 0675A0DC 0000000B 00000000 04B82330
7C59893D FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
Duncan
13 Jan 05, 08:12 AM
Toolkit was idling (i.e. I was not active on the application), when I went back to the system it had crashed with the following log:
Looking back over the errors you've reported they all seem related to Saving of Projects, the projects are stored in C:\CLIPSAL\CGATE2\Tag .. Would you be able to look at the attributes of your particular project file (myproject.xml for example) and ensure they arent 'read only'. Long shot..
When you click on "Scan Network" are you using a single click or double click? Are any Unit GUI's open when you attempt the Scan?
Duncan
13 Jan 05, 08:26 AM
Jannie,
Sorry for the barage of posts..
Please ensure that you've closed CGate at some point recently and let Toolkit restart it.
Duncan
13 Jan 05, 08:30 AM
Jannie,
Also what are the specs on the PC you're using? Processor/Memory etc..
Jannie
13 Jan 05, 08:52 AM
PC is a 1GHz Celeron, 256MB
database file is not read only
No GUI's open
Using single click.
I've tried various combinations of starting C-Gate/Toolkit all with similar result.
Just did a scan now again (after yet another crash) and the scan went through....
Duncan
13 Jan 05, 09:02 AM
PC is a 1GHz Celeron, 256MB
database file is not read only
No GUI's open
Using single click.
I've tried various combinations of starting C-Gate/Toolkit all with similar result.
Just did a scan now again (after yet another crash) and the scan went through....
Thanks for the further information Jannie.
We've re-run our basic tests on a Windows 2000 Machine (VM). Using a 3.06 PCI we've had no issues. Did you have the firmware version of the particular PCI that you are using and the bridge?
We dont have a 1GHZ/256 Celeron machine, I doubt its related.. but if you did have access to another machine it would be worth trying it. Is the machine particularly loaded down with other processes running?
Jannie
13 Jan 05, 09:15 AM
From a previous post in this thread:
PCI Firmware is 3.11.
Bridge Firmware is 4.1.00
Java Version 1.4.2_05
As stated before, the system is a clean install with only C-Bus products installed, i.e. C-Gate, Toolkit and Tica
I don't see any error messages in the Console.
There is another C-Gate 1.5 on the network and as the network is a production network a fair amount of traffic can be seen on the network.
I canot build another, smaller network as this is a production network.
I've now managed to scan each network once but still get the crashes.
Duncan
13 Jan 05, 09:20 AM
PCI Firmware is 3.11.
Bridge Firmware is 4.1.00
Java Version 1.4.2_05
As stated before, the system is a clean install with only C-Bus products installed, i.e. C-Gate, Toolkit and Tica
I don't see any error messages in the Console.
I canot build another, smaller network as this is a production network.
I've now managed to scan each network once but still get the crashes.
OK.. thanks for that information. We're going to build up a Network with the same versions.
There is another C-Gate 1.5 on the network and as the network is a production network a fair amount of traffic can be seen on the network.
I think this is going to be the crux of problem.. with a lower spec PC such as you have CGate and Toolkit have a LOT of communications to exchange.. CGate is busily passing everything through to toolkit for processing and Toolkit is trying to get things done in the opposite direction (onto the bus).. Shutting down the other CGate, and/or using a faster PC may well solve the issues. We obviously need to make Toolkit a little more graceful in how it deals with this overload, so we'll set up some tests to replicate what you've experienced.
Thanks for your persistence.. looking forward to hearing how you go once the other CGate is shut down or during a lower traffic period.. or a faster PC (unlikely to fix it).. As it stands Toolkit just appears to be failing to get responses to commands that should happen quickly but dont. Albeit somewhat ungracefully.
Jannie
13 Jan 05, 09:45 AM
Not sure I buy this.
I monitor the system resources and less than 5% CPU is being used while more than 60% of memory is free. So the system is basically idling. C-Gate 1.5 and V2 on an even smaller box (220MHz Pentium, 256M RAM and Win98!) have no problem working on this network. Been stable for a few years now.
If there's a communication problem it must be internal to this version of software.
I've shut down C-gate 1.5 (it's now 1AM) to ensure it's not generating any traffic.
Even when I just open the network, it crashes. Log below:
--------------------------------------------------------------------------------
TITLE
--------------------------------------------------------------------------------
Application Error
--------------------------------------------------------------------------------
USER COMMENTS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
CUSTOM INFO
--------------------------------------------------------------------------------
Version = 1.1.4
Build = 124
--------------------------------------------------------------------------------
ERROR MESSAGE
--------------------------------------------------------------------------------
Exception 'ECGateCommandTimeOut' in module CBusToolkit1_1.exe at 0012DC1C
TcgcProjectSave
Module: CIS_TCGateCommand, Source: CIS_TCGateCommand.pas, Line 539
Procedure: TThreadCommandSynchroniser.ProcessResponses
--------------------------------------------------------------------------------
CALL STACK
--------------------------------------------------------------------------------
Call stack:
:0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
:7C59BBF3 [kernel32.dll]
Recursive call (3 times):
:0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
:77A72C2B [ole32.dll]
:77A82955 [ole32.dll]
:00402C95 [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1123)
:00402CBD [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1127)
:0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
:0040776D [CBusToolkit1_1.exe] DynArrayHigh (system.pas, line 10344)
:00411EE6 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.WriterIsOnlyR eader (sysutils.pas, line 7071)
:00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
:0064A121 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.SetTimeout (CIS_TThreadWrappedIndySocket.pas, line 587)
:00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
:00649DB7 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteBuffer_EndWrite (CIS_TThreadWrappedIndySocket.pas, line 463)
:00649F7B [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteLine (CIS_TThreadWrappedIndySocket.pas, line 525)
:0064A6C4 [CBusToolkit1_1.exe] TThreadCommandSocket.ProcessCommand (CIS_TThreadWrappedIndySocket.pas, line 825)
:00648BB3 [CBusToolkit1_1.exe] TcgConnectionAdministrator.SendCommand (CIS_TcgConnectionAdministrator.pas, line 42)
:0052E2DB [CBusToolkit1_1.exe] InternalSendCommand (CIS_TCGateCommand.pas, line 201)
:0052E3ED [CBusToolkit1_1.exe] TCGateCommand.CommandExecute (CIS_TCGateCommand.pas, line 240)
:0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
:00402A99 [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1023)
:00402ABC [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
:00403075 [CBusToolkit1_1.exe] ReallocMem (system.pas, line 1281)
:0040792F [CBusToolkit1_1.exe] DynArraySetLength (system.pas, line 10450)
:00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
:00411E5A [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.Create (sysutils.pas, line 7051)
:00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
:00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
:0052E7DC [CBusToolkit1_1.exe] TThreadCommandSynchroniser.Create (CIS_TCGateCommand.pas, line 422)
:00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
:004EF0E9 [CBusToolkit1_1.exe] TFlashEntityManager.ResolveChange (CIS_TCustomFlashObject.pas, line 3656)
:004EE175 [CBusToolkit1_1.exe] TCISAttribute.ResolveChange (CIS_TCustomFlashObject.pas, line 3121)
:00534BEE [CBusToolkit1_1.exe] TStringAttribute.GetAsString (CIS_TStringAttribute.pas, line 95)
:00543E36 [CBusToolkit1_1.exe] TProjectCGateAgent.ProjectIdentifier (CIS_TProjectCGateAgent.pas, line 100)
:00544B67 [CBusToolkit1_1.exe] TProjectCGateAgent.CommandProjectSave (CIS_TProjectCGateAgent.pas, line 372)
:0054474C [CBusToolkit1_1.exe] TProjectCGateAgent.SaveProject (CIS_TProjectCGateAgent.pas, line 280)
:00544036 [CBusToolkit1_1.exe] TProjectCGateAgent.AgentSave (CIS_TProjectCGateAgent.pas, line 156)
:005327B4 [CBusToolkit1_1.exe] TPersistableObject.StorageSave (CIS_TIdentifiableObject.pas, line 96)
:006363D7 [CBusToolkit1_1.exe] TCBusNetwork.CheckStandardConfiguration (CIS_TCommonCBus.pas, line 2503)
:006FD55B [CBusToolkit1_1.exe] TnmNetwork.OnNodeExpand (CIS_TnmNetwork.pas, line 223)
:005B6A9F [CBusToolkit1_1.exe] TExplorerManager.TreeNodeExpand (CIS_TExplorerManagerUnit.pas, line 1684)
:005B6B43 [CBusToolkit1_1.exe] TExplorerManager.TreeViewExpanding (CIS_TExplorerManagerUnit.pas, line 1705)
:0048FAFB [CBusToolkit1_1.exe] TCustomTreeView.CanExpand (comctrls.pas, line 8328)
:0048FAC4 [CBusToolkit1_1.exe] TCustomTreeView.Expand (comctrls.pas, line 8323)
:0048C017 [CBusToolkit1_1.exe] TTreeNode.DoCanExpand (comctrls.pas, line 6283)
:0048C10F [CBusToolkit1_1.exe] TTreeNode.ExpandItem (comctrls.pas, line 6316)
:0048C1A5 [CBusToolkit1_1.exe] TTreeNode.Expand (comctrls.pas, line 6338)
:006FC3B2 [CBusToolkit1_1.exe] TnmProject.OnStartProject (CIS_TnmProject.pas, line 499)
:00508151 [CBusToolkit1_1.exe] TTBCustomItem.Click (TB2Item.pas, line 1350)
:00508096 [CBusToolkit1_1.exe] TTBCustomItem.ClickWndProc (TB2Item.pas, line 1318)
:00463D1E [CBusToolkit1_1.exe] StdWndProc (Forms.pas, line 1459)
:77E11EF0 [user32.dll]
:77E1204C [user32.dll]
:77E117A0 [user32.dll]
:77E15E6E [user32.dll]
:77E15F69 [user32.dll]
:0046EA59 [CBusToolkit1_1.exe] TApplication.ProcessMessage (Forms.pas, line 6630)
:0046EAA0 [CBusToolkit1_1.exe] TApplication.HandleMessage (Forms.pas, line 6649)
:0046B08D [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4692)
:0046B11B [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4700)
:0046B1C7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
:0046B1E7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
:0051346F [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 127)
:005134BB [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 135)
:77E13869 [user32.dll]
:77E177F4 [user32.dll]
:77E17803 [user32.dll]
:0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
:00402E9F [CBusToolkit1_1.exe] ResizeInPlace (GETMEM.INC, line 1198)
:0040C2DD [CBusToolkit1_1.exe] FileExists (sysutils.pas, line 2882)
:0064AD54 [CBusToolkit1_1.exe] TddMainFormDialogDirector.Direct (CIS_TddMainFormDialogDirector.pas, line 26)
:00504C70 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 162)
:00504CB7 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 167)
:00738EF1 [CBusToolkit1_1.exe] TamgKipper.Run (CIS_TamgKipper.pas, line 413)
:007C078E [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
:007C07A4 [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
:7C59893D [kernel32.dll]
--------------------------------------------------------------------------------
REGISTERS
--------------------------------------------------------------------------------
Main Thread ID = 00000610, Current Thread ID = 00000610
Registers:
EAX = 0012F7F0 CS = 001B EIP = 7C59BBF3 Flags = 00000202
EBX = 01766CB8 SS = 0023 ESP = 0012F7E8 EBP = 0012F840
ECX = 00000000 DS = 0023 ESI = 0012F874 FS = 003B
EDX = 0052EC1C ES = 0023 EDI = 0012F820 GS = 0000
Code at CS:EIP
5F 5E C9 C2 10 00 8B 4C 24 04 A1 F0 A1 5C 7C 89
Stack:
01766CB8 017806C4 0EEDFADE 00000001 00000000
00000000 00000000 7C59893D 00403A05 034AEF54
0042690B 017796D0 0000000B 00000000 034AE640
7C59893D FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
Duncan
13 Jan 05, 09:56 AM
Not sure I buy this.
I monitor the system resources and less than 5% CPU is being used while more than 60% of memory is free. So the system is basically idling. C-Gate 1.5 and V2 on an even smaller box (220MHz Pentium, 256M RAM and Win98!) have no problem working on this network. Been stable for a few years now.
Jannie.. thanks for the additional tests.. obviously its hard from a distance trying to diagnose the issue, I'm not trying to 'sell' you an excuse however.
What am I going to do (if you're willing) is send you a special build of the Toolkit Software that will generate a Log file of communications between Toolkit/CGate/CBus that should get us to the bottom of the problem a little faster..
Would that be OK? Your site obviously gives us a chance to fix a significant problem.
I will email you a link to download this new executable in the next 24hrs and instructions on what log to send back to us.
ashleigh
13 Jan 05, 09:59 AM
It sounds to me like you may have an eclectrical problem on your network.
V2 s/w and C-Gate 1.5 are very tolerant of crappy / marginal network comms.
When you use (or used) V2 to scan the network, did it work fast and reliably every time?
Have you got the correct number of burdens (this is very important) - if the network is small (like about 10 to 20 units), you must have at least 1 burden.
Can you plug a hardware burden into the network and see if that improves the performance?
Jannie
13 Jan 05, 10:06 AM
Duncan, will gladly run the software and send logs back.
Asleigh, when we originally built this network (2-3 years ago), we had lots of comms problems. Had to break the network into 3 seperate networks and use hardware burdens to stabilise the comms.
Ever since it's been very stable with no problem for C-Gate 1.5 and V2 to read the network.
Duncan, I'll install V2 on the same box and see what it does.
Jannie
13 Jan 05, 10:15 AM
Just installed 2.7.7 on the same box and with everything else running the way it always run, i.e. C-Gate 1.5 active, it scanned all 3 networks without a problem.
Thus the only variable is the new software.
Duncan
13 Jan 05, 06:32 PM
Duncan, will gladly run the software and send logs back.
Thanks Jannie,
Download link for special build and instructions emailed to you.
Jannie
14 Jan 05, 07:31 AM
Installed the software and mailed you a few logs.
The build you sent me (125) seems to be much more stable that 124 I had installed before. Murphy's law or are there substantial improvements?
It still crashes but I can now scan all three networks, and in general work with the application.
Duncan
14 Jan 05, 08:12 AM
Installed the software and mailed you a few logs.
The build you sent me (125) seems to be much more stable that 124 I had installed before. Murphy's law or are there substantial improvements?
It still crashes but I can now scan all three networks, and in general work with the application.
Got the logs Jannie, many thanks, we will be examining them today. Build 125 is essentially the 'tip' of the development build. Because we've been working away since the 1.1.4 release some defects have been repaired.. but nothing that would explain the puzzling problems you've had..
Will get back to you about the logs!
Jannie
14 Jan 05, 09:06 AM
It definitely is MUCH more stable. Unless the installation of 2.7.7 (last thing I did before loading 125) did something.
I've been able to work most of today on the system as long as I'm carefull not to invoke certain functions, like deleting a unit from the db.
Jannie
15 Jan 05, 08:46 AM
Something strange going on here:
1) Started with clean system
2) Load 1.1.4 - 124 - Terrible stability issues
3) Load 2.7.7 - runs fine
4) load 1.1.4 - 125 - much more stable with occasional crash
5) revert to 124 - even more stable (after hour or so testing). Managed to do all the deletes I needed to do with no crashes.
I get the impression, the more I use the system, the more stable it becomes....maybe a db issue?
I'll put my head on a block that nothing else in the environment changed.
Duncan
15 Jan 05, 08:52 AM
Something strange going on here:
1) Started with clean system
2) Load 1.1.4 - 124 - Terrible stability issues
3) Load 2.7.7 - runs fine
4) load 1.1.4 - 125 - much more stable with occasional crash
5) revert to 124 - even more stable (after hour or so testing). Managed to do all the deletes I needed to do with no crashes.
I get the impression, the more I use the system, the more stable it becomes....maybe a db issue?
I'll put my head on a block that nothing else in the environment changed.
Hmm interesting.. I honestly cant point to anything in Build 125 that would explain your increase in stability.. Puzzled. :confused:
One of the key differences between V2 and Toolkit is that we are driving the PCI much harder and invoking modes in it that 2.7.7 doesnt even know about. Running 2.7.7 might have resulted in the PCI falling back to a more 'vanilla' mode. But the first scan that Build 125 SHOULD have resulted in the all neat features in the PCI being turned on again.
I'll dig into it more on Monday. Thanks for the update.
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.