Darwinbots Forum
Code center => Bugs and fixes => Confirmed & Outstanding bugs => Topic started by: Old Henk on September 04, 2005, 11:45:13 AM
-
When I try to create a 'custom' colour for a bot, everything is fine. But when I try to remove the 'custom colour' pop-up (the one with the RGB sliders), the program freezes and I have to terminate it via CTRL-ALT-DELETE
Not major, but annoying.
Henk :)
-
I'll probably look into these sorts of menu bugs/features when I get internet up in my new place. Otherwise, I'll never remember by the time I get home.
-
After extensive testing I cannot reproduce this reported bug.
The color selection works absolutely perfectly, no matter what I do to it.
-
I've seen this happen myself. I think it happens if you hit the x to close it instead of committing the changes.
or soemthing...
anyway it definately exists.
-
Tried that too. Tried everything and IT JUST WON"T FAIL!!!
-
In fact it has NEVER failed on either of my computers.
If anyone knows how to provoke this then please post exact steps to cause it. Maybe I'm just not doing it right (wrong that is)
-
I had it happen when I was playing with Light's install on the webspace (you have to access it via FTP, it's not listed).
He had a really sweet color selected for Animal Minimalis 2.4. I loaded up the custom color, may or amy not have played with the sliders, then hit the x to close it, and my whole program died (either froze or crashed, I forget which).
Anyway, you might try dling his install and seeing if you can reproduce it that way.
-
Yep just tried. Changing the sliders then clicking
- cuases it to hang, no error produced, just non-responsiveness. A bug I'd say.
-
Light's install? or the regular code that I gave the link to at the start of this project?
I can't fix this unless I can make it happen.
-
Regular code I just downloaded:
Start a new sim
Add a bot
Goto custom colour
Clise the top slider along a bit
Click
Voila!
:D
-
Light uploaded his entire DB directory to the webspace when he got a bug I couldn't figure out. I think it's still there. It's under the directroy "Light".
-
I use that custom color thing all of the time ...
never had it fail or hang. ver2.37.4
-
Whether or not anyone else can replicate this error is irrelevant; more than one person has noticed a problem and that makes it a bug. :D
Bugs are awesome! You can just see Db getting better every time we find one.
-
Way to look on the positive side ;)
-
Now we just have to isolate the cause. I still can't make it happen
-
I learned something helping Zelos with his project yesterday.
VB is not deterministic.
Code that runs fine one one computer will crash on another. Generally these sorts of crashes are people doing things that are not implicitly allowed.
For instance:
Dim a as long
a = 5 + "5"
It seems sometimes this will give an error and othertimes it won't. A better solution in to explicitly change the "5" to a number:
a = 5 + val("5")
There are other errors like this. Just some food for thought.