xd009642 / tarpaulin

A code coverage tool for Rust projects
https://crates.io/crates/cargo-tarpaulin
Apache License 2.0
2.5k stars 180 forks source link

Segfault when used with actix-web tests #519

Closed OskarPersson closed 2 years ago

OskarPersson commented 4 years ago

I'm getting a segfault error when running tarpaulin with actix-web tests. I've created a docker image but I can for some reason only reproduce the error when running the docker image on Gitlab CI. I've created a minimal example here (failing job)

The test works as expected when using only cargo test instead of cargo tarpaulin.

xd009642 commented 4 years ago

Quick request could you add the --debug flag to the gitlab CI example you've done. Just hoping it might give me enough info without needing to make my own gitlab repo to replicate it

OskarPersson commented 4 years ago

Done https://gitlab.com/oskarpersson/actix-tarpaulin/-/jobs/683370058

glademiller commented 3 years ago

I don't have any more details to add other than to say I believe I am experiencing the same issue since the last update to the latest tag on docker hub.

OskarPersson commented 2 years ago

This seems to now be fixed with the latest tarpaulin, actix-web (4.0.0 rc3) and rust: https://gitlab.com/oskarpersson/actix-tarpaulin/-/commit/f65a0ea386472c7dc696ea818a48337d40d5ed44