GNOME Bugzilla – Bug 751628
tests: caps: test_intersect_flagset failure
Last modified: 2015-08-16 13:41:26 UTC
test_intersect_flagset fails because when caps is being created, flags and mask are being casted to uint64, while the same are uint. This results in segfault as below gst/gstcaps.c:968:E:operations:test_intersect_flagset:0: (after this point) Received signal 11 (Segmentation fault)
Created attachment 306261 [details] [review] fix segfaults in caps tests
Looks correct, the value collect signature for flagsets is "ii". Pushed, thanks for the patch: commit 17300389535b30a2986805dba9254fcee613d36a Author: Vineeth TM <vineeth.tm@samsung.com> Date: Mon Jun 29 13:57:11 2015 +0900 tests: caps: fix test_intersect_flagset failure test_intersect_flagset fails because when caps is being created, flags and mask are being cast to uint64 while they should be uint. This results in invalid memory access or a segfault. https://bugzilla.gnome.org/show_bug.cgi?id=751628
Oops - sorry that was from switching to 64-bit flagsets during dev, and failing to switch back to 32-bit in all the right places.