fede1024 / rust-rdkafka

A fully asynchronous, futures-based Kafka client library for Rust based on librdkafka
MIT License
1.62k stars 276 forks source link

Segfault when creating consumer on x86_64-unknown-linux-musl #562

Open RedKinda opened 1 year ago

RedKinda commented 1 year ago

Hi, I have a minimal reproducible code on https://github.com/RedKinda/rust-musl-segfault

To reproduce, run the dockerfile included. It compiles for target x86_64-unknown-linux-musl on release, and upon running segfaults. After using gdb i got this

gef➤  x/1w 0x7ffff7ff7000
0x7ffff7ff7000 <EVP_sha256@got.plt>:    0x1f456

Let me know if I should raise this issue elsewhere

Noratrieb commented 1 year ago

The segfault is in C code: https://github.com/rust-lang/rust/issues/109916#issuecomment-1495432242