Print Page | Close Window

Division By Zero

Printed From: Aurora
Category: The Vault
Forum Name: 0.6 Pre-Release (Release Candidate 1)
Forum Discription: This is the place to discuss (and report bugs) the 0.6 pre-release edition of Aurora
URL: http://www.aurorashow.com/forum/forum_posts.asp?TID=210
Printed Date: 31 Oct 2024 at 6:37pm
Software Version: Web Wiz Forums 9.06 - http://www.webwizforums.com


Topic: Division By Zero
Posted By: bdkeen
Subject: Division By Zero
Date Posted: 06 Aug 2008 at 5:28pm
Imported a LOR2 - seemed to work ok - was Holdman's Music Box Dancer to be exact.
 
Began to move channels around and assign channels for use in my controller setup.
Program crashed with a division by zero dialog on the screen.
 
Aurora.log contains:
 
Aurora Error Encountered at 8/6/2008 6:32:52 PM
Debugging Information:
11: Division by zero
Refresh Channel Buttons  
AuroraData2
 
Aurora Error Encountered at 8/6/2008 6:33:13 PM
Debugging Information:
28: Out of stack space
Initialize Mouse Pointers  
LightsOnLoganSequencer
 


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



Replies:
Posted By: LightsOnLogan
Date Posted: 06 Aug 2008 at 7:32pm
Hmmm... that is puzzling.  Division only happens once in that subroutine and it is behind a conditional if that makes sure the denominator isn't zero, so division by zero shouldn't be possible there.  I'll see if we can replicate it here.  If you have an exact set of steps that will produce this error every time it will help us track this down quicker (e.g. Import this sequence, move this channel, move this channel, set this cannel to xyz, etc.)
 
Out of curiosity, did you reboot after the installation?


-------------
http://www.aurorashow.com/">


Posted By: bdkeen
Date Posted: 06 Aug 2008 at 7:49pm
Yes I rebooted.
Imported sequence. adjusted about 16 to 32 channels assigning to controller 10 and F, changed colors to magenta to easily identify moved channels, started to group channels by discriptive information (i.e. all megatree white together)..


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


Posted By: LightsOnLogan
Date Posted: 06 Aug 2008 at 8:52pm
Has this happened multiple times or only the one time? 
 
Did it happen during a channel move drag/drop or when hitting the save button to save a channel edit?


-------------
http://www.aurorashow.com/">


Posted By: bdkeen
Date Posted: 06 Aug 2008 at 9:05pm
Multiple times -  Trying it again from scratch.
 
This time:

Aurora Error Encountered at 8/6/2008 10:01:00 PM
Debugging Information:
11: Division by zero
Backup Workspace  
AuroraData2
 
Aurora Error Encountered at 8/6/2008 10:01:35 PM
Debugging Information:
28: Out of stack space
Initialize Mouse Pointers  
LightsOnLoganSequencer
 
Imported LOR2 file - seemed to work ok
This time used bulk channel editor and changed all the controller id 2 channels to controller id 10 (just moving them somewhere else to free up ID 2 for my assignments
Saved file to .dls at this point
Adjusted 2 channels to point at 2-8 and 2-9 and crash.
 
Tyring agin from saved point (.dls) and not happening - will keep on with this sequence and see if it happens again and let you know.


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


Posted By: LightsOnLogan
Date Posted: 06 Aug 2008 at 9:22pm
Div zero in backup workspace this time?  Sounds like it is in a supporting function or even a timed event that isn't pushing its name onto the error stack and is instead inheriting the parent.
 
It is possible that some environment variable isn't being set properly after import.  If this is the case then the workaround would be to perform the import, save as a DLS right away, exit Aurora, reopen Aurora and load the DLS file, then begin working with it.
 
Let me know if this happens after working with the saved DLS or if it only happens when working with an imported file.


-------------
http://www.aurorashow.com/">


Posted By: MrChristmas2000
Date Posted: 06 Aug 2008 at 9:25pm
Bruce,

Why don't you use CamStudio to record what is happening then post the video to a a site like putfile or YouTube so all the actions can be seen.

Tom



-------------
http://www.aurorashow.com/">

Holding breath for DMX.


Posted By: bdkeen
Date Posted: 07 Aug 2008 at 6:49am
After leaving the pc rest powered off over night tried again this morning.
 
Here are the results. I've also made the .dls file available.
http://www.keenlights.info/Aurora/Version6.htm - http://www.keenlights.info/Aurora/Version6.htm
Sorry about the large screen shot graphics - tried to reduce them and there was too much detail loss


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


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 10:37am
I can't get anything to division by zero, but I do see the events that you say are changing which necessitated the copy/paste... that should not be happening.  I will open a seperate case on that issue.

-------------
http://www.aurorashow.com/">


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 11:14am

I have some bug fixes for you and anyone else who needs to do bulk editing of channels:

0.6.1
-----
- Fixes channel edit causing event data corruption
- Fixes bulk channel editor causing events to "dissappear"
- Adds progress bar and hourglass to BCE
 
The patch with these corrections can be found here:
http://www.aurorashow.com/downloads/aurora_0_6_1.zip - http://www.aurorashow.com/downloads/aurora_0_6_1.zip
 
Instructions for installing the patch (read carefully):
1. Make sure Aurora is not running on your PC
2. Unzip the file into your c:\Program Files\Aurora Sequencer directory (yes, do overwrite the one that is already there)
3. Start Aurora... if you did the above correctly the version number on the splash screen will read 0.6.1.


-------------
http://www.aurorashow.com/">


Posted By: bdkeen
Date Posted: 07 Aug 2008 at 11:19am
Just tried it again and get division by zero when trying to Save-As (different name file as to not lose my work) after changing ID and channel on the channel that corrupts events.
 
I tried deleting channel events and could save with out the crash..
 
This with with ..6.0 not 0.6.1
 


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


Posted By: bdkeen
Date Posted: 07 Aug 2008 at 11:23am
0.6.1 seems to have fixed the division by zero I was also getting..  Smile

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


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 11:23am
Please try again with 0.6.1.  I depreciated about 50 lines of buggy code left over from the 0.4 database days and replaced them with a single line "MoveGroup" call with the new database that should be much more stable.

-------------
http://www.aurorashow.com/">


Posted By: bdkeen
Date Posted: 07 Aug 2008 at 11:37am
Tired 0.6.1 - fixed the channel corruption and allowed me to save without getting the division by zero.
 
But when I try to open the file that was saved:
Aurora Error Encountered at 8/7/2008 12:38:16 PM
Debugging Information:
11: Division by zero
Main Processing Loop  
AuroraData2
 
Have put the .dls at http://www.keenlights.info/christmas/Aurora/test.dls - http://www.keenlights.info/christmas/Aurora/test.dls in case you want to look at it for any reason


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


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 12:36pm
Do you happen to have another computer to test on?
 
I don't doubt you are seeing this and we will get to the bottom of it, but at the moment it hasn't been possible to make this happen in the lab and the beta testers are not able to reproduce this.
 
Also, could you please run Aurora once with the -debug detailed logging option turned on.  To do so:
 
Click start, then Run
Type
"c:\Program Files\Aurora Sequencer\aurora_sequencer.exe" -debug
(including the quotes) and then hit enter.
 
Once you get the error message, let Aurora close and then email me your c:\program files\aurora sequencer\aurora.log file.


-------------
http://www.aurorashow.com/">


Posted By: bdkeen
Date Posted: 07 Aug 2008 at 3:09pm
I was going to see if I could run Aurora on my W2K3 server -  I might just try it now.
And I was thinking the very same thing  - I might have an old machine here I can setup with XP to try it on too.
 
Also thanks for splitting this off in the forum


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


Posted By: peteandvanessa
Date Posted: 07 Aug 2008 at 3:19pm
I don't get a divide by zero but I do get other errors.
 
I opened a 42 channel sequenced (not imported), changes the channel ID (with bulk edit) from 3 to 4 on the bottom 10 channels.
 
Then I right clicked on the first of the channels I changed the ID from 3 to 4 and changed it's colr from white to yellow. Then hit save the channel change. Then I get a runtime error 91 (note it's repeatable even if I only do a bulk change on ONE channel and change the channel color)
 


Posted By: peteandvanessa
Date Posted: 07 Aug 2008 at 3:28pm
Digging in more. The error also happens even if you just change a channel color on any sequence or you try to add another channel to the sequence.


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 3:42pm
peteandvanessa,
 
Please email me the sequence and I will try to reproduce it.  I just did as you instructed with some of my own sequences and did not get any errors.
 
Also, is this 0.6.0 or 0.6.1?


-------------
http://www.aurorashow.com/">


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 3:55pm
peteandvanessa,
Maybe you have the wrong version of auroradata2.dll still hanging around from the beta tests?  Note that the 0.5.4 version is missing the channel undo/redo interfaces.

-------------
http://www.aurorashow.com/">


Posted By: peteandvanessa
Date Posted: 07 Aug 2008 at 3:56pm
This is on 0.6.1 I thought for a while it was that I had forgot to re-boot after the patch. But just re-booted with the same issues. What's your email address I'll send over the sequence to you.


Posted By: peteandvanessa
Date Posted: 07 Aug 2008 at 3:59pm
I installed 0.6.1, so how do I tell if I've got the wrong .dll installed?


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 4:23pm
I'm going to incriment the version numbers and rebuild all od the DLLs then make a full installer available instead of just a replacement patch.

-------------
http://www.aurorashow.com/">


Posted By: peteandvanessa
Date Posted: 07 Aug 2008 at 4:33pm
Sounds like a good plan.


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 4:34pm
Ok... here it is:
 
http://www.aurorashow.com/downloads/aurora_0_6_2.zip - http://www.aurorashow.com/downloads/aurora_0_6_2.zip
 
After installation your auroradata2.dll version should be 1.0.0.1.


-------------
http://www.aurorashow.com/">


Posted By: peteandvanessa
Date Posted: 07 Aug 2008 at 4:48pm
Your Da Man, all previous issues I saw on channels editing and channel colors are all GONE Clap


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 4:50pm
One of the risks of being in the "Beta Testers" group... your computer got sick from the beta soup.

-------------
http://www.aurorashow.com/">


Posted By: peteandvanessa
Date Posted: 07 Aug 2008 at 4:58pm
It's all well againSmile


Posted By: bdkeen
Date Posted: 07 Aug 2008 at 6:47pm
Ok - tried 0.6.2, rebooted, sequence (test.dls) that I edited and saved under 0.6.1 still gives:
 Aurora Error Encountered at 8/7/2008 7:49:04 PM
Debugging Information:
11: Division by zero
Main Processing Loop  
AuroraData2
 
It appears to load - I even get the dialog box that  it opened 10718 events; 2096 snap points; 175 channels. It's when I click the 'OK' on this dialog box that division by zero occurrs.
 
Still trying to scrounge together another pc to try.  


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


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 7:56pm
Do I understand that you now have a sequence that will always generate this message after clicking ok on the dialog?
 
Please email that DLS file to me.  Also please run in debug mode (per previous instructions) and send me the aurora.log that is generated.


-------------
http://www.aurorashow.com/">


Posted By: bdkeen
Date Posted: 07 Aug 2008 at 8:31pm
Files sent via email.

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


Posted By: LightsOnLogan
Date Posted: 07 Aug 2008 at 10:10pm
You have email.
 
I was able to isolate reproducable steps and find out what was going on.  The beta testers have their hands on the fix and are testing it now... once complete a public fix will be posted.


-------------
http://www.aurorashow.com/">


Posted By: Bubba
Date Posted: 09 Aug 2008 at 7:45pm
I'm getting the exact same Division by zero error. It happens each time I try to delete timing events and then save.


Posted By: LightChristmas
Date Posted: 10 Aug 2008 at 1:42pm
BDKeen, is your latest error being caused by one of the Holdman LOR2 sequences, or is it something else?

-------------
http://www.aurorashow.com/">


Posted By: bdkeen
Date Posted: 10 Aug 2008 at 6:48pm
Have only tried the Holdman sequence so I can't say for sure.

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


Posted By: Bubba
Date Posted: 10 Aug 2008 at 7:31pm

I was getting that error message when deleting timing events on original sequences. Instead of trying to do a bunch of deletes and then saving I deleted 1-2 events then save (repeat) every now and then it throw out the error but I would just keep doing it until I got it all done.



Posted By: LightChristmas
Date Posted: 11 Aug 2008 at 9:09am
Have been working with the Holdman LOR2 sequences all weekend and have yet to get a crash out of it with ver 0.6.3, so it would appear that issue is fixed with the upcoming release.

-------------
http://www.aurorashow.com/">


Posted By: LightsOnLogan
Date Posted: 11 Aug 2008 at 11:03am
I believe 0.6.3 will fix this but I am working some other issues with 0.6.3 right now... stay tuned for the update.

-------------
http://www.aurorashow.com/">


Posted By: Bubba
Date Posted: 11 Aug 2008 at 12:51pm

The sequence that was giving me the Division by zero error currently will not open due to the same error. I've uninstalled .6 ver 2 then reinstalled .6 ver 0 with the exact same results. The funny thing is that when it saved and closed fine but now will not open. The first Division by zero error it tossed out said mouse move but all of the subsequent errors say main process loop.



Posted By: breakbenj
Date Posted: 11 Aug 2008 at 2:51pm
I am getting the same error with  only 1 sequence all the others are opening fine.

-------------
Jeff



Posted By: LightsOnLogan
Date Posted: 11 Aug 2008 at 3:16pm
Bubba,
 
That is one of the symptoms corrected in 0.6.3.  Please stay tuned for a fix soon.


-------------
http://www.aurorashow.com/">


Posted By: Bubba
Date Posted: 11 Aug 2008 at 4:21pm
No problem I didn't know if I bumped into something new or not. I'll stand by for .6ver3


Posted By: LightsOnLogan
Date Posted: 13 Aug 2008 at 12:54pm
Fixes posted here:
 
http://www.lightsonlogan.com/forum/forum_posts.asp?TID=217 - http://www.lightsonlogan.com/forum/forum_posts.asp?TID=217


-------------
http://www.aurorashow.com/">



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.06 - http://www.webwizforums.com
Copyright ©2001-2007 Web Wiz - http://www.webwizguide.com