Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select text layers crashes Sketch 3 #50

Closed
lightflows opened this issue Oct 25, 2014 · 1 comment
Closed

Select text layers crashes Sketch 3 #50

lightflows opened this issue Oct 25, 2014 · 1 comment

Comments

@lightflows
Copy link

Not quite sure why - tested on a small project and it worked fine.
With one of my larger projects Sketch bombs - here's the log from my console. The marker in the log was added just prior to executing the command so everything after is a result of running the script.

25/10/2014 22:03:15.181 Console[29277]: Marker - 25 Oct 2014 22:03:15
25/10/2014 22:03:30.207 Sketch[29581]: 1 0x7fff848a07f6 cti_op_call_NotJSFunction
25/10/2014 22:03:30.207 Sketch[29581]: 2 0x472d566121a9
25/10/2014 22:03:30.207 Sketch[29581]: 3 0x7fff84720ba6 JSC::Interpreter::execute(JSC::ProgramExecutable_, JSC::ExecState_, JSC::JSObject_)
25/10/2014 22:03:30.208 Sketch[29581]: 4 0x7fff8471f9a6 JSC::evaluate(JSC::ExecState_, JSC::SourceCode const&, JSC::JSValue, JSC::JSValue_)
25/10/2014 22:03:30.208 Sketch[29581]: 5 0x7fff8471f69d JSEvaluateScript
25/10/2014 22:03:30.208 Sketch[29581]: 6 0x10d2d0725 -[Mocha evalJSString:scriptPath:]
25/10/2014 22:03:30.208 Sketch[29581]: 7 0x10d2d0639 -[Mocha evalString:atURL:]
25/10/2014 22:03:30.208 Sketch[29581]: 8 0x10d2d4848 -[COScript executeString:baseURL:]
25/10/2014 22:03:30.208 Sketch[29581]: 9 0x10ceec0df
25/10/2014 22:03:30.208 Sketch[29581]: 10 0x10ce5ad8a
25/10/2014 22:03:30.208 Sketch[29581]: 11 0x10ce59e3d
25/10/2014 22:03:30.209 Sketch[29581]: 12 0x7fff8b78a260 -[NSApplication sendAction:to:from:]
25/10/2014 22:03:30.209 Sketch[29581]: 13 0x7fff8b7a51c8 -[NSMenuItem corePerformAction]
25/10/2014 22:03:30.209 Sketch[29581]: 14 0x7fff8b7a4f04 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
25/10/2014 22:03:30.209 Sketch[29581]: 15 0x7fff8b7f440d -[NSMenu internalPerformActionForItemAtIndex:]
25/10/2014 22:03:30.210 Sketch[29581]: 16 0x7fff8b7f4289 -[NSCarbonMenuImpl carbonCommandProcessEvent:handlerCallRef:]
25/10/2014 22:03:30.210 Sketch[29581]: 17 0x7fff8b79aff6 NSSLMMenuEventHandler
25/10/2014 22:03:30.210 Sketch[29581]: 18 0x7fff84fa91d4 DispatchEventToHandlers(EventTargetRec
, OpaqueEventRef
, HandlerCallRec
)
25/10/2014 22:03:30.210 Sketch[29581]: 19 0x7fff84fa8787 SendEventToEventTargetInternal(OpaqueEventRef_, OpaqueEventTargetRef_, HandlerCallRec_)
25/10/2014 22:03:30.210 Sketch[29581]: 20 0x7fff84fbc880 SendEventToEventTarget
25/10/2014 22:03:30.210 Sketch[29581]: 21 0x7fff84ff2640 SendHICommandEvent(unsigned int, HICommand const_, unsigned int, unsigned int, unsigned char, void const_, OpaqueEventTargetRef_, OpaqueEventTargetRef_, OpaqueEventRef__)
25/10/2014 22:03:30.211 Sketch[29581]: 22 0x7fff85025228 SendMenuCommandWithContextAndModifiers
25/10/2014 22:03:30.211 Sketch[29581]: 23 0x7fff850251d0 SendMenuItemSelectedEvent
25/10/2014 22:03:30.211 Sketch[29581]: 24 0x7fff850250af FinishMenuSelection(SelectionData_, MenuResult_, MenuResult_)
25/10/2014 22:03:30.211 Sketch[29581]: 25 0x7fff8502d085 MenuSelectCore(MenuData_, Point, double, unsigned int, OpaqueMenuRef__, unsigned short_)
25/10/2014 22:03:30.211 Sketch[29581]: 26 0x7fff8502ccb1 _HandleMenuSelection2
25/10/2014 22:03:30.211 Sketch[29581]: 27 0x7fff8b70d62c _NSHandleCarbonMenuEvent
25/10/2014 22:03:30.212 Sketch[29581]: 28 0x7fff8b56c52e _DPSNextEvent
25/10/2014 22:03:30.212 Sketch[29581]: 29 0x7fff8b56b89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
25/10/2014 22:03:30.212 Sketch[29581]: 30 0x7fff8b55f99c -[NSApplication run]
25/10/2014 22:03:30.212 Sketch[29581]: 31 0x7fff8b54a783 NSApplicationMain
25/10/2014 22:03:31.378 _securityagent[29628]: audit warning: allsoft
25/10/2014 22:03:31.378 _securityagent[29627]: audit warning: soft /var/audit
25/10/2014 22:03:31.380 _securityagent[29629]: audit warning: closefile /var/audit/20141025210259.20141025210331
25/10/2014 22:03:31.497 com.apple.launchd.peruser.505[191]: (com.bohemiancoding.sketch3.6016[29581]) Job appears to have crashed: Segmentation fault: 11
25/10/2014 22:03:31.712 ReportCrash[29623]: Saved crash report for Sketch[29581] version 3.1 (8751) to /Users/xxxxxxxx/Library/Logs/DiagnosticReports/Sketch_2014-10-25-220331_xxxxxxxxxxx-MacBook-Pro.crash

@bomberstudios
Copy link
Owner

Any chance you could share the offending file (or something close enough to trigger the crash?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants