[Bug 711271] soup: Add a SoupServer source

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 1 15:57:07 PDT 2013


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

--- Comment #3 from Brendan Long <self at brendanlong.com> 2013-11-01 22:57:00 UTC ---
I occasionally get errors about:

(gst-launch-1.0:16303): GLib-GIO-CRITICAL **: g_output_stream_write: assertion
`buffer != NULL' failed

But the backtrace isn't very helpful (I removed x264 threadpool threads for
clarity):

Thread 3 (Thread 0x7ffff7448700 (LWP 16548)):
#0  0x0000003abe6eb84d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003ac0e480f4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7fffe80008c0, timeout=-1, context=0x671c00) at gmain.c:3995
#2  g_main_context_iterate (context=context at entry=0x671c00,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3696
#3  0x0000003ac0e481fc in g_main_context_iteration (context=0x671c00,
may_block=may_block at entry=1) at gmain.c:3762
#4  0x0000003ac0e48249 in glib_worker_main (data=<optimized out>) at
gmain.c:5427
#5  0x0000003ac0e6c185 in g_thread_proxy (data=0x747280) at gthread.c:798
#6  0x0000003abee07c53 in start_thread (arg=0x7ffff7448700) at
pthread_create.c:308
#7  0x0000003abe6f5e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ffff7c49700 (LWP 16547)):
#0  0x00007ffff7e64996 in video_chroma_down_h2_guint8 (resample=0x7ffff0001860,
pixels=0x7ffff0003d10, width=320) at video-chroma.c:320
#1  0x00007ffff7e64bcf in video_chroma_down_v2_guint8 (resample=0x7ffff0001860,
lines=0x7ffff7c48570, width=320) at video-chroma.c:322
#2  0x00007ffff7e674a3 in gst_video_chroma_resample (resample=0x7ffff0001860,
lines=0x7ffff7c48570, width=320) at video-chroma.c:817
#3  0x00007ffff7ec82e7 in convert_hline_generic (p=0x7ffff7c48670,
frame=0x7ffff7c48820, y=74) at videotestsrc.c:1195
#4  0x00007ffff7ec546d in videotestsrc_convert_tmpline (p=0x7ffff7c48670,
frame=0x7ffff7c48820, j=75) at videotestsrc.c:275
#5  0x00007ffff7ec5cab in gst_video_test_src_smpte (v=0x638700,
frame=0x7ffff7c48820) at videotestsrc.c:352
#6  0x00007ffff7ec4256 in gst_video_test_src_fill (psrc=0x638700,
buffer=0x7ffff0e0ed00) at gstvideotestsrc.c:877
#7  0x00007ffff7e32525 in gst_push_src_fill (bsrc=0x638700,
offset=18446744073709551615, length=4096, ret=0x7ffff0e0ed00) at
gstpushsrc.c:169
#8  0x00007ffff7e14131 in gst_base_src_default_create (src=0x638700,
offset=18446744073709551615, size=4096, buffer=0x7ffff7c48cd0) at
gstbasesrc.c:1439
#9  0x00007ffff7e3240e in gst_push_src_create (bsrc=0x638700,
offset=18446744073709551615, length=4096, ret=0x7ffff7c48cd0) at
gstpushsrc.c:134
#10 0x00007ffff7e17651 in gst_base_src_get_range (src=0x638700,
offset=18446744073709551615, length=4096, buf=0x7ffff7c48d88) at
gstbasesrc.c:2392
#11 0x00007ffff7e185ef in gst_base_src_loop (pad=0x7220b0) at gstbasesrc.c:2665
#12 0x00007ffff7f809fd in gst_task_func (task=0x748000) at gsttask.c:316
#13 0x00007ffff7f81ac5 in default_func (tdata=0x5b9f00, pool=0x422040) at
gsttaskpool.c:70
#14 0x0000003ac0e6cb46 in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:309
#15 0x0000003ac0e6c185 in g_thread_proxy (data=0x747230) at gthread.c:798
#16 0x0000003abee07c53 in start_thread (arg=0x7ffff7c49700) at
pthread_create.c:308
#17 0x0000003abe6f5e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffff7ea6740 (LWP 16524)):
#0  g_logv (log_domain=0x3ac1ee8cd8 "GLib-GIO", log_level=G_LOG_LEVEL_CRITICAL,
format=<optimized out>, args=args at entry=0x7fffffffb368) at gmessages.c:981
#1  0x0000003ac0e4eff2 in g_log (log_domain=log_domain at entry=0x3ac1ee8cd8
"GLib-GIO", log_level=log_level at entry=G_LOG_LEVEL_CRITICAL,
format=format at entry=0x3ac0ebc67a "%s: assertion `%s' failed") at
gmessages.c:1010
#2  0x0000003ac0e4f019 in g_return_if_fail_warning
(log_domain=log_domain at entry=0x3ac1ee8cd8 "GLib-GIO",
pretty_function=pretty_function at entry=0x3ac1ef3990 <__PRETTY_FUNCTION__.21686>
"g_output_stream_write", expression=expression at entry=0x3ac1ee96f9 "buffer !=
NULL") at gmessages.c:1019
#3  0x0000003ac1e63b82 in g_output_stream_write (stream=0x738640, buffer=0x0,
count=0, cancellable=0x0, error=0x0) at goutputstream.c:195
#4  0x0000003bcea45fce in soup_body_output_stream_write_chunked
(bostream=0x720d60, buffer=buffer at entry=0x0, count=count at entry=0,
blocking=blocking at entry=1, cancellable=cancellable at entry=0x0,
error=error at entry=0x0) at soup-body-output-stream.c:175
#5  0x0000003bcea463ef in soup_body_output_stream_close_fn (stream=0x720d60,
cancellable=0x0, error=0x0) at soup-body-output-stream.c:235
#6  0x0000003ac1e6272d in _g_output_stream_close_internal
(stream=stream at entry=0x720d60, cancellable=cancellable at entry=0x0,
error=error at entry=0x0) at goutputstream.c:555
#7  0x0000003ac1e640b7 in g_output_stream_close (stream=stream at entry=0x720d60,
cancellable=cancellable at entry=0x0, error=error at entry=0x0) at
goutputstream.c:626
#8  0x0000003ac1e640e6 in g_output_stream_dispose (object=0x720d60) at
goutputstream.c:116
#9  0x0000003ac1e5321e in g_filter_output_stream_dispose (object=0x720d60) at
gfilteroutputstream.c:180
#10 0x0000003ac1214338 in g_object_unref (_object=0x720d60) at gobject.c:2987
#11 0x0000003bcea5dc43 in soup_message_io_cleanup (msg=msg at entry=0x739100) at
soup-message-io.c:112
#12 0x0000003bcea5de18 in soup_message_io_finished (msg=0x739100) at
soup-message-io.c:163
#13 0x0000003bcea5f3c8 in io_run (msg=0x739100, user_data=<optimized out>) at
soup-message-io.c:939
#14 0x0000003ac0e47e06 in g_main_dispatch (context=0x690790) at gmain.c:3054
#15 g_main_context_dispatch (context=context at entry=0x690790) at gmain.c:3630
#16 0x0000003ac0e48158 in g_main_context_iterate (context=0x690790,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3701
#17 0x0000003ac0e4855a in g_main_loop_run (loop=0x671ec0) at gmain.c:3895
#18 0x00007ffff7f1427e in gst_bus_poll (bus=0x739020, events=GST_MESSAGE_ANY,
timeout=18446744073709551615) at gstbus.c:1082
#19 0x00000000004040d7 in event_loop (pipeline=0x73a1c0, blocking=1,
do_progress=0, target_state=GST_STATE_PLAYING) at gst-launch.c:507
#20 0x0000000000405cd3 in main (argc=9, argv=0x7fffffffbd18) at
gst-launch.c:1081

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