Skip to content

Crash in PendingStreamWritesManager: EXC_BAD_ACCESS #1479

Open
@NoFearJoe

Description

@NoFearJoe
  • grpc-swift: 1.9.0
  • integrated via SPM

Describe the bug

The app crashes when I make a request.

To reproduce

I've written the following code:

let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
				
let channel = try! GRPCChannelPool.with(
	target: .host("localhost"),
	transportSecurity: .plaintext,
	eventLoopGroup: group
)
				
let client = Com_Book_BookServiceNIOClient(channel: channel)
				
client.getBook(.with { $0.isbn = 1 }).response.whenComplete { result in
	print(result)
}

I always get the crash in PendingStreamWritesManager:
-

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugFeature doesn't work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions