Skip to content

Issue 6459 - crash on 3.0/3.1 branch#6461

Merged
progier389 merged 1 commit into
389ds:mainfrom
progier389:i6459
Jan 2, 2025
Merged

Issue 6459 - crash on 3.0/3.1 branch#6461
progier389 merged 1 commit into
389ds:mainfrom
progier389:i6459

Conversation

@progier389

@progier389 progier389 commented Dec 20, 2024

Copy link
Copy Markdown
Contributor

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

@tbordaz tbordaz left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor

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

@stanislavlevin

Copy link
Copy Markdown
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
@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