Closed Bug 478816 Opened 17 years ago Closed 17 years ago

Gtk-CRITICAL **: gtk_drag_set_icon_pixbuf: assertion `GDK_IS_DRAG_CONTEXT (context)' failed

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: karlt, Assigned: karlt)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached patch patch — — Splinter Review
nsDragService::InvokeDragSession fails to check that gtk_drag_begin returns a non-NULL GdkDragContext, which can lead to "Gtk-CRITICAL **: gtk_drag_set_icon_pixbuf: assertion `GDK_IS_DRAG_CONTEXT (context)' failed" under the steps described in bug 477533 comment 0. The most likely cause of a failure is an existing pointer grab (which is the situation in bug 477533).
Attachment #362665 - Flags: review?(roc)
Attached patch diff -w of patch — — Splinter Review
Assignee: nobody → mozbugz
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Hi Karl, the bug is also be present in 1.9.1. Is there any reason why your patch was not added there? Thanks
I wasn't aware that there was a real need for the patch on branches. Is there any noticeable change in behavior beyond the message?
(In reply to comment #4) > I wasn't aware that there was a real need for the patch on branches. > Is there any noticeable change in behavior beyond the message? If you compile GTK+ without debugging there's a crash instead of the message. That's how we ran into it on an embedded platform.
Comment on attachment 362665 [details] [diff] [review] patch Oh, I see GTK defaults to --enable-debug=minimal, but --enable-debug=no sets G_DISABLE_CHECKS. This is a low risk patch, essentially a null check.
Attachment #362665 - Flags: approval1.9.1.5?
Attachment #362665 - Flags: approval1.9.1.5? → approval1.9.1.5-
Comment on attachment 362665 [details] [diff] [review] patch Don't see the need to get this into a security release, especially since the requester is building his own and could include this patch themselves until 1.9.2 is released in a month or two. Not approved for 1.9.1.5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: