GNOME Bugzilla – Bug 625758
segfault using structs in variadic method calls
Last modified: 2010-08-20 07:27:52 UTC
Created attachment 166926 [details] Test prog When using struct properties the resulting executable crashes with a sigsegv. The attached test prog shows this problem. TThe following code is generated; #line 20 "test.vala" g_object_set ((GObject*) tc, "test_struct", ts, NULL); ^^^^ when changing the ts to &ts the program runs correctly. - Erwin
Created attachment 167237 [details] [review] Fix passing real non null struct arguments to vararg methods. Fixes bug 625758.
Created attachment 168274 [details] [review] Fix passing real non null struct arguments to vararg methods. Fixes bug 625758. Updated to apply clean on git master.
commit b96ab91fa9e04e9f0eace71b78264b394b028842 Author: Jürg Billeter <j@bitron.ch> Date: Fri Aug 6 10:43:03 2010 +0200 Fix passing real non null struct arguments to vararg methods Based on patch by Luca Bruno, fixes bug 625758.