Skip to content

assert: "last < rowCount(parent)" in qabstractitemmodel.cpp #703

@Sjors

Description

@Sjors

Some but not all of my (descriptor) wallets trigger the following crash, immediately when loading them.

GUI: ASSERT: "last < rowCount(parent)" in file itemmodels/qabstractitemmodel.cpp, line 2815

Happens on master @ fcff639 with a DEBUG=1 depends build, but regardless of the ./configure --debug flag). Intel macOS 13.1. Will try some other configurations.

Also tested against Homebrew qt 5.15.8 (depends is at 5.15.5), which doesn't produce the problem.

I tried bumping depends QT to 5.15.8 but this requires changing our patches, which I'm not sure how to do. Bumping QT is only a solution if the bug is in QT, not if it's on our end.

Interestingly I don't experience this bug in the v24.0.1 guix build, even though that uses the same QT version (since bitcoin/bitcoin#25719).

Random other project that ran into the same assert: https://invent.kde.org/utilities/kfind/-/merge_requests/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions