GNOME Bugzilla – Bug 788894
test_callback_scope_call_array_inout crashes with SIGBUS on sparc64
Last modified: 2017-10-15 19:27:33 UTC
Created attachment 361445 [details] [review] closure: Fix unaligned and out-of-bounds access Running the testsuite on sparc64 fails, crashing with SIGBUS (an unaligned access) during test_callback_scope_call_array_inout. The attached patch fixes this.
Review of attachment 361445 [details] [review]: Thanks, looks reasonable. You missed one "args[i]" for the GI_TYPE_TAG_UNICHAR case
Created attachment 361543 [details] [review] [PATCH v2] closure: Fix unaligned and out-of-bounds access
Thanks, so I did; I was working on the Debian package and forward-ported the patch, but it isn't new enough to have that case. Amended patch added.
Thanks!