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 347018 - missing GDK_QUARTZ_ALLOC/RELEASE_POOL calls
missing GDK_QUARTZ_ALLOC/RELEASE_POOL calls
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Quartz
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-quartz maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-07-09 06:47 UTC by Brian Tarricone
Modified: 2006-07-09 07:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix a couple missing ALLOC/RELEASE (952 bytes, patch)
2006-07-09 06:48 UTC, Brian Tarricone
none Details | Review

Description Brian Tarricone 2006-07-09 06:47:16 UTC
Please describe the problem:
From http://developer.imendio.com/wiki/Gtk_Mac_OS_X/Things_to_do:

"More Cocoa calls need to be surrounded by GDK_QUARTZ_ALLOC_POOL and GDK_QUARTZ_RELEASE_POOL. Break on _NSAutoreleaseNoPool in gdb and see what functions need fixing."

So far I found one ALLOC without a matching RELEASE, and a need for an ALLOC/RELEASE pair in gdkwindow-quartz.c:move_resize_window_internal().  (The GtkExpander portion of gtk-demo causes _NSAutoreleaseNoPool() to be called when you click on the expander widget.)

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Brian Tarricone 2006-07-09 06:48:20 UTC
Created attachment 68655 [details] [review]
patch to fix a couple missing ALLOC/RELEASE
Comment 2 Richard Hult 2006-07-09 07:52:21 UTC
Thanks! Patch is committed to CVS. If we find more of those we can create new bugs.