After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643207 - Invalid free in gdk_event_free()
Invalid free in gdk_event_free()
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Class: GdkDevice
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Carlos Garnacho
: 643065 643089 643215 643238 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-02-24 16:45 UTC by Carlos Garcia Campos
Modified: 2011-02-25 15:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Copy event axes for double/triple click events in gdk_event_copy() (891 bytes, patch)
2011-02-24 16:45 UTC, Carlos Garcia Campos
committed Details | Review

Description Carlos Garcia Campos 2011-02-24 16:45:05 UTC
Created attachment 181844 [details] [review]
Copy event axes for double/triple click events in gdk_event_copy()

==23381== Invalid free() / delete / delete[]
==23381==    at 0x40257ED: free (vg_replace_malloc.c:366)
==23381==    by 0x5A59345: g_free (gmem.c:263)
==23381==    by 0x560B202: gdk_event_free (gdkevents.c:648)
==23381==    by 0x563151F: gdk_event_source_dispatch (gdkeventsource.c:320)
==23381==    by 0x5A4FF64: g_main_context_dispatch (gmain.c:2440)
==23381==    by 0x5A54517: g_main_context_iterate (gmain.c:3091)
==23381==    by 0x5A54A56: g_main_loop_run (gmain.c:3299)
==23381==    by 0x5395A2C: gtk_main (gtkmain.c:1349)

This is caused by commit 3f78b251b99f8bb301dae92ad94b6d1a6f66be96, no that the button axes are freed fordouble/triple click events , they should be copied too.
Comment 1 Matthew Barnes 2011-02-24 19:11:20 UTC
*** Bug 643089 has been marked as a duplicate of this bug. ***
Comment 2 Matthew Barnes 2011-02-24 19:12:52 UTC
*** Bug 643215 has been marked as a duplicate of this bug. ***
Comment 3 Matthias Clasen 2011-02-24 19:36:46 UTC
Review of attachment 181844 [details] [review]:

Yeah, looks right.
Comment 4 Matthew Barnes 2011-02-24 22:48:04 UTC
*** Bug 643238 has been marked as a duplicate of this bug. ***
Comment 5 Carlos Garcia Campos 2011-02-25 08:16:47 UTC
Comment on attachment 181844 [details] [review]
Copy event axes for double/triple click events in gdk_event_copy()

Pushed
Comment 6 Javier Jardón (IRC: jjardon) 2011-02-25 15:54:36 UTC
*** Bug 643065 has been marked as a duplicate of this bug. ***