[Bug 694717] New: gst_memory_share: assertion `!GST_MEMORY_FLAG_IS_SET (mem, GST_MEMORY_FLAG_NO_SHARE)' failed in flacparse unit test

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Feb 25 16:31:44 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=694717
  GStreamer | gstreamer (core) | git

           Summary: gst_memory_share: assertion `!GST_MEMORY_FLAG_IS_SET
                    (mem, GST_MEMORY_FLAG_NO_SHARE)' failed in flacparse
                    unit test
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Recent core changes make the flacparse unit test in -good abort like this:

Running suite(s): flacparse

(lt-flacparse:1683): GStreamer-CRITICAL **: gst_memory_share: assertion
`!GST_MEMORY_FLAG_IS_SET (mem, GST_MEMORY_FLAG_NO_SHARE)' failed

Program received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=0x2aaaaaf90f98 "GStreamer", log_level=G_LOG_LEVEL_CRITICAL,
format=<optimized out>, args=args at entry=0x7fffffffb238) at gmessages.c:981
981          g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) bt
#0  g_logv (log_domain=0x2aaaaaf90f98 "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7fffffffb238) at gmessages.c:981
#1  0x00002aaaab726a32 in g_log (log_domain=<optimized out>,
log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
format=format at entry=0x2aaaab79233a "%s: assertion `%s' failed") at
gmessages.c:1010
#2  0x00002aaaab726a59 in g_return_if_fail_warning (log_domain=<optimized out>,
pretty_function=pretty_function at entry=0x2aaaaaf9d8b0 "gst_memory_share", 
    expression=expression at entry=0x2aaaaaf9d780 "!GST_MEMORY_FLAG_IS_SET (mem,
GST_MEMORY_FLAG_NO_SHARE)") at gmessages.c:1019
#3  0x00002aaaaaf3d2a9 in gst_memory_share (mem=<optimized out>,
offset=<optimized out>, size=<optimized out>) at gstmemory.c:360
#4  0x00002aaaaaf177fd in gst_buffer_copy_into (dest=dest at entry=0x6d9220,
src=src at entry=0x6d9110, flags=flags at entry=15, offset=offset at entry=0,
size=size at entry=4) at gstbuffer.c:430
#5  0x00002aaaaaf18c3a in gst_buffer_copy_region (buffer=buffer at entry=0x6d9110,
flags=flags at entry=15, offset=offset at entry=0, size=size at entry=4) at
gstbuffer.c:1742
#6  0x00002aaaac7d1a2a in gst_flac_parse_parse_frame (size=4, parse=0x6d2800,
frame=<optimized out>) at gstflacparse.c:1497
#7  gst_flac_parse_handle_frame (parse=0x6d2800, frame=0x6bbe30,
skipsize=<optimized out>) at gstflacparse.c:861
#8  0x00002aaaace78dce in gst_base_parse_handle_buffer
(parse=parse at entry=0x6d2800, buffer=<optimized out>,
skip=skip at entry=0x7fffffffb8c8, flushed=flushed at entry=0x7fffffffb8cc) at
gstbaseparse.c:1881
#9  0x00002aaaace7c2b3 in gst_base_parse_chain (pad=<optimized out>,
parent=0x6d2800, buffer=<optimized out>) at gstbaseparse.c:2740
#10 0x00002aaaaaf41e0a in gst_pad_chain_data_unchecked (data=0x6d9000,
type=<optimized out>, pad=0x6d4120) at gstpad.c:3655
#11 gst_pad_push_data (pad=0x6d4580, type=type at entry=4112, data=<optimized
out>, data at entry=0x6d9000) at gstpad.c:3872
#12 0x00002aaaaaf48686 in gst_pad_push (pad=<optimized out>,
buffer=buffer at entry=0x6d9000) at gstpad.c:3975
#13 0x0000000000403176 in gst_parser_test_run (test=test at entry=0x7fffffffbb10,
out_caps=out_caps at entry=0x0) at elements/parser.c:242
#14 0x0000000000403693 in gst_parser_test_normal (data=data at entry=0x6055c0
"\377\370\251\b", size=size at entry=469) at elements/parser.c:318
#15 0x00000000004027ae in test_parse_flac_normal (__i__=<optimized out>) at
elements/flacparse.c:129
#16 0x00002aaaaacd9bb3 in tcase_run_tfun_nofork (i=0, tc=0x610f10, sr=0x611200,
tfun=<optimized out>) at check_run.c:314
#17 srunner_iterate_tcase_tfuns (tc=0x610f10, sr=<optimized out>) at
check_run.c:181
#18 srunner_run_tcase (tc=0x610f10, sr=0x611200) at check_run.c:302
#19 srunner_iterate_suites (sr=0x611200, print_mode=<optimized out>) at
check_run.c:150
#20 srunner_run_all (sr=sr at entry=0x611200,
print_mode=print_mode at entry=CK_NORMAL) at check_run.c:561
#21 0x0000000000402173 in main (argc=1, argv=0x7fffffffbf78) at
elements/flacparse.c:295



Could of course also be a baseparse or flacparse bug that was only exposed by
those changes. I have not investigated.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list