LiveCode crashes a lot

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

cavenewt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Fri Mar 15, 2013 3:54 pm
Location: Jackson Hole, Wyoming, USA

LiveCode crashes a lot

Post by cavenewt » Sun Aug 25, 2013 6:10 pm

MacBook Pro 16gb RAM, Mac OS 10.8.4, LC Commercial 6.1.1-rc-2 Build 2007. I'm learning to save after every operation because it crashes so frequently. The only stack I've been working on is the summerschool app.

The only plugins added are MobGui, ICMover and ICResTool. I did do the MobGUI Recover which did not help.

I'm updating to the latest version, LC 6.1.1-rc-3, (just released) to see if that helps.

Here's the relevant part of my crash log, in case someone knows how to interpret it better than I do:
Process: LiveCode-Commercial [30572]
Path: /Applications/LiveCode 6.1.1 (rc 2).app/Contents/MacOS/LiveCode-Commercial
Identifier: com.runrev.livecode
Version: 6.1.1.2007 [rc 2] (6.1.1.2007 [rc 2])
Code Type: X86 (Native)
Parent Process: launchd [156]
User ID: 502

Date/Time: 2013-08-25 10:53:38.291 -0600
OS Version: Mac OS X 10.8.4 (12E55)
Report Version: 10

Interval Since Last Report: 249785 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 134351 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 89625A75-1C56-47CD-81A5-FC04544822D9

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000cd382004

VM Regions Near 0xcd382004:
CG backing stores 00000000c989c000-00000000c98cf000 [ 204K] rw-/rw- SM=SHM
-->
VM_ALLOCATE 00000000ffc00000-00000000ffc22000 [ 136K] rwx/rwx SM=COW

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.runrev.livecode 0x00106986 MCObjectHandle::Exists() + 6
1 com.runrev.livecode 0x0021e2ba MCInternalObjectListenerMessagePendingListeners() + 90
2 com.runrev.livecode 0x0020bf97 MCModeQueueEvents() + 23
3 com.runrev.livecode 0x00124b54 MCScreenDC::wait(double, unsigned char, unsigned char) + 164
4 com.runrev.livecode 0x001d87c9 X_main_loop_iteration() + 105
5 com.runrev.livecode 0x001d9571 X_main_loop() + 113
6 com.runrev.livecode 0x001d96f2 main + 338
7 com.runrev.livecode 0x00003246 _start + 216
8 com.runrev.livecode 0x0000316d start + 41

cavenewt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Fri Mar 15, 2013 3:54 pm
Location: Jackson Hole, Wyoming, USA

Re: LiveCode crashes a lot

Post by cavenewt » Sun Aug 25, 2013 6:31 pm

Nope, still crashes. The relevant Thread 0 in the crash log is identical to the one I posted earlier.

All I was doing was closing a script window on which I had already pressed the Apply button.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: LiveCode crashes a lot

Post by jacque » Sun Aug 25, 2013 6:35 pm

I had the same problem until I stopped using the new Project Browser. I think there's a crasher bug in there. Try closing it and see if that helps.

The Application Browser is the older tool that does much of the same things. I use that instead.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

EOTR
Posts: 49
Joined: Fri Aug 09, 2013 7:20 pm

Re: LiveCode crashes a lot

Post by EOTR » Sun Aug 25, 2013 6:57 pm

cavenewt wrote:All I was doing was closing a script window on which I had already pressed the Apply button.
I'm using OSX 10.8.4 also and find LC to be buggy. I normally crash when I put something in a script that is not part of the LC syntax (which is why I keep looking for a resource on proper use of the syntax).
jacque wrote:The Application Browser is the older tool that does much of the same things. I use that instead.
I also have a lot of problems with the Project Browser. I know you can click-drag the layers to reorder them, but sometimes the mouse will grab a layer for no reason and not let go. Also the icons don't always update. I'm going to give this a shot.

Thanks for the tip.
Henry

cavenewt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Fri Mar 15, 2013 3:54 pm
Location: Jackson Hole, Wyoming, USA

Re: LiveCode crashes a lot

Post by cavenewt » Sun Aug 25, 2013 7:29 pm

I will try the App Browser, of whose existence I was blissfuly ignorant. I had been in the habit of keeping the Project Browser open most of the time.

cavenewt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Fri Mar 15, 2013 3:54 pm
Location: Jackson Hole, Wyoming, USA

Re: LiveCode crashes a lot

Post by cavenewt » Sun Aug 25, 2013 11:14 pm

Been working all day with the App Browser rather than the Project Browser, and nary a crash. I hope this is something that can be fixed, as the PB is more convenient to use.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: LiveCode crashes a lot

Post by BvG » Mon Aug 26, 2013 12:35 am

If you find any more detail, maybe a surefire way to make it happen, please add it here: http://quality.runrev.com/show_bug.cgi?id=11126
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode crashes a lot

Post by FourthWorld » Mon Aug 26, 2013 2:53 am

BvG wrote:If you find any more detail, maybe a surefire way to make it happen, please add it here: http://quality.runrev.com/show_bug.cgi?id=11126
Thanks for filing that report.

Engine-wise, I think the only thing new the Project Browser uses is the thumbnail generation, made possible by the "at size" option added to the "export" command.

My guess is that if any of you have a need to make thumbnail and put the new "at size" option under stress testing, we may be able to hone in the recipe.

There's enough complexity in something like the Project Browser that my hunch may just be a goose chase. But since the issue is a crash rather than a script error, I'd start with relevant recent engine changes.

Can you think of any other engine changes that may come into play there besides "at size"?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: LiveCode crashes a lot

Post by Dixie » Mon Aug 26, 2013 7:25 am

Richard...

Where is 'at size' documented ?... or to put another way... in which 'release notes' has it been mentioned as I don't see it in the dictionary

elanorb
Livecode Staff Member
Livecode Staff Member
Posts: 516
Joined: Fri Feb 24, 2006 9:45 am

Re: LiveCode crashes a lot

Post by elanorb » Mon Aug 26, 2013 10:42 am

Hi everyone

If you can come up with a recipe, for any problems with the Project Browser please post here or file a bug report and we will investigate.

If you think it might be the thumbnails causing the problem you can turn these off in the preferences and see if that makes a difference.

Thanks

Elanor
Elanor Buchanan
Software Developer
LiveCode

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode crashes a lot

Post by FourthWorld » Mon Aug 26, 2013 2:53 pm

Dixie wrote:Where is 'at size' documented ?... or to put another way... in which 'release notes' has it been mentioned as I don't see it in the dictionary
See the Dictionary entry for the "export snapshot command.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

EOTR
Posts: 49
Joined: Fri Aug 09, 2013 7:20 pm

Re: LiveCode crashes a lot

Post by EOTR » Mon Aug 26, 2013 6:49 pm

I don't know if this will help give RunRev a clue, but when the Project Browser starts to display weird, random behaviors (like layer views disappearing, or getting cropped off, or the mouse not letting go of a layer and starts dragging it up and down the list) I find that if I close the Project Browser and re-open a new view it usually starts working again. At least for a while.

cavenewt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Fri Mar 15, 2013 3:54 pm
Location: Jackson Hole, Wyoming, USA

Re: LiveCode crashes a lot

Post by cavenewt » Mon Aug 26, 2013 7:06 pm

elanorb wrote:Hi everyone

If you can come up with a recipe, for any problems with the Project Browser please post here or file a bug report and we will investigate.

If you think it might be the thumbnails causing the problem you can turn these off in the preferences and see if that makes a difference.

Thanks

Elanor
I have turned off the thumbnail display for the Project Browser in Preferences and will report back.

EOTR
Posts: 49
Joined: Fri Aug 09, 2013 7:20 pm

Re: LiveCode crashes a lot

Post by EOTR » Mon Aug 26, 2013 8:50 pm

elanorb wrote:If you can come up with a recipe, for any problems with the Project Browser please post here or file a bug report and we will investigate.
I'm using the Project Browser with the thumbnails turned on. I'm finding that when I click on the thumbnail or the label in the layer, the Project Browser behaves strangely. If I click on the name of the object everything is fine.

For example (see attached): If I click on the label "Graphic:" a lot of odd things happen, but if I click on the name "background" it is fine.

Edit: I should add that the strangeness happens *mostly* when I'm trying to select multiple layers via command+click.
Attachments
layerLabels.png
Project Browser layers
layerLabels.png (3.83 KiB) Viewed 11520 times

heatherlaine
Site Admin
Site Admin
Posts: 343
Joined: Thu Feb 23, 2006 7:59 pm
Location: Wales

Re: LiveCode crashes a lot

Post by heatherlaine » Tue Aug 27, 2013 9:31 am

Something worth mentioning here - the thread opened with cavenewt saying that they were using LC Commercial 6.1.1-rc-2. Please be aware that rc releases are not stable, shipping releases. They are test releases (rc stands for Release Candidate). If you experience issues with an rc release you might try reverting to the last stable build, which will have no letters after its name - 6.1.0. We would also appreciate a bug report, here:

http://quality.runrev.com

I hope this helps,

Regards,

Heather

Locked

Return to “Summer School 2013”