Page 1 of 1

lcVCS crash

Posted: Fri Oct 02, 2015 4:20 pm
by tfreulon
Hello,

I've got quite a big Livecode application, and with my team we would like to maintain it with git. That's why I installed lcVCS (rc1 version) and tried to export/import the whole application.

However, there is like 20 scripts to order and I'm not quite sure of the order. But even with very few of them, after exporting them with the plugin, the livecode crash when I "import to stackFiles":

Code: Select all

/opt/runrev/livecodecommunity-7.0.2-rc-2\ \(x86\)/livecodecommunity.i386 exiting on signal 11
And that's it, I don't even have a clue how to resolve this. I've tried many combinations, some work and some doesn't without making any sense to me.
Does this problem have already happened? Is there anyway to better understand the bug?

Thanks

Re: lcVCS crash

Posted: Sat Oct 03, 2015 6:28 pm
by mwieder
I do remember having to recompile lcVCS for my linux system before I could use it properly. I don't quite remember why, but I'm on a 64-bit system, so that may have been it, and may not be the problem. But you might try that and see if it fixes the segfault. Otherwise I'll let Monte comment here.

Re: lcVCS crash

Posted: Mon Oct 05, 2015 8:41 am
by tfreulon
Alas I'm on a 32-bit Linux system (since I've tried without success to run the application through 3 different 64-bit distribution)

Re: lcVCS crash

Posted: Mon Oct 12, 2015 1:30 pm
by tfreulon
No ideas? ...Such a shame that it is so hard to work on Livecode with source control :/

Re: lcVCS crash

Posted: Sat Oct 17, 2015 9:26 pm
by monte
Sorry for the slow reply. lcVCS being just a set of stacks can't crash. It is very good at finding crashing bugs in the engine though. Could you upgrade to the latest version of LC as there have been many issues resolved in the engine since 7.0.2.

Cheers

Monte

Re: lcVCS crash

Posted: Sat Oct 17, 2015 11:34 pm
by mwieder
Monte-

Yes, but it was mergJSON that I had to recompile to work on my linux system. And iirc that's a requirement for lcVCS.

Re: lcVCS crash

Posted: Sun Oct 18, 2015 6:19 am
by monte
Oh, previously it was only available on linux for 32 bit but it is now also available as 64 bit.

Re: lcVCS crash

Posted: Sun Oct 18, 2015 4:59 pm
by mwieder
Oh, cool. Yeah, that's why I had to build it locally back in the day.

Re: lcVCS crash

Posted: Sun Oct 18, 2015 8:08 pm
by monte
BTW I had a play with Travis CI the other day and now all I need to do is push a tag to github and Travis CI will add the linux 64 bit build as a version. It's pretty cool. Pity I can't build for all the platforms on Travis CI...

Re: lcVCS crash

Posted: Mon Oct 26, 2015 11:56 am
by tfreulon
Well there's indeed the possibility to upgrade Livecode but I don't think I could do that the project I'm in. I admit I didn't think about this because lcVCS is not up to date with the Livecode 8.0 version.
In the meantime I found a half solution : since I can export without problems, I commit .rev,.livecode and script.utf8 given by lcVCS. Then when I change something, I have a clue of what changes I have done with the script.utf8 files, even if I can't use the import mechanism. It's the best I have found :/

Re: lcVCS crash

Posted: Mon Oct 26, 2015 9:53 pm
by monte
What is stopping you upgrading from 7.0.2 RC2 to 7.1? There's lots of fixed bugs you are missing out on. I must admit I don't spend much time in LiveCode on linux so I may not be aware of blocker bugs for upgrading... The early 7 releases weren't all that stable though.

My recommendation these days is to move as much code as is feasible to script only stacks. You can use these for behaviors too so it would be entirely feasible to not have any code at all in a stack file. lcVCS is still valuable for version control on the UI though.

Re: lcVCS crash

Posted: Tue Oct 27, 2015 8:28 pm
by LCMark
@monte: Re Travis CI - this limitation of Travis is why we had to implement our own continuation integration and build facility 'vulcan'. (Peter hooked up Travis for the engine shortly after joining us).

Re: lcVCS crash

Posted: Tue Oct 27, 2015 11:45 pm
by monte
@LCMark I figured that. I had a difficult time just trying to get Travis to build 32 bit in addition to 64 bit linux so I just gave up and did the 64 bit build. They do have some facility in beta for multiple OS but I don't think Windows is included.