TemplateStack Bug?

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

TemplateStack Bug?

Post by WaltBrown » Fri Sep 17, 2010 1:58 am

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
Walt Brown
Omnis traductor traditor

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: TemplateStack Bug?

Post by shadowslash » Fri Sep 17, 2010 3:08 am

Hmm it does as well at 4.5.0-dp-3 Build 1020
Parañaque, Philippines
Image
Image

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: TemplateStack Bug?

Post by mwieder » Fri Sep 17, 2010 3:36 am

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.

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Re: TemplateStack Bug?

Post by WaltBrown » Fri Sep 17, 2010 5:43 am

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
Walt Brown
Omnis traductor traditor

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: TemplateStack Bug?

Post by mwieder » Fri Sep 17, 2010 6:13 am

Got it. I definitely approve of exploring.

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Re: TemplateStack Bug?

Post by WaltBrown » Fri Sep 17, 2010 6:28 am

Well, exploring can be hazardous. You heard the one about the little kitten growing up in a cabin in the woods?
Walt Brown
Omnis traductor traditor

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: TemplateStack Bug?

Post by shadowslash » Fri Sep 17, 2010 6:29 am

Brute forcing FTW! Image
Parañaque, Philippines
Image
Image

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: TemplateStack Bug?

Post by mwieder » Sat Sep 18, 2010 4:44 pm

Bug #8968 is now marked as Fixed for the next release.

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: TemplateStack Bug?

Post by shadowslash » Sat Sep 18, 2010 5:30 pm

mwieder wrote:Bug #8968 is now marked as Fixed for the next release.
Thanks for the heads up!
Parañaque, Philippines
Image
Image

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Re: TemplateStack Bug?

Post by WaltBrown » Sun Sep 19, 2010 1:22 am

Thanks!
Walt Brown
Omnis traductor traditor

Post Reply