Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Swift][FlightRPC] Processing valid utf-8 lead to misaligned error #37884

@mgrazianoc

Description

@mgrazianoc

Describe the bug, including details regarding any error messages, version, and platform.

Bug

During FlightClient.doGet call, processing utf-8 generated from the flight server using arrow-rs leads to misaligned error.

Details

It's a simple testString in a single TEST column.
The same test was made on the python flight server, and no errors were raised.

Error Messages

Swift/UnsafeRawPointer.swift:1203: Fatal error: load from misaligned raw pointer

System details

  • Using Xcode Version 15.0 beta 8 (15A5229m)
  • Building for Apple Vision Pro Simulator
  • Swift-Driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-5.9.0.128.106 clang-1500.0.40.1)

Component(s)

Swift

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions