Darwinbots Forum

Code center => Bugs and fixes => Confirmed & Outstanding bugs => Topic started by: Old Henk on September 04, 2005, 11:45:13 AM

Title: Bug in 2.37.4
Post 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  :)
Title: Bug in 2.37.4
Post by: Numsgil on September 05, 2005, 10:22:14 PM
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.
Title: Bug in 2.37.4
Post by: PurpleYouko on October 27, 2005, 02:41:49 PM
After extensive testing I cannot reproduce this reported bug.

The color selection works absolutely perfectly, no matter what I do to it.
Title: Bug in 2.37.4
Post by: Numsgil on October 27, 2005, 02:49:51 PM
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.
Title: Bug in 2.37.4
Post by: PurpleYouko on October 27, 2005, 02:51:13 PM
Tried that too. Tried everything and IT JUST WON"T FAIL!!!
Title: Bug in 2.37.4
Post by: PurpleYouko on October 27, 2005, 02:52:21 PM
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)
Title: Bug in 2.37.4
Post by: Numsgil on October 27, 2005, 02:54:31 PM
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.
Title: Bug in 2.37.4
Post by: Ulciscor on October 27, 2005, 03:11:05 PM
Yep just tried. Changing the sliders then clicking
Title: Bug in 2.37.4
Post by: PurpleYouko on October 27, 2005, 03:16:09 PM
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.
Title: Bug in 2.37.4
Post by: Ulciscor on October 27, 2005, 03:24:59 PM
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
Title: Bug in 2.37.4
Post by: Numsgil on October 27, 2005, 03:25:01 PM
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".
Title: Bug in 2.37.4
Post by: Griz on October 27, 2005, 06:13:44 PM
I use that custom color thing all of the time ...
never had it fail or hang.  ver2.37.4
Title: Bug in 2.37.4
Post by: Ulciscor on October 27, 2005, 06:33:28 PM
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.
Title: Bug in 2.37.4
Post by: Numsgil on October 27, 2005, 07:19:06 PM
Way to look on the positive side ;)
Title: Bug in 2.37.4
Post by: PurpleYouko on November 14, 2005, 02:15:59 PM
Now we just have to isolate the cause. I still can't make it happen
Title: Bug in 2.37.4
Post by: Numsgil on November 14, 2005, 03:06:08 PM
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.