Page 1 of 1

TemplateStack Bug?

Posted: Fri Sep 17, 2010 1:58 am
by WaltBrown
FYI, this line crashes RR4 Build 950 on x64 Vista SP2 in the same op in the Main thread and Rev frame every time, whether scripted, in the MessageBox, or in a Try loop, or in any form (ie "get", "put", etc):

Code: Select all

the currentcard of the templateStack
"currentcard" is not listed in any documentation but comes up in the propertyNames list.

FWIW:
Unhandled Win32 exception [424].
Unhandled exception at 0x00437d78 in Revolution.exe: 0xC0000005: Access violation reading location 0x00000000.

Walt

Re: TemplateStack Bug?

Posted: Fri Sep 17, 2010 3:08 am
by shadowslash
Hmm it does as well at 4.5.0-dp-3 Build 1020

Re: TemplateStack Bug?

Posted: Fri Sep 17, 2010 3:36 am
by mwieder
OK - filed as bz #8968.

For now, doctor says "don't do that"...

It *does*, of course, bring up the question of *why* you're trying to access the currentCard of the templateStack... it doesn't seem like a very rewarding property to try to work with.

Re: TemplateStack Bug?

Posted: Fri Sep 17, 2010 5:43 am
by WaltBrown
There is no "why", I just happened on it. I was brute force analyzing available properties for "template" object settings to create my own starter stack. Since it crashed Rev, I had to pin it down anyway.

Walt

Re: TemplateStack Bug?

Posted: Fri Sep 17, 2010 6:13 am
by mwieder
Got it. I definitely approve of exploring.

Re: TemplateStack Bug?

Posted: Fri Sep 17, 2010 6:28 am
by WaltBrown
Well, exploring can be hazardous. You heard the one about the little kitten growing up in a cabin in the woods?

Re: TemplateStack Bug?

Posted: Fri Sep 17, 2010 6:29 am
by shadowslash
Brute forcing FTW! Image

Re: TemplateStack Bug?

Posted: Sat Sep 18, 2010 4:44 pm
by mwieder
Bug #8968 is now marked as Fixed for the next release.

Re: TemplateStack Bug?

Posted: Sat Sep 18, 2010 5:30 pm
by shadowslash
mwieder wrote:Bug #8968 is now marked as Fixed for the next release.
Thanks for the heads up!

Re: TemplateStack Bug?

Posted: Sun Sep 19, 2010 1:22 am
by WaltBrown
Thanks!