Standalone built successfully but crash
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Standalone built successfully but crash
Hello,
A strange thing happened when I completed my last project with Revolution today. After a week of work, I finally build a standalone of my stack to post on my website; Revolution announces me that the "Standalone was built successfully", but upon launching the resulting application, it immediately crashes (bounces once or twice in the dock and disappears).
I have no idea where this is coming from. I am using Revolution 2.8.1-gm-3 and Mac OS X 10.5.1 (Haven't tried the binary for Windows yet).
You can get the .rev source file and the binary from this location:
http://homepage.mac.com/xapple/Projects/SeePoints/
Any ideas ? Suggestions ? Thanks in advance.
A strange thing happened when I completed my last project with Revolution today. After a week of work, I finally build a standalone of my stack to post on my website; Revolution announces me that the "Standalone was built successfully", but upon launching the resulting application, it immediately crashes (bounces once or twice in the dock and disappears).
I have no idea where this is coming from. I am using Revolution 2.8.1-gm-3 and Mac OS X 10.5.1 (Haven't tried the binary for Windows yet).
You can get the .rev source file and the binary from this location:
http://homepage.mac.com/xapple/Projects/SeePoints/
Any ideas ? Suggestions ? Thanks in advance.
Hmm... so this would mean that it's only the RunRev 2.8.1 Mac version that is affected by this inability to build sane executables...
Can anyone try compiling this same source with the Mac version to confirm ?
Though, if I just create a new empty stack, place a button or two in it, the same version of rev that I use does make a good executable...
I guess I should try starting with an empty stack, copy card by card from the current project to the fresh stack, compiling at every step, until the error kicks in, and thus trying to identify the source of the problem...
What tedious work... isn't anyone else having compilation problems ? I can't imagine what can be so special about my stack for it to bug like this.
PS: At what line was the strange equal sign ? I'll change it to an "is".
Can anyone try compiling this same source with the Mac version to confirm ?
Though, if I just create a new empty stack, place a button or two in it, the same version of rev that I use does make a good executable...
I guess I should try starting with an empty stack, copy card by card from the current project to the fresh stack, compiling at every step, until the error kicks in, and thus trying to identify the source of the problem...
What tedious work... isn't anyone else having compilation problems ? I can't imagine what can be so special about my stack for it to bug like this.
PS: At what line was the strange equal sign ? I'll change it to an "is".
OK I see why that character didn't get translated correctly... it was the "≠" or "not equal" sign... replaced it by "is not"...
Well my problem still isn't solved... I first tried simply coping all of my stack script from the current project to a fresh stack: it compiled sanely.
But when I tried furthermore copying all the card of the current project to the fresh stack using the following script, it would crash again on application launch!
This is really a strange behavior for Revolution... what can I do ? Should I file a bug ?
Thanks.
Well my problem still isn't solved... I first tried simply coping all of my stack script from the current project to a fresh stack: it compiled sanely.
But when I tried furthermore copying all the card of the current project to the fresh stack using the following script, it would crash again on application launch!
Code: Select all
on copyStack
do merge(format("put [[relativeRef(\"copyOldStackName\")]] into oldStackName"))
do merge(format("put [[relativeRef(\"copyNewStackName\")]] into newStackName"))
repeat with x = 1 to the number of cards of stack oldStackName
copy card x of stack oldStackName to stack newStackName
end repeat
end copyStack
Thanks.
By copying bits by bits of my project and compiling at each step, I have more or less narrowed it down to one button.
I indeed now have a stack, 3K in size, containing one card, and one button only (no scripts) which will not compile correctly!
It is here for you to see:
Can anyone see what is wrong here ?
Thanks in advance.
I indeed now have a stack, 3K in size, containing one card, and one button only (no scripts) which will not compile correctly!
It is here for you to see:
Code: Select all
go URL "http://homepage.mac.com/xapple/give/TestPoints.rev"
Thanks in advance.
Hi xApple,
I made a standalone of your almost-empty TestPoints stack and tested it on a PPC and an Intel Mac. No problems found.
Best,
Mark
I made a standalone of your almost-empty TestPoints stack and tested it on a PPC and an Intel Mac. No problems found.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Well I swear that when I compile that stack it crashes on launch... I tried with an other installation of Revolution on my second Macintosh. Same result.
Maybe you were not using the exact same version as me to make the standalone:
Revolution Studio 2.8.1-gm-3 (build 472) running on a PowerPC G4 and Mac OS X 10.5.1.
Maybe you were not using the exact same version as me to make the standalone:
Revolution Studio 2.8.1-gm-3 (build 472) running on a PowerPC G4 and Mac OS X 10.5.1.