Skip to content

Conversation

maellacour
Copy link
Owner

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

@maellacour maellacour self-assigned this Sep 6, 2023
@maellacour maellacour merged commit 382697f into develop Sep 6, 2023
@maellacour maellacour 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