HouseBot server crash

Have an idea for a new feature? Voice your opinion here.
Post Reply
dlmorgan999
HouseBot Special Member
Posts: 409
Joined: Tue Jul 13, 2004 9:13 am
Location: Tigard, OR

HouseBot server crash

Post by dlmorgan999 »

I've had my HouseBot server process crash a couple of times recently. Both times seem to be for the same reason and caused by the same device. I've also had problems with the device that caused the crash. It *was* working fine and I can't remember changing anything.



This device is something that really only needs to run once a day but since the time it runs needs to be dynamic I've created properties with the hour and minute values. I have a task that runs once a minute which executes the script. The script runs every minute and aborts if the time is not right. I can email the script if you like.



I've also found twice (probably related to the crash) where the script device state was running and it had been like that for hours. When I tried to change the state to stopped I got an error like this (I was going to give the exact text but the HouseBot server crashed while I was at work so I lost the error log from the last session): "Script device is not running running. Unable to change State property". Note: the fact that running is listed twice above is *not* a typo on my part - this is what the error message said.



Is there any kind of tracing I can turn on to help debug this?



Here is the dump file. Any clues?



====== Begin Dump - Wednesday, January 05, 2005 06:43:00 ======

Server Version = 2.21 (ß 4)



==================================

======== House Server Thread =======

==================================

Thread Type = Device Thread [Script Device] - [Bedroom Clock Radio]

Thread ID = F88

Exception code: C0000005 ACCESS_VIOLATION

Fault address: 00000030 00:00000000



Registers:

EAX:08393E60

EBX:00000000

ECX:1183B300

EDX:1183E06C

ESI:08057540

EDI:1182F2B0

CS:EIP:001B:00000030

SS:ESP:0023:0E61FE8C EBP:1181F990

DS:0023 ES:0023 FS:003B GS:0000

Flags:00010206



Call stack:

Address Frame

00000030 0E61FE88 0000:00000000

004DE847 1181F990 CxImage::`copy constructor closure'+DCDD7

08057540 00581910 0000:00000000

004DF6F0 004DF660 CxImage::`copy constructor closure'+DDC80





====== End Dump ======
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

Unfortunately, I can't tell much from the dump and there's not really much that tracing will help in this case. Please send the script to me ([email protected]) and I'll see if I can duplicate it.
Scott
Post Reply