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

Bugfix/linux #3

Merged
merged 5 commits into from
Sep 6, 2023
Merged

Bugfix/linux #3

merged 5 commits into from
Sep 6, 2023

Conversation

Eyap53
Copy link
Owner

@Eyap53 Eyap53 commented Sep 6, 2023

See : gkngkc#106

This PR fixes gkngkc#43.

Technical details: The original code loads GTK+ inside the Unity process. It causes the gtk_init function to hang in a deadlock (See the backtrace gkngkc#43 (comment)). I separated the GTK+ related code to a new executable (I'm not sure about Unity's directory structure so I bundled the executable in the library) and run it in a separated process (pass input with argv and get output from pipe()-d stdout) when opening a dialog.

Thanks to Menci

@Eyap53 Eyap53 self-assigned this Sep 6, 2023
@Eyap53 Eyap53 merged commit 382697f into develop Sep 6, 2023
@Eyap53 Eyap53 deleted the bugfix/linux branch September 6, 2023 14:16
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.

2 participants