Stackz User Forum

Archive => Stackz 07 Test => Stackz for PC => Bugs fixed => Topic started by: Arqui3D.com on June 20, 2007, 01:08:13 AM

Title: Opening the retention manager when set in extended mode may crash the program
Post by: Arqui3D.com on June 20, 2007, 01:08:13 AM
(http://arqui3d.com/retention_manager_crashing.gif)

OK... this happens with about 50% of my lesson files. Not a big thing and is easily fixed, but since we're here to report bugs, I though I should post it.

Sometimes, when opening a lesson file and then opening the Retention Manager, if the Retention Manager was previously set in its extended form (That is, showing all the bars in the lower part), Stackz! crashes.

I've tested my files one by one and found that more than the half have this problem. I've compiled them in a ZIP for studying these rare specimens. You can download it from http://arqui3d.com/crashingfiles.zip (http://arqui3d.com/crashingfiles.zip).

I have found that I can prevent this from happening in two ways:

1) Make sure that I always leave the Retention Manager in its abbreviated form after using it. It only happens when it's in its extended form, at least with these files. If I make sure the R.M. it's in its short form before closing it, and then I open one of these files and open the R.M. again, nothing happens. I can then extend the R.M. to view the colored bars and everything works fine.

2) Save the problematic files with another name from within Stackz! 7. All these were old files from Stackz! 2005 v3, and after saving them again from within the new Stackz! version, the problem went away.

By the way, I tested on 2 different PCs with Win XP (A Core 2 Duo w/2 Gigs of RAM and a P4 w/512MB RAM), and the same thing happens.
Title: Re: Opening the retention manager when set in extended mode may crash the progra
Post by: Chris on June 20, 2007, 01:32:52 AM
Thank you very much for this bug report. With your description and the files I'll certainly be able to reproduce and fix this problem!
Title: Re: Opening the retention manager when set in extended mode may crash the progra
Post by: Chris on June 24, 2007, 04:36:23 PM
The fix will be included in the next release.

Details:
The crash happens if the RetentionManager (only extended mode) is re-opened after having been opened before, and the document that was active at the last RetentionManger display time is no longer open in Stackz when re-openeing the RetentionManager window. In this situation the RretentionManager tries to display the (previous) data of the closed file before it is updated to the new active document.

Thanks for reporting!
Title: Re: Opening the retention manager when set in extended mode may crash the progra
Post by: Arqui3D.com on June 25, 2007, 10:57:17 PM
(http://arqui3d.com/retention_manager_crash2.gif)

Uninstalled Beta 4, installed Beta 5a. Still the same problem, but this time it seems to happen with only one particular file from the group of files I sent you: KPR2_clean36.szm.

Anyway, It's not a big deal.
Title: Re: Opening the retention manager when set in extended mode may crash the progra
Post by: Chris on June 26, 2007, 06:27:10 AM
The bug I solved is not file related...
Title: Still happening...
Post by: Arqui3D.com on June 28, 2007, 01:25:26 AM
Well, this happened today again, and with another file that was not part of the original group of problematic files I reported. It seems that the problem has just become less frequent, and more erratic.

By the way, now the retention manager has a couple of quirks I did not recognize before. I'll be reporting on another thread.
Title: Re: Opening the retention manager when set in extended mode may crash the progra
Post by: Chris on June 28, 2007, 06:28:28 AM
Less frequent and more erratic - sounds like there is another reason causing it.
Please let me know if you can reproduce it!

I moved this thread back to the bug list.
Title: Found a way to reproduce the Retention Manager crash
Post by: Arqui3D.com on June 29, 2007, 06:30:29 PM
Ok... I found a way to reproduce this error that works almost 100% of the time, with ANY of my Stackz! files... Here it goes:

1) First, make sure the RM has been previously set to be in its extended form.

2) Open a file, any file, that has expired cards.

3) Open the RM.

4) Click on "Examine expired cards".

5) Close the RM.

6) Close the file.

7) Open the same file again, or any other file.

8) Open the RM.

9) Stackz! crashes.

A tip: It might not work if the file has only expired cards; it works better with files that have both expired and not-expired cards.
Title: Re: Opening the retention manager when set in extended mode may crash the progra
Post by: Chris on June 29, 2007, 07:53:18 PM
Thanks, a reason to celebrate, the days of this bug are counted.
I'll look at it soon!
Title: Re: Opening the retention manager when set in extended mode may crash the progra
Post by: Chris on July 18, 2007, 09:16:10 PM
It's fixed in Stackz 07 beta 6.