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 520795 - VAPI: Gdk.Rectangle argument to CellRenderer.get_size may be NULL
VAPI: Gdk.Rectangle argument to CellRenderer.get_size may be NULL
Status: RESOLVED DUPLICATE of bug 514864
Product: vala
Classification: Core
Component: Bindings
0.1.x
Other All
: Normal normal
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-06 17:49 UTC by ebichete
Modified: 2008-03-08 19:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ebichete 2008-03-06 17:49:13 UTC
Please describe the problem:
CellRenderer.get_size is defined in gtk+-2.0.vapi as:

public virtual void get_size(Gtk.Widget widget, Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height)

The generated C code has accesses cell_area's pointer without checking if it is NULL. This produces a segfault at runtime.



Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Jürg Billeter 2008-03-08 19:39:28 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 514864 ***