Skip to content

fix: potential crash caused by dlopen different gtk libraries - #34774

Merged
VerteDinde merged 1 commit into
17-x-yfrom
miniak/fix_gtk_loading-17-x-y
Jun 30, 2022
Merged

VerteDinde merged 1 commit into
17-x-yfrom
miniak/fix_gtk_loading-17-x-y

Conversation

@miniak

@miniak miniak commented Jun 28, 2022 •

Copy link
Copy Markdown
Contributor

Backport of #33650
Backport of #34141

See that PR for details.

Notes: fix crash when opening gtk file dialogs due to mismatched versions

@miniak
miniak requested review from a team as code owners June 28, 2022 15:54
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jun 28, 2022
@trop trop Bot added 17-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jun 28, 2022
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jun 28, 2022
@miniak

miniak commented Jun 28, 2022 •

Copy link
Copy Markdown
Contributor Author

@deepak1556 can you please check? The change from E18 is slightly different than our internal backport in E17

@miniak
miniak force-pushed the miniak/fix_gtk_loading-17-x-y branch from 036a2d7 to 6889188 Compare June 28, 2022 16:01
@miniak
miniak force-pushed the miniak/fix_gtk_loading-17-x-y branch from 6889188 to 3c0ea37 Compare June 28, 2022 22:41
@codebytere

codebytere commented Jun 29, 2022 •

Copy link
Copy Markdown
Member

@miniak gn check failed:

#!/bin/bash -eo pipefail
cd src
gn gen out/Default --args="import(\"$GN_CONFIG\") import(\"$GN_GOMA_FILE\") $GN_EXTRA_ARGS $GN_BUILDFLAG_ARGS"

ERROR Unresolved dependencies.
//electron:electron_gtk_stubs(//build/toolchain/linux:clang_arm64)
  needs //ui/gtk:gtk_config(//build/toolchain/linux:clang_arm64)


Exited with code exit status 1
CircleCI received exit code 1

@deepak1556

deepak1556 commented Jun 29, 2022 •

Copy link
Copy Markdown
Member

@codebytere the gn check is a weird failure, the dependency on //ui/gtk:gtk_config was replaced in commit 3c0ea37 with //build/config/linux/gtk. The failing step in the gn check run is actually before the actual check in Default GN gen which passes on other runs for the same commit.

Some kind of bad cache is causing the failure.

@jviotti

jviotti commented Jun 29, 2022

Copy link
Copy Markdown
Contributor

An interesting Linux one you might be curious about @robertgzr

@miniak
miniak force-pushed the miniak/fix_gtk_loading-17-x-y branch from 3c0ea37 to 6f31ae2 Compare June 30, 2022 13:49
@VerteDinde
VerteDinde merged commit 342eb67 into 17-x-y Jun 30, 2022
@VerteDinde
VerteDinde deleted the miniak/fix_gtk_loading-17-x-y branch June 30, 2022 16:07
@release-clerk

release-clerk Bot commented Jun 30, 2022

Copy link
Copy Markdown

Release Notes Persisted

fix crash when opening gtk file dialogs due to mismatched versions

@lukasvida lukasvida mentioned this pull request Apr 19, 2024
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

17-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants