Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release for updated crates / GHA build failures #117

Open
srd424 opened this issue Aug 4, 2024 · 6 comments
Open

New release for updated crates / GHA build failures #117

srd424 opened this issue Aug 4, 2024 · 6 comments

Comments

@srd424
Copy link

srd424 commented Aug 4, 2024

I run the provided debian package on Ubuntu 22.04 and find it very unstable - it often stops responding, or spins with 100% cpu etc. I've also seen segfaults and other random errors, e.g.:

Aug 04 02:00:01 xubuntu nsncd[441260]: free(): unaligned chunk detected in tcache 2

Before digging any further it would make sense to be running the latest code - I've tried forking the repo and tweaking the Github Actions but I can't seem to get a working build with either the stable or nightly rust toolchains. I would really appreciate it if someone who's more familiar with rust could do the necessary fix-ups and push a point release? Just in case any of the dependency bumps in crates etc have fixed some issue that my weird hacked-up system is triggering :)

@srd424
Copy link
Author

srd424 commented Aug 4, 2024 via email

@leifwalsh
Copy link
Collaborator

I can't seem to get a working build with either the stable or nightly rust toolchains

What build errors are you seeing? We do recommend debug builds for debugging, so while we could cut a new release I'd still rather figure out why you're having trouble building it on your own.

@srd424
Copy link
Author

srd424 commented Aug 4, 2024

I just hacked up your own GHA workflows!
Nightly: https://github.com/srd424/nsncd/actions/runs/10235189099/job/28315666470#step:6:83
Stable: https://github.com/srd424/nsncd/actions/runs/10235156172/job/28315590851#step:6:254

Probably trivial to someone who understands the rust ecosystem, but I'm a bit of a dinosaur :(

@srd424
Copy link
Author

srd424 commented Aug 4, 2024

FWIW, I've converted the user records that were using nss-extrausers into json for nss-systemd instead, and dropped extrausers from nsswitch.conf - 24 hours should be enough to tell if it's any more stable.

@srd424
Copy link
Author

srd424 commented Aug 6, 2024

~36 hours without a crash, I'm going to tentatively call that fixed! My immediate need for a rebuild is therefore gone, feel free to close this, or alternatively leave it open as a placeholder for the build issues?

@srd424 srd424 changed the title Any chance of a new release to aid debugging? New release for updated crates / GHA build failures Aug 6, 2024
@picnoir
Copy link
Contributor

picnoir commented Aug 6, 2024

The nightly build issue is related to rust-lang/rust#127343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants