[Xfce-bugs] [Bug 15299] New: xfdesktop crash when trying to move icon to display where icons are not allowed

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Apr 18 01:40:57 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15299

            Bug ID: 15299
           Summary: xfdesktop crash when trying to move icon to display
                    where icons are not allowed
    Classification: Xfce Core
           Product: Xfdesktop
           Version: Unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: tony.paulic at gmail.com
  Target Milestone: Xfce 4.14

This is related to the recent changes to xfdesktop icon orientation and primary
display changes. I think I've hit a corner case. All components built from git.

On a multi-monitor setup (laptop, secondary, on left / monitor, primary, on
right) with the desktop-settings option "Show icons on primary display"
enabled, attempting to drag and drop an icon from the primary (external)
display to the secondary (laptop) display results in an xfdesktop crash.
Running xfdesktop through gdb yields the following message:

Thread 1 “xfdesktop” received signal SIGBUS, Bus error.
0x000055555558216c in xfdesktop_icon_get_allowed_drop_actions
(icon=0x7ffff7669ab0, suggested_action=0x0) at xfdesktop-icon.c:272
272  g_return_val_if_fail(XFDESKTOP_IS_ICON(icon), FALSE);

I am unable to get a backtrace as this results in a hard lockup of my system. 

Of interest, when I uncheck the "Show icons on primary display" option, I don't
get a crash and the icon is successfully moved to the secondary display. If the
intent of this option is to force icons to the primary display, we may be
missing a check.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list