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

Window manager crash on first time creating a link to a file #182

Closed
fossfreedom opened this issue Nov 22, 2018 · 5 comments
Closed

Window manager crash on first time creating a link to a file #182

fossfreedom opened this issue Nov 22, 2018 · 5 comments

Comments

@fossfreedom
Copy link
Contributor

fossfreedom commented Nov 22, 2018

Using the featured branch & budgie-desktop

Steps to repeat:

start com.github.spheras.desktopfolder from a terminal. i.e. must be the first time to run.
Create a panel
Within that panel try to create a link to a file.

The window manager crashes. Then the dialog appears

Next time you try to create a link to a file, the dialog asking for the path appears correctly without the window manager crashing.

EDIT: Same thing happens with "Link to folder" -

@fossfreedom
Copy link
Contributor Author

debug trace

(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.220: watch_fast: "/org/gtk/settings/file-chooser/" (establishing: 0, active: 0)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.221: watch_established: "/org/gtk/settings/file-chooser/" (establishing: 1)
** (com.github.spheras.desktopfolder:10757): DEBUG: 23:20:47.505: Application.vala:281: SCREEN SIZE CHANGED!
** (com.github.spheras.desktopfolder:10757): DEBUG: 23:20:47.530: DesktopManager.vala:76: DESKTOP SIZE CHANGED! (-12,-10) (1920,965)
** (com.github.spheras.desktopfolder:10757): DEBUG: 23:20:47.530: FolderManager.vala:95: size changed for Untitled Panel 2
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.530: watch_fast: "/com/github/spheras/desktopfolder/" (establishing: 0, active: 1)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.530: unwatch_fast: "/com/github/spheras/desktopfolder/" (active: 2, establishing: 0)
** (com.github.spheras.desktopfolder:10757): DEBUG: 23:20:47.538: FolderManager.vala:97: reloading settings
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.539: watch_fast: "/com/github/spheras/desktopfolder/" (establishing: 0, active: 1)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.539: unwatch_fast: "/com/github/spheras/desktopfolder/" (active: 2, establishing: 0)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.540: watch_fast: "/com/github/spheras/desktopfolder/" (establishing: 0, active: 1)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.540: unwatch_fast: "/com/github/spheras/desktopfolder/" (active: 2, establishing: 0)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.583: change_fast
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.583: change_notify: /org/gtk/settings/file-chooser/window-position
** (com.github.spheras.desktopfolder:10757): DEBUG: 23:20:47.849: Application.vala:281: SCREEN SIZE CHANGED!
** (com.github.spheras.desktopfolder:10757): DEBUG: 23:20:47.853: DesktopManager.vala:76: DESKTOP SIZE CHANGED! (-12,-10) (1920,965)
** (com.github.spheras.desktopfolder:10757): DEBUG: 23:20:47.853: FolderManager.vala:95: size changed for Untitled Panel 2
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.853: watch_fast: "/com/github/spheras/desktopfolder/" (establishing: 0, active: 1)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.853: unwatch_fast: "/com/github/spheras/desktopfolder/" (active: 2, establishing: 0)
** (com.github.spheras.desktopfolder:10757): DEBUG: 23:20:47.856: FolderManager.vala:97: reloading settings
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.856: watch_fast: "/com/github/spheras/desktopfolder/" (establishing: 0, active: 1)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.856: unwatch_fast: "/com/github/spheras/desktopfolder/" (active: 2, establishing: 0)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.858: watch_fast: "/com/github/spheras/desktopfolder/" (establishing: 0, active: 1)
(com.github.spheras.desktopfolder:10757): dconf-DEBUG: 23:20:47.858: unwatch_fast: "/com/github/spheras/desktopfolder/" (active: 2, establishing: 0)

@aljelly
Copy link
Collaborator

aljelly commented Nov 22, 2018

I was able to get window manager crashes caused by Desktop Folder when attempting to make the entire desktop toggleable without logging out and in again (it was at least happening with the properties panel, didn't try the select file dialogs).

  • Can you run journalctl, press End and see what the window manager says when it crashes?
  • Is Budgie's window manager based on Mutter (like elementary's Gala window manager)? Yes
  • Try creating a new panel and clicking the gear icon to show the properties panel. Does it also cause the window manager crash?
  • Does it only happen on the feature branch? If that's the case, I might be able to find out at what point the crashing started happening.

This is journalctl's output for me when I was getting the WM crashes:

Nov 22 02:01:54 aled-eOS gala[30271]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Nov 22 02:01:55 aled-eOS gala[30271]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Nov 22 02:01:56 aled-eOS gala[30271]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Nov 22 02:01:56 aled-eOS gala[30271]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Nov 22 02:01:56 aled-eOS gala[30271]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Nov 22 02:01:56 aled-eOS gala.desktop[30271]: Window manager warning: Attempt to perform window operation 1 on window 0x2200044 (hgcjfjt) when operation 1 on 0x2200044 (hgcjfjt) already in effect
Nov 22 02:01:58 aled-eOS gala[30271]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Nov 22 02:01:58 aled-eOS gala.desktop[30271]: Window manager warning: Attempt to perform window operation 1 on window 0x2200044 (hgcjfjt) when operation 1 on 0x2200044 (hgcjfjt) already in effect
Nov 22 02:01:58 aled-eOS gala.desktop[30271]: **
Nov 22 02:01:58 aled-eOS gala.desktop[30271]: mutter:ERROR:x11/group.c:71:meta_group_new: assertion failed: (g_hash_table_lookup (display->groups_by_leader, &group_leader) == NULL)
Nov 22 02:01:58 aled-eOS gnome-session[1222]: gnome-session-binary[1222]: WARNING: Application 'gala.desktop' killed by signal 6
Nov 22 02:01:58 aled-eOS gnome-session-binary[1222]: WARNING: Application 'gala.desktop' killed by signal 6
Nov 22 02:02:00 aled-eOS gala.desktop[25953]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2200003 specified for 0x2200036 (Apps).
Nov 22 02:02:00 aled-eOS gala.desktop[25953]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2200003 specified for 0x2200044 (hgcjfjt).

The stand out line being:

Nov 22 02:01:58 aled-eOS gala.desktop[30271]: mutter:ERROR:x11/group.c:71:meta_group_new: assertion failed: (g_hash_table_lookup (display->groups_by_leader, &group_leader) == NULL)

@spheras
Copy link
Owner

spheras commented Nov 23, 2018

@fossfreedom, I can't reproduce. Perhaps was the problem solved in the last version by chance? Could you check if you still have the problem (I'm testing with the feature-automaticarrange branch)

ezgif-4-bbe3d44059c5

@fossfreedom
Copy link
Contributor Author

fossfreedom commented Nov 23, 2018 via email

@fossfreedom
Copy link
Contributor Author

huh? After logging out and logging in all is fixed.

I'll keep an eye on this - but lets close for now.

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

No branches or pull requests

3 participants