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

K-Means widget hangs (intermittent, multiple number of clusters) #6855

Open
stuart-cls opened this issue Jul 17, 2024 · 2 comments
Open

K-Means widget hangs (intermittent, multiple number of clusters) #6855

stuart-cls opened this issue Jul 17, 2024 · 2 comments
Labels
bug report Bug is reported by user, not yet confirmed by the core team

Comments

@stuart-cls
Copy link

What's wrong?
The k-means widget sometimes hangs while running the multiple k fitting option.

The widget simply sits in the processing progress status, and will never recover from this state: Orange must be quit.

This happens on medium size datasets (~10k rows, 10-250 features) and larger. Clustering is generally quite fast for these datasets unless this bug happens.

Once the bug has been triggered, it persists for the user session (survives quit / restart of Orange) and most times can only be fixed with system reboot (or perhaps user logout).

I've connected a py-spy profiler to the hung application and dumped the following (slightly redacted) call trace:

hung-k-means_edited.txt

How can we reproduce the problem?

We haven't been able to create an .ows file that reliably reproduces this problem, despite quite some effort.

What's your environment?

  • Operating system: Linux, happens on Debian 12, Almalinux 9, CentOS 8
  • Orange version: Most recent versions, including at least 3.36.2
  • How you installed Orange: both conda environment and pip in a venv
@stuart-cls stuart-cls added the bug report Bug is reported by user, not yet confirmed by the core team label Jul 17, 2024
@ales-erjavec
Copy link
Contributor

One of the libraries, mentioned in the profiler, threadpoolctl has this warning about libomp (more here).

Do you see that warning in the terminal when running quasar?

Can you post full conda info and conda list (or pip list) of the environments?

@stuart-cls
Copy link
Author

Thanks for the pointer.

I don't see it in my environment (Debian 12, quasar-pip.txt ). I've asked my colleagues to watch for it in theirs when they see the bug. I don't have access to the conda environment where it was observed at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Bug is reported by user, not yet confirmed by the core team
Projects
None yet
Development

No branches or pull requests

2 participants