[Bug 702425] ges-launch: make it portable to all locales.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 20 00:42:41 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702425
  GStreamer | gst-editing-services | git

--- Comment #5 from Alban Browaeys <prahal at yahoo.com> 2013-06-20 07:42:35 UTC ---
bugzilla folded too much into the previous backtrace: after the first backtrace
I wrote that (could be seen in the source of the previous trace):

which confirm the issue is with setlocale.



About gettext. Indeed gettext-runtime is not called , only glibc gettext
implementation. I shinted to much.


About other gstreamer tools: only the arguments parsed via
g_option_context_parse are breaking (the pipeline parser does not). Thus
stressing gst-launch-1.0 via the only paramaters I found where oe could have
accentuated characters (say a local plugin directory in a home subdirectory
with a non ascii character in its name) i can reproduce:
Breakpoint 2, g_set_error_literal (err=0x7fffffffbfc8, domain=51, code=1,
message=0x7ffff73e6ae0 "Invalid byte sequence in conversion input")
    at /home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gerror.c:592
592      if (err == NULL)
(gdb) bt
#0  g_set_error_literal (err=0x7fffffffbfc8, domain=51, code=1,
message=0x7ffff73e6ae0 "Invalid byte sequence in conversion input")
    at /home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gerror.c:592
#1  0x00007ffff733aa6f in g_convert_with_iconv (str=0x7fffffffc6ca
"/home/prahal/Vidéos/", len=21, converter=0x6158f0, bytes_read=0x0, 
    bytes_written=0x0, error=0x7fffffffbfc8) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gconvert.c:763
#2  0x00007ffff733acef in g_convert (str=0x7fffffffc6ca "/home/prahal/Vidéos/",
len=-1, to_codeset=0x7ffff73e6b87 "UTF-8", 
    from_codeset=0x6157f0 "ANSI_X3.4-1968", bytes_read=0x0, bytes_written=0x0,
error=0x7fffffffbfc8)
    at /home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gconvert.c:885
#3  0x00007ffff733b4ba in g_locale_to_utf8 (opsysstring=0x7fffffffc6ca
"/home/prahal/Vidéos/", len=-1, bytes_read=0x0, bytes_written=0x0, 
    error=0x7fffffffbfc8) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gconvert.c:1216
#4  0x00007ffff736b3a0 in parse_arg (context=0x613f90, group=0x614260,
entry=0x6144b0, value=0x7fffffffc6ca "/home/prahal/Vidéos/", 
    option_name=0x615710 "--gst-plugin-path", error=0x7fffffffbfc8) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/goption.c:1298
#5  0x00007ffff736bfad in parse_long_option (context=0x613f90, group=0x614260,
idx=0x7fffffffbeec, 
    arg=0x7fffffffc6ba "gst-plugin-path=/home/prahal/Vidéos/", aliased=0,
argc=0x7fffffffbfac, argv=0x7fffffffbfa0, error=0x7fffffffbfc8, 
    parsed=0x7fffffffbee8) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/goption.c:1537
#6  0x00007ffff736c8d6 in g_option_context_parse (context=0x613f90,
argc=0x7fffffffbfac, argv=0x7fffffffbfa0, error=0x7fffffffbfc8)
    at /home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/goption.c:1870
#7  0x0000000000405f8d in main (argc=4, argv=0x7fffffffc358) at
gst-launch.c:1001

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