mchoe / SwiftSVG

A simple, performant, and lightweight SVG parser
Other
1.92k stars 230 forks source link

crash : CurveTo.execute #186

Open Tliens opened 2 years ago

Tliens commented 2 years ago

Crashed: com.straussmade.swiftsvg.path.concurrent 0 Playhouse 0x16f51a4 CurveTo.execute(on:previousCommand:) + 4319728036 (:4319728036) 1 Playhouse 0x1708190 closure #1 in closure #1 in SVGPath.parseD(_:) + 93 (SVGPath.swift:93) 2 Playhouse 0x4acec0 thunk for @escaping @callee_guaranteed () -> () + 4300558016 (:4300558016)

ivanicspeter92 commented 1 year ago

After two days of looking at where the problem is, we upgraded our Xcode to 14.1 which resolved the issue.

The earlier version was crashing randomly at one of the SVG files but none of our team members could figure out which one was it, or what caused this behaviour. Hope this helps any of you.