[Wayland-bugs] [Bug 51054] [bug] Clipboard crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 15 08:41:45 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51054

--- Comment #3 from min2 <min2 at mail.mailinator.com> 2012-06-15 08:41:45 PDT ---
Inside signal, there is listener list.
this listener list contains several items with corresponding notify()
functions.
The first notify() function points to destroy_offer_data_source()
The second notify() func. points to 0x82c0b00. See log:

[17:19:44.882] libwayland: disconnect from client 0x82c0b00
[17:19:44.883] clipboard_copy(clipboard=0x82b24b8,seat=0x828fc38)
[17:19:44.883] clipboard_copy(clipboard=0x82b24b8,seat=0x828fc38)

It's clear that this points to client that has been destroyed.
Now we must somehow also remove this notify(). Too bad that there seems
to be no way for removing notify from wl_signal()

We must maybe remove it inside the two clipboard_copy() calls that follow the
client disconnect.

That function clipboard_copy() is called two times for an unknown reason.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Wayland-bugs mailing list