This is most definitely a bug, probably in TabularData itself. I boiled your example down to this: import Foundation import TabularData func test() { let csv = c CCCCCCCCCCCCCCCC var dataFrame = try! DataFrame( csvData: Data(csv.utf8), columns: [c], types: [c: .string] ) dataFrame.removeRow(at: 0) } test() and it crashes in roughly the same way. I’m running this as a command-line tool on macOS 13.4. I tested with both Xcode 14.3 and Xcode 15 beta and it crashes either way. I then put this code into tiny iOS test project and ran it on the iOS 17 beta simulator. It doesn’t crash there, suggesting that the bug has already been fixed. The really interesting thing is that removing a single character from CCCCCCCCCCCCCCCC makes the problem go away. Share and Enjoy Quinn “The Eskimo!” @ DTS @ Apple
Topic:
Programming Languages
SubTopic:
Swift
Tags: