Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Fatal Crash with Drag and Drop on Mac OS X #311

@doylep

Description

@doylep

Basic drag and drop functionality causes a crash on Mac OS X. Issue reproduced using the drag_and_drop example from this repository. See the terminal log and backtrace below.

Reproduction

  • Download, build, and run the drag and drop example
  • Click on the drag button and drop on the label on the right. You will see the first two warnings and the error.
  • Click on the drag button again and the program will crash.

Terminal
RUST_BACKTRACE=1 cargo run --verbose --bin drag_and_drop
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
Running ./drag_and_drop
(:31457): Gtk-WARNING **: 16:39:21.028: Cannot load drag icon from icon name text-x-generic
(:31457): Gtk-WARNING **: 16:39:21.028: Cannot load drag icon from icon name text-x-generic
(:31457): Gtk-CRITICAL **: 16:39:21.029: _cairo_surface_extents: assertion 'surface != NULL' failed
**
Gdk:ERROR:../gdk/quartz/gdkdnd-quartz.c:44:_gdk_quartz_window_drag_begin: assertion failed: (_gdk_quartz_drag_source_context == NULL)
Bail out! Gdk:ERROR:../gdk/quartz/gdkdnd-quartz.c:44:_gdk_quartz_window_drag_begin: assertion failed: (_gdk_quartz_drag_source_context == NULL)
Abort trap: 6

Backtrace
backtrace.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions