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

[GTKUI] Fix cairo crashes by not storing current context #431

Closed
wants to merge 2 commits into from

Conversation

cas--
Copy link
Member

@cas-- cas-- commented Aug 28, 2023

Windows users have reported Deluge crashes when resizing the window with Piecesbar or Stats plugins enabled:

Expression: CAIRO_REFERENCE_COUNT_HAS_REFERENCE(&surface->ref_count)

This is similar to issues fixed in GNU Radio which is a problem due to storing the current cairo context which is then being destroyed and recreated within GTK causing a reference count error

Fixes: https://dev.deluge-torrent.org/ticket/3339
Refs: gnuradio/gnuradio#6352

@cas-- cas-- added the package A label to force the CI packaging job label Aug 28, 2023
Windows users have reported Deluge crashes when resizing the window with
Piecesbar or Stats plugins enabled:

    Expression: CAIRO_REFERENCE_COUNT_HAS_REFERENCE(&surface->ref_count)

This is similar to issues fixed in GNU Radio which is a problem due to
storing the current cairo context which is then being destroyed and
recreated within GTK causing a reference count error

Fixes: https://dev.deluge-torrent.org/ticket/3339
Refs: gnuradio/gnuradio#6352
Pillow have dropped 32-bit wheels from v10 onwards so force install of
older v9 wheels since we don't want to build from src.

Refs: python-pillow/Pillow#6941 (comment)
@cas-- cas-- closed this in 18dca70 Sep 18, 2023
doadin pushed a commit to doadin/deluge that referenced this pull request Jun 4, 2024
Windows users have reported Deluge crashes when resizing the window with
Piecesbar or Stats plugins enabled:

    Expression: CAIRO_REFERENCE_COUNT_HAS_REFERENCE(&surface->ref_count)

This is similar to issues fixed in GNU Radio which is a problem due to
storing the current cairo context which is then being destroyed and
recreated within GTK causing a reference count error

Fixes: https://dev.deluge-torrent.org/ticket/3339
Refs: gnuradio/gnuradio#6352
Closes: deluge-torrent#431
doadin pushed a commit to doadin/deluge that referenced this pull request Sep 21, 2024
Windows users have reported Deluge crashes when resizing the window with
Piecesbar or Stats plugins enabled:

    Expression: CAIRO_REFERENCE_COUNT_HAS_REFERENCE(&surface->ref_count)

This is similar to issues fixed in GNU Radio which is a problem due to
storing the current cairo context which is then being destroyed and
recreated within GTK causing a reference count error

Fixes: https://dev.deluge-torrent.org/ticket/3339
Refs: gnuradio/gnuradio#6352
Closes: deluge-torrent#431
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package A label to force the CI packaging job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant