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

NFD package methods crashing on Linux with GTK error #932

Open
Boginsky opened this issue Oct 6, 2023 · 0 comments
Open

NFD package methods crashing on Linux with GTK error #932

Boginsky opened this issue Oct 6, 2023 · 0 comments

Comments

@Boginsky
Copy link

Boginsky commented Oct 6, 2023

Version

3.3.3

Platform

Linux x64 - Ubuntu 22.04.3

JDK

17.0.5

Module

NFD

Bug description

I encountered a problem when migrating from version 3.3.1 to 3.3.3. Methods NFD_PickFolder, NFD_OpenDialog, NFD_OpenDialogMultiple, NFD_SaveDialog stopped working and crashes with error. I saw the recording in nfd_gtk.cpp file.
Note: We do not check for malloc failure on Linux - Linux overcommits memory!

On a system with Windows 10, everything works well and the dialog windows open correctly. Can you please clarify is that problem on API side or am I doing something wrong? And if this is a problem on the api side can you suggest a workaround?

Stacktrace or crash log output

(process:6228): Gtk-CRITICAL **: 12:02:41.770: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
# A fatal error has been detected by the Java Runtime Environment:

#
(process:6228): Gtk-CRITICAL **: 12:02:41.770: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
#  SIGSEGV (0xb) at pc=0x00007f509258ccf4, pid=6228, tid=6229

#
(process:6228): Gtk-CRITICAL **: 12:02:41.770: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant