Crashing to desktop with USB-UIRT

Having problems? Maybe others have had the same problem too. Post HouseBot technical issues here.
Post Reply
Easley
Member
Posts: 8
Joined: Tue May 06, 2003 9:56 pm

Crashing to desktop with USB-UIRT

Post by Easley »

Hi, I just download HouseBot today and been playing around with it. I have been using my USB-UIRT with Girder succesfully for a few weeks.



At first everything was going fine as I was learning commands into the Hardware Interface Configuration page for the USB-UIRT. I was learning commands, and testing them successfully. Then I closed HouseBot for awhile, went to dinner, then when I got back it will no longer behave.



What happens is I click Learn, HouseBot opens the "Learn new IR code" dialog, I point and shoot at my USB-UIRT, and when it hits 100% Housebot instantly crashes to the desktop. It also will crashes intermittently when clicking other buttons in the USB-UIRT Configuration screen, like it just crashed when I clicked "Add Remote". It has also crashed when clicking "Click for additional configuration".



Here is my setup:

Windows 2000 Server SP3

HouseBot 1.2

USB_UIRT DLL version 1.0

USB-UIRT Firmware 5.4



Any ideas?
Easley
Member
Posts: 8
Joined: Tue May 06, 2003 9:56 pm

Post by Easley »

I just noticed there is a dump file created at every crash. Here is a couple of dump entries.



The first one happened when I clicked "Pronto Code...", entered a code, then clicked OK, then clicked save, which it then crashed.



The next one happen at the end of a learn.



====== Begin Dump - Tuesday, May 06, 2003 22:24:48 ======

Server Version = 1.20



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

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

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

Thread Type = Main UI Thread

Thread ID = 334

Exception code: C0000005 ACCESS_VIOLATION

Fault address: 004BC9C6 01:000BB9C6 C:\Program Files\HouseBot\HouseBotServer.exe



Registers:

EAX:00000000

EBX:07122B90

ECX:071EE370

EDX:00000001

ESI:070B8490

EDI:071EE4C0

CS:EIP:001B:004BC9C6

SS:ESP:0023:0012EE5C EBP:070B8490

DS:0023 ES:0023 FS:0038 GS:0000

Flags:00010206



Call stack:

Address Frame

004BC9C6 070B8490 0001:000BB9C6 C:\Program Files\HouseBot\HouseBotServer.exe

070B6A00 071EB30C 0000:00000000

071E6B70 071E6A40 0001:00005B70 C:\Program Files\HouseBot\Plugins\Interfaces\USB_UIRT.dll





====== End Dump ======



====== Begin Dump - Tuesday, May 06, 2003 22:31:01 ======

Server Version = 1.20



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

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

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

Thread Type = Main UI Thread

Thread ID = 4FC

Exception code: C0000005 ACCESS_VIOLATION

Fault address: 004BC9C6 01:000BB9C6 C:\Program Files\HouseBot\HouseBotServer.exe



Registers:

EAX:00000000

EBX:07123228

ECX:071EE370

EDX:00000001

ESI:070B8490

EDI:071EE4C0

CS:EIP:001B:004BC9C6

SS:ESP:0023:0012EE54 EBP:070B8490

DS:0023 ES:0023 FS:0038 GS:0000

Flags:00010206



Call stack:

Address Frame

004BC9C6 070B8490 0001:000BB9C6 C:\Program Files\HouseBot\HouseBotServer.exe

070B6A00 071EB30C 0000:00000000

071E6B70 071E6A40 0001:00005B70 C:\Program Files\HouseBot\Plugins\Interfaces\USB_UIRT.dll





====== End Dump ======
Easley
Member
Posts: 8
Joined: Tue May 06, 2003 9:56 pm

Post by Easley »

Here is some other interesting info:



I went to remote central and got the Discreet On/Off codes for my Denon AVR-5700 (http://www.remotecentral.com/cgi-bin/fi ... ceiver&fc=).



I go USB-UIRT Configuration in Hardware Interfaces.

Click Add

I select a Remote and type a Code Name of "Power On"

I click Pronto Code...

I paste in the Discreet On code

Click OK

Click Close (not Save)

Click Test (and it sends correct IR code via UIRT)

But as soon as I exit Hardware Interfaces the Pronto code disappears.

So I go back in, repaste the Pronto code

Click Save

But the Pronto Code disappeares immediately (i.e. Test wont work)



So it seems like a common thread of all these problems appears to be when HouseBot attempts to commit the changes to disk.?????



I said in my first post that HouseBot was working at first, but I dont think I ever exited the Hardware Interfaces screen. I was just entering codes and testing them. (Although I would have thought I was clicking Save then, cant be sure).



Hope this additional info helps. Sorry for posting so much.
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

Easley,



No problem on posting too much. I'd rather have too much information, than not enough (the usual case).



I've seen the problem before where if you enter Pronto data manually you can not 'test' it immediately. I think if you save and close the window and THEN test it will work. I'll fix this in the next release of the USB UIRT.



I'm not sure of the cause of your other nasty problem. Can you do the following two things please?
  • 1. Search your system for a file named uuirtdrv.dll. Make sure there is only one in the system and let me know the size and location of the file.
    2. Send me your configuration (HBData.mdb). You can find it in the \HouseBot\Config directory. Send it to [email protected].
Hopefully with the config file I can reproduce the problem.



Also, are you checking the 'code will be send and received' checkbox when learning?



Thanks,

Scott
Easley
Member
Posts: 8
Joined: Tue May 06, 2003 9:56 pm

Post by Easley »

1. uuirtdrv.dll only found in winnt\system32. It is 84kb (86,016).



2. config file sent.



More on the Pronto Code problem

---------------

Saving the Pronto code and exiting (without testing) does not help. What happens is I paste the Pronto code, click OK, then click Save, then I exit USB-UIRT configuration, when I come back the Pronto code is gone. If I paste the Pronto code, click OK, then press the Pronto code button again, it is still there. It will even test successfully. It is when I press Save, or exit without saving, that it dissapears. See below for the exact text I am pasting in. Maybe you can duplicate the problem.



More on the learning problem

---------------

It seems that only certain IR codes/Remotes cause it to crash to the desktop. If I learn a code from my Lutron remote, it wont crash. I can learn the code, everything works perfectly. But the 4 other remotes I have cause it to crash at 100% of the learn. The remotes are Mitsubishi RPTV, Denon RCVR, and Denon DVD.







Denon AVR-5700 RCVR Discreet On

--------------

0000 006d 0010 0020 000a 001e 000a 0046 000a 001e 000a 001e 000a 001e 000a 0046 000a 001e 000a 001e 000a 001e 000a 001e 000a 0046 000a 0046 000a 0046 000a 001e 000a 001e 000a 06d6 000a 001e 000a 0046 000a 001e 000a 001e 000a 001e 000a 001e 000a 0046 000a 0046 000a 0046 000a 0046 000a 001e 000a 001e 000a 001e 000a 0046 000a 0046 000a 0686 000a 001e 000a 0046 000a 001e 000a 001e 000a 001e 000a 0046 000a 001e 000a 001e 000a 001e 000a 001e 000a 0046 000a 0046 000a 0046 000a 001e 000a 001e 000a 06d6
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

I've got your config file. Unfortunately it didn't help reproduce the problem (the IR code data was not saved).



I'm pretty sure the problem is with the length of the IR code of the Denon IR codes. Your comment about the Lutron remote makes sense if this is true. It's a simple fix and I will send you an update to test shortly.



I'm still looking into the problem with saving the Pronto code data.



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

Post by ScottBot »

This problem has been fixed. Anyone using version 1.00 of the USB-UIRT should upgrade to version 1.01 which is now available from the web site.



Scott
Post Reply