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 755840 - audiointerleave: make check fails with segmentation fault.
audiointerleave: make check fails with segmentation fault.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.6.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-30 04:10 UTC by Vineeth
Modified: 2015-09-30 08:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix segmentation fault (1.21 KB, patch)
2015-09-30 04:13 UTC, Vineeth
committed Details | Review

Description Vineeth 2015-09-30 04:10:13 UTC
test_audiointerleave_2ch_smallbuf fails when running make check for audiointerleave tests.

Running suite(s): audiointerleave
0%: Checks: 1, Failures: 0, Errors: 1
elements/audiointerleave.c:1030:E:general:test_audiointerleave_2ch_smallbuf:0: (after this point) Received signal 11 (Segmentation fault)
make: *** [elements/audiointerleave.check] Error 1


This is happening when creating the caps for GST_TYPE_BITMASK 0x9.
This is solved by typecasting it to guint64
Comment 1 Vineeth 2015-09-30 04:13:56 UTC
Created attachment 312391 [details] [review]
fix segmentation fault
Comment 2 Tim-Philipp Müller 2015-09-30 08:03:46 UTC
Thanks, pushed:

commit 7c09277cd7bf766b8a564f6bfc1dcd344635572f
Author: Vineeth TM <vineeth.tm@samsung.com>
Date:   Wed Sep 30 13:13:19 2015 +0900

    audiointerleave: typecast bit-mask to guint64 to fix segmentation fault
    
    While creating caps in audiointerleave tests, bitmask is being set as 0x9
    This is resulting in segmentation fault. Fix the same by typecasting to guint64
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755840