Skip to content

Issue 6459 - crash on 3.0/3.1 branch #6461

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

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Conversation

progier389
Copy link
Contributor

@progier389 progier389 commented Dec 20, 2024

vlv_rebuild_scope_filter code looks fishy:
it aborts the dblayer_read_txn_begin txn with dblayer_txn_abort instead of dblayer_read_txn_abort
(Meaning that it tries to release the backend serial lock without having locked it.)
This generates assertion failure on some distributions.

Issue: 6459

Reviewed by: @tbordaz (Thanks!)

@progier389 progier389 linked an issue Dec 20, 2024 that may be closed by this pull request
Copy link
Contributor

@tbordaz tbordaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
By the way I was suprise to not being able to reproduce it locally

@progier389
Copy link
Contributor Author

LGTM By the way I was suprise to not being able to reproduce it locally

Assertion are not verified in if -DDEBUG flag is not set
But when done test I routinely use debug build on Fedora and never hit it, so I guess that something else hid it.

@stanislavlevin
Copy link
Contributor

With this patch I don't see the crash any more.

@stanislavlevin
Copy link
Contributor

LGTM By the way I was suprise to not being able to reproduce it locally

Assertion are not verified in if -DDEBUG flag is not set But when done test I routinely use debug build on Fedora and never hit it, so I guess that something else hid it.

This assertion is controlled by --{disable,enable}-debug configure option of nspr project. For Fedora it's --disable-debug (https://src.fedoraproject.org/rpms/nss/blob/rawhide/f/nss.spec#_331).

@progier389 progier389 changed the title Issue 6469 - crash on 3.0/3.1 branch Issue 6459 - crash on 3.0/3.1 branch Jan 2, 2025
@progier389 progier389 merged commit f4553b8 into 389ds:main Jan 2, 2025
197 of 199 checks passed
@progier389 progier389 deleted the i6459 branch May 20, 2025 13:06
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

Successfully merging this pull request may close these issues.

crash on 3.0/3.1 branch
3 participants