GNOME Bugzilla – Bug 751319
souphttpsrc: does not work on windows xp
Last modified: 2015-08-16 13:40:07 UTC
On Window XP, any pipelines using souphttpsrc stuck on ready->paused transition. Sometimes, gst_soup_http_src_parse_status returns "The requested address is not valid in its context", most often the connection simply goes timeout by server. The bug is NOT present in 1.4.5.
My guess would be that this is a bug in libsoup, 1.4.5 and 1.5.1 have different versions of libsoup. Can you check if the examples from the libsoup code are working for you?
Does this only affect XP?
Yes Tim, no problem on windows 7/8/10
(In reply to Sebastian Dröge (slomo) from comment #1) > My guess would be that this is a bug in libsoup, 1.4.5 and 1.5.1 have > different versions of libsoup. Can you check if the examples from the > libsoup code are working for you? Sebastian, I've made gstreamer cross-compilation using cerbero, how can I test libsoup examples?
In sources/window*/libsoup*/examples you should have the examples ready to run I think it's just time to drop Windows XP support, GLib is going to spew a g_warning() all the time because we build with Windows XP support anyway.
Certainly not a release blocker IMHO.
Setting NEEDINFO until we know whether it's a libsoup issue or a GStreamer issue.
I've tested get.exe under windows xp, it seems that the request does not exit at all, no incoming connection arrives server side. No problem under windows 7 instead. Sebastian, I would agree with you about windows xp support, but unfortunately we still have several customers with these old machines...
I think it doesn't make sense for us to continue providing binaries for Windows XP and below as many important features are not possible with that. And I'm not talking about libsoup here. Especially because we still build for Windows XP, GLib has no way to initialize its random number generator from a proper entropy source, and since 2.44 or something also warns about that all the time. Nothing will prevent you from building for older versions, but there's not much interest in spending more time on making things work for older versions. GLib also dropped (or will drop) official Windows XP support soonish (if it hasn't already).
Note that because we build for Windows XP, *nobody* can use newer Windows features with our builds and everybody has to suffer because of the few Windows XP users still out there.
Hi Fabio, can you please try this patch? https://git.gnome.org/browse/glib/commit/?h=glib-2-44&id=675dbae3029ff95d94cdbd513906c98e1ad767ad the problem seems inside glib and not specific to libsoup
probably also these ones are needed: https://bugzilla.gnome.org/show_bug.cgi?id=749911 https://bugzilla.gnome.org/show_bug.cgi?id=749912
Thanks Nicola, the patched glib solves the issue, bug closed for me.
(In reply to Fabio Cetrini from comment #13) > Thanks Nicola, the patched glib solves the issue, bug closed for me. Ok thanks for the feedback, so, as summary, the needed patch are these ones: https://git.gnome.org/browse/glib/commit/?h=glib-2-44&id=675dbae3029ff95d94cdbd513906c98e1ad767ad https://git.gnome.org/browse/glib/commit/?id=a4c3ab58ccf32b0f50ce6f78fa7d18ee5745d510 https://git.gnome.org/browse/glib/commit/?id=f9af40a1330a8226d72c96bff56cdb4ab895dac7
So let's backport them in cerbero
(In reply to Sebastian Dröge (slomo) from comment #15) > So let's backport them in cerbero Do you want a patch or proceed yourself?
Please send a (tested) patch if you can :)
Created attachment 306637 [details] [review] proposed fix I have no way to test this patch, Fabio can you please confirm that the produced dll works for you? You can download the produced gio dll, 64 bit version, here: http://195.250.34.59/temp/libgio-2.0-0.dll
(In reply to Nicola from comment #18) > Created attachment 306637 [details] [review] [review] > proposed fix > > I have no way to test this patch, > > Fabio can you please confirm that the produced dll works for you? > > You can download the produced gio dll, 64 bit version, here: > > http://195.250.34.59/temp/libgio-2.0-0.dll oops, I realized now that maybe is not so common to have windows xp 64 bit ...
here is the 32bit dll http://195.250.34.59/temp/32/libgio-2.0-0.dll
Hi Nicola, the libgio you provided solves, thank you
commit 3021ad7f0c6cc33be424d5fbc95fa07812547fb1 Author: Nicola Murino <nicola.murino@gmail.com> Date: Thu Jul 2 17:14:19 2015 +0200 glib: fix windows xp compatibility https://bugzilla.gnome.org/show_bug.cgi?id=751319