With LANG set to "de_DE", gxine crashes with the following error messages: (gxine:28191): Gtk-WARNING **: Invalid input string line repeated 14 times (gxine:28191): Gtk-WARNING **: Failed to set label from markup due to error parsing markup: Fehler in Zeile 2, Zeichen 9: Ung
With LANG set to "de_DE", gxine crashes with the following error messages: (gxine:28191): Gtk-WARNING **: Invalid input string line repeated 14 times (gxine:28191): Gtk-WARNING **: Failed to set label from markup due to error parsing markup: Fehler in Zeile 2, Zeichen 9: Ungültiger UTF-8-kodierter Text ** (gxine:28191): WARNING **: Invalid UTF8 string passed to pango_layout_set_text() (gxine:28191): Gtk-WARNING **: Failed to set label from markup due to error parsing markup: Fehler in Zeile 2, Zeichen 9: Ungültiger UTF-8-kodierter Text line repeated 13 times Reproducible: Always Steps to Reproduce: 1. enter: LANG=de_DE gxine 2. 3. Actual Results: the specified error messages appear and gxine exits Expected Results: normal startup with LANG set to en_US gxine runs with no errors I have set the userlocales USE flag for glibc, /etc/locales.build contains en_US/ISO-8859-1 en_US.UTF-8/UTF-8 de_DE/ISO-8859-1 de_DE@euro/ISO-8859-15 (don't know if this information is relevant) igent:~ # emerge info Portage 2.0.51-r15 (default-linux/ppc/2004.1, gcc-3.4.1, glibc-2.3.4.20041102- r0, 2.6.9n ppc) ================================================================= System uname: 2.6.9n ppc 750FX Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 27 2005, 15:11:47) ] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.4, 1.5, 1.6.3 sys-devel/binutils: 2.15.90.0.3-r3 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/ X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/ dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/ config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/ control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -mcpu=750" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms usepkg" GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/" LANG="de_DE@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib berkdb bitmap-fonts bonobo cdr cscope cups curl dvd esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpg gpm gstreamer gtk gtk2 gtkhtml guile imlib java jpeg libwww motif mozilla mpeg mule ncurses nls oggvorbis pam pda pdflib perl png ppc python quicktime readline ruby samba sdl slang ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms zlib video_cards_radeon" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Please don't assign bugs if you don't know where they go - let wranglers handle them. Also, is it possible to get the error messages in English? Thanks.
"Fehler in Zeile 2, Zeichen 9: Ung
"Fehler in Zeile 2, Zeichen 9: Ungültiger UTF-8-kodierter Text" means: Error in row 2, character 9: Invalid UTF-8-coded text
Which version of gxine? I'm able to reproduce this on my x86 computers using gxine-0.4.1, so it is not just PPC-specific. Searching gxine utf on google also gives a lot of reports on this, so it is nothing Gentoo specific. There's also been a forum thread http://forums.gentoo.org/viewtopic-t-293743-highlight-gxine+utf8.html about this. To keep it short, what you need to do is use an UTF-8 LANG, which would be de_DE.UTF-8 for German. [snip] I was about to write more about this, but it turns out that this has been solved upstream in gxine-0.4.2 that was released the 7th of March. Nobody seems to be working on an ebuild for it, so I'll write within the next few hours an submit it as a new bug if everything goes well.
I've created an ebuild for gxine-0.4.2, there's upstream fix of the problem (UTF-8 is beeing forced now). There's lots of other fixes and advantage of gtk+-2.6 if present is taken at runtime. It works fine for myself, but more testing of it would be great. Find it all in bug #86344.
This should have been resolved upstream, try with gxine 0.4.3 and feel free to reopen the bug if the problem persists.
i would reopen because current stable gxine crashes the same way and Diego Petten
i would reopen because current stable gxine crashes the same way and Diego Pettenò suggests to feel free to do it :-) but its not allowed for me :-( maybe because i'm a noob and ... ok, i'm a noob... :-( i'm using gxine 0.4.6 (freshly installed stable x86 system) with de_DE@euro locale >>> (gxine:24116): Gtk-WARNING **: Failed to set label from markup due to error parsing markup: Error on line 2 char 9: Invalid UTF-8 encoded text Speicherzugriffsfehler <<< ("Speicherzugriffsfehler" means segmentation fault, "Invalid UTF-8 encoded text" is english in my shell although i have german locale.) with de_DE.utf8 everything is fine. even if i have utf8-locale and start "LANG=de_DE gxine" everything is fine. if i do "LANG=de_DE" _and_ "LC_ALL=de_DE" then gxine crashes. btw: "LC_ALL=nl_NL" plus "LC_ALL=nl_NL" and many others i tried also crash. (i've created every locale / locale -a gives a big list ;-) ) even en_US crashes. only C-locale and XXX.utf8 are working. furthermore: if there is a file with a german umlaut in current working directory gxine writes (i.e.): >>> Gtk-Message: The filename "vertr\344ge" couldn't be converted to UTF-8. (try setting the environment variable G_FILENAME_ENCODING): Invalid byte sequence in conversion input <<< where \344 is the german umlaut. but neither G_FILENAME_ENCODING=@local nor G_FILENAME_ENCODING=ISO-8859-15 does the trick. some infos for my system (gxine dependencies): media-video/gxine-0.4.5 +lirc +nls -nsplugin media-libs/xine-lib-1.0.1-r4 +X +a52 +aac +aalib +alsa (-altivec) +arts -cle266 -directfb +dvd -dxr3 +esd -fbcon +ffmpeg +flac +gnome -i8x0 +ipv6 +libcaca +mad -mng +nls +nvidia +opengl +oss +png +samba +sdl +speex -theora -v4l -vcd -vidix +vorbis +win32codecs -xinerama +xv -xvmc x11-libs/gtk+-2.6.8 -doc +jpeg -static -tiff dev-libs/glib-2.6.5 -doc -hardened -static dev-lang/spidermonkey-1.5_rc5 app-misc/lirc-0.7.0-r1 +X -debug -doc -streamzap x11-base/xorg-x11-6.8.2-r4 -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc +font-server -insecure-drivers +ipv6 -minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv sys-libs/glibc-2.3.5-r1 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl -nptlonly -pic -profile (-selinux) -userlocales CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu"