Theme problems

Having problems? Maybe others have had the same problem too. Post HouseBot technical issues here.
Post Reply
yaccri
HouseBot Special Member
Posts: 304
Joined: Wed May 07, 2003 2:19 pm
Location: Tel-Aviv, Israel
Contact:

Theme problems

Post by yaccri »

There are two very long standing issues that are very annoying:

1. HB crashes often while in theme editing mode. See dump below.

2. Property labels with tranparent background often become invisible while viewing in SWRemote. If the screen is repainted (I do that by minimizing SWRemote and re-open it), they become visible again. Sometimes it takes more that one 'repaint' to see all the peoperty labels.
I have this problem in different computers, so it shouldn't be a hardware related issue.


HB dump file:
====== Begin Dump - Saturday, April 22, 2006 11:01:23 ======
Server Version = 2.22

==================================
======== House Server Thread =======
==================================
Thread Type = Main UI Thread
Thread ID = CA8
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 005243D7 01:001233D7 C:\Program Files\Meedio\Meedio HouseBot\HouseBotServer.exe

Registers:
EAX:0E690FFE
EBX:084039D0
ECX:0012C8FC
EDX:0E690F00
ESI:0000001A
EDI:0000001F
CS:EIP:001B:005243D7
SS:ESP:0023:0012C6BC EBP:0012C738
DS:0023 ES:0023 FS:003B GS:0000
Flags:00210202

Call stack:
Address Frame
005243D7 0012C738 CxImageJPG::Encode+A37
0051F5D9 0E694338 CxImage::Decode+399


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

====== Begin Dump - Saturday, April 22, 2006 11:19:17 ======
Server Version = 2.22

==================================
======== House Server Thread =======
==================================
Thread Type = Main UI Thread
Thread ID = 12C4
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 005243D7 01:001233D7 C:\Program Files\Meedio\Meedio HouseBot\HouseBotServer.exe

Registers:
EAX:0D79DFFE
EBX:0D76AF48
ECX:0012C8FC
EDX:0D79DF00
ESI:0000001A
EDI:0000001F
CS:EIP:001B:005243D7
SS:ESP:0023:0012C6BC EBP:0012C738
DS:0023 ES:0023 FS:003B GS:0000
Flags:00210202

Call stack:
Address Frame
005243D7 0012C738 CxImageJPG::Encode+A37
0051F5D9 101A7E28 CxImage::Decode+399


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

====== Begin Dump - Saturday, April 22, 2006 11:20:45 ======
Server Version = 2.22

==================================
======== House Server Thread =======
==================================
Thread Type = Main UI Thread
Thread ID = AC8
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 005243D7 01:001233D7 C:\Program Files\Meedio\Meedio HouseBot\HouseBotServer.exe

Registers:
EAX:0D96AFFE
EBX:00E08168
ECX:0012C8FC
EDX:0D96AF00
ESI:0000001A
EDI:0000001F
CS:EIP:001B:005243D7
SS:ESP:0023:0012C6BC EBP:0012C738
DS:0023 ES:0023 FS:003B GS:0000
Flags:00210202

Call stack:
Address Frame
005243D7 0012C738 CxImageJPG::Encode+A37
0051F5D9 0D95FA18 CxImage::Decode+399


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

====== Begin Dump - Saturday, April 22, 2006 11:21:13 ======
Server Version = 2.22

==================================
======== House Server Thread =======
==================================
Thread Type = Main UI Thread
Thread ID = 10A8
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 005243D7 01:001233D7 C:\Program Files\Meedio\Meedio HouseBot\HouseBotServer.exe

Registers:
EAX:0D965FFE
EBX:00E081E8
ECX:0012C8FC
EDX:0D965F00
ESI:0000001A
EDI:0000001F
CS:EIP:001B:005243D7
SS:ESP:0023:0012C6BC EBP:0012C738
DS:0023 ES:0023 FS:003B GS:0000
Flags:00210202

Call stack:
Address Frame
005243D7 0012C738 CxImageJPG::Encode+A37
0051F5D9 0D971C60 CxImage::Decode+399


====== End Dump ======
Richard Naninck
HouseBot Guru Extraordinaire
Posts: 1121
Joined: Tue Sep 28, 2004 7:49 am
Location: The Netherlands

Post by Richard Naninck »

As for the transparent bug, I see the same thing. I have some dynamic images in my theme with transparant buttons on top of them. Sometimes I see what I should see (the dymamic image), but sometimes some of the images draw black. Refreshing the images corrects this problem. So I refresh all of my images upon panel entry, but this takes some time.

Another theme bug I see is when I put more then 29 status properties in a single panel. On the local machine, all is OK and it keeps on working, but as soon as I open a SWRemote on some other PC, the status refresh stops when a panel with 30 or more status properties is displayed. After that all other panels also stop displaying status, but all of the control buttons keep on working. I worked around this by having less then 29 status properties per panel. However sometimes I really need more than 30 status properties to be displayed. A good example would be a panel showing a floorplan with all of my alarm sensors, temperature sensors and ligth status on it. Such a panel would easily display 40 or more status properties.
I discussed and tested this already with dmorgan and Scott and they don't see this problem. However I see this problem on all of my PC's and also on my test PC that has another HouseBot server installed. So that should be PC related as well. A very easy way to test this is to just put 30 status properties on a single panel, open the SWRemote on a different PC from where the HBServer is running from. Select some panels, then go to the status heavy panel and see what happens. I run a date/time property on all of my panels and the time stops updating.
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Theme problems

Post by ScottBot »

yaccri wrote:1. HB crashes often while in theme editing mode. See dump below.
I'll check into this a bit more later, but in looking at the dump it seems to be dying at the same place when loading a JPEG file. While that's clearly a HouseBot bug, if you happen to be able to isolate which JPEG is the culprit and send me a copy of it, that would significantly help to resolve the issue.
Scott
yaccri
HouseBot Special Member
Posts: 304
Joined: Wed May 07, 2003 2:19 pm
Location: Tel-Aviv, Israel
Contact:

Post by yaccri »

it seems to be dying at the same place when loading a JPEG file
The theme doesn't use any JPEG files.
It uses only 1 JPG, and many PNGs and BMPs.

I replaced the JPG image with PNG.
The problem re-occured, with the same error message.

I searched the theme's XML file. There aren't any JPG or JPEG images in that theme anymore (but...I get the same error message).
Circe640
Advanced Member
Posts: 206
Joined: Tue Oct 07, 2003 10:01 am
Location: Columbus, OH
Contact:

Post by Circe640 »

Do you have any dynamically loaded images? I have seen HB lock or fail as a result of dynamically loading an image file that was somewhat corrupted. In some cases, it would not always fail on the file but other times it did. When I replaced the image file, I had no further problems.
yaccri
HouseBot Special Member
Posts: 304
Joined: Wed May 07, 2003 2:19 pm
Location: Tel-Aviv, Israel
Contact:

Post by yaccri »

Do you have any dynamically loaded images?
I use dynamic images.

For the test, I removed all the dynamic images from the theme.

Still got the same error.
ScottBot
Site Admin
Posts: 2787
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Theme problems

Post by ScottBot »

yaccri wrote:Property labels with tranparent background often become invisible while viewing in SWRemote. If the screen is repainted (I do that by minimizing SWRemote and re-open it), they become visible again. Sometimes it takes more that one 'repaint' to see all the peoperty labels.
I have this problem in different computers, so it shouldn't be a hardware related issue.
I'm looking into trying to reproduce this one. If you have any suggestions on how to get it to happen, please let me know.
Scott
yaccri
HouseBot Special Member
Posts: 304
Joined: Wed May 07, 2003 2:19 pm
Location: Tel-Aviv, Israel
Contact:

Post by yaccri »

if you happen to be able to isolate which JPEG is the culprit and send me a copy of it, that would significantly help to resolve the issue.
I'm found a problem with my slider's button (see attached).
After replacing it back to HB's original button, the crashes stopped.
Attachments
VSlider button
VSlider button
VSlider_DimmerValue.png (2.54 KiB) Viewed 1870 times
Post Reply