[Bug 741783] qtmux: crash when trying to mux ALAC

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 25 13:46:21 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=741783
  GStreamer | gst-plugins-good | git

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-12-25 21:46:18 UTC ---
For the record, here's the stack trace:

0:00:00.471982545  9698 0x7fffec04d0a0 DEBUG                  qtmux
gstqtmux.c:2669:gst_qt_mux_audio_sink_set_caps:<mp4mux0> mp4mux0:audio_0,
caps=audio/x-alac, channels=(int)2, rate=(int)44100,
channel-mask=(bitmask)0x0000000000000003, samplesize=(int)0,
codec_data=(buffer)00000024616c616300000000000010000010280a0e02000000004004001588800000ac44

(gst-launch-1.0:9698): GStreamer-CRITICAL **: gst_buffer_extract: assertion
'dest != NULL' failed

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7ffff1cbe700 (LWP 9704)]
g_logv (log_domain=0x7ffff7b7e915 <g_log_domain_gstreamer> "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7ffff1cbc618) at gmessages.c:1046
1046          g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) bt
#0  g_logv (log_domain=0x7ffff7b7e915 <g_log_domain_gstreamer> "GStreamer",
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args at entry=0x7ffff1cbc618) at gmessages.c:1046
#1  0x00007ffff7386c42 in g_log (log_domain=<optimized out>,
log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
format=format at entry=0x7ffff73f41bd "%s: assertion '%s' failed")
    at gmessages.c:1079
#2  0x00007ffff7386c69 in g_return_if_fail_warning (log_domain=<optimized out>,
pretty_function=pretty_function at entry=0x7ffff7b81ce0 <__func__.18821>
"gst_buffer_extract", 
    expression=expression at entry=0x7ffff7b814e7 "dest != NULL") at
gmessages.c:1088
#3  0x00007ffff7afc1c7 in gst_buffer_extract
(buffer=buffer at entry=0x7fffec0207f0, offset=offset at entry=0, dest=0x0,
size=size at entry=0) at gstbuffer.c:1698
#4  0x00007ffff3af819e in atom_data_new_from_gst_buffer (fourcc=<optimized
out>, buf=0x7fffec0207f0) at atoms.c:213
#5  0x00007ffff3afe5eb in build_codec_data_extension (fourcc=<optimized out>,
codec_data=<optimized out>) at atoms.c:4537
#6  0x00007ffff3af2231 in gst_qt_mux_audio_sink_set_caps (qtpad=0x833870,
caps=0x7fffe8002140) at gstqtmux.c:2885
#7  0x00007ffff3aed1c0 in gst_qt_mux_sink_event (pads=<optimized out>,
data=<optimized out>, event=0x7fffe8003630, user_data=<optimized out>) at
gstqtmux.c:3378


data->data was NULL because the codec_config GstBuffer had a length of 0, so
nothing got allocated, and it was 0 because no data was copied because of
flags=NONE passed to gst_buffer_copy_region().

-- 
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