Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81909 - gxine-0.4.1 segfaults in g_markup_escape_text()
Summary: gxine-0.4.1 segfaults in g_markup_escape_text()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 14:07 UTC by alex f
Modified: 2005-04-18 13:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex f 2005-02-13 14:07:55 UTC
$ gxine

(gxine:25529): Gtk-WARNING **: Failed to set label from markup due to error pars
ing markup: Error on line 2 char 9: Invalid UTF-8 encoded text
Speicherzugriffsfehler (core dumped)

(gdb) bt full
#0  0xb7acac60 in g_markup_escape_text () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1  0x08060c64 in preferences_init ()
No symbol table info available.
#2  0x0805dd56 in main ()
No symbol table info available.

$ emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 17:25:40)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 aac acpi alsa artworkextra avi bash-completion berkdb bitmap-fonts cdr crypt cups dhcp directfb divx4linux dmx dvb dvd dvdr dvdread eds encode ethereal evo faad fam fbcon flac font-server foomaticdb gdbm gif gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl imap imlib ipv6 java jce jpeg libcaca libg++ libwww mad maildir matroska mbox mikmod mime mmap mmx mmx2 mng mono motif mozilla moznocompose moznoirc moznomail mozsvg mpeg ncurses network nls nntp noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly objc oggvorbis opengl pcre pdflib perl pic png pnp python quicktime readline real rtc ruby samba sdl skey speex spell sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts trusted type1-fonts ucs2 unicode xml2 xv xvid zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 alex f 2005-02-13 14:09:31 UTC
I should probably add that this happens right when starting up. It only shows the splashscreen and then segfaults.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-13 17:49:29 UTC
CFLAGS="-ggdb" FEATURES="nostrip noclean" emerge gxine glib
and then re-generate your backtrace.
Comment 3 alex f 2005-02-13 18:14:21 UTC
(gdb) bt full
#0  0xb7ac2371 in append_escaped_text (str=0x8113450, 
    text=0x819512c "Pfad zum V4L Radioger
Comment 4 alex f 2005-02-13 18:14:21 UTC
(gdb) bt full
#0  0xb7ac2371 in append_escaped_text (str=0x8113450, 
    text=0x819512c "Pfad zum V4L Radiogerät", length=23) at gmarkup.c:1884
        next = (const gchar *) 0x8d89000 <Address 0x8d89000 out of bounds>
        p = (const gchar *) 0x8d89000 <Address 0x8d89000 out of bounds>
        end = (const gchar *) 0x8195143 ""
#1  0xb7ac24cf in IA__g_markup_escape_text (
    text=0x819512c "Pfad zum V4L Radiogerät", length=23) at gmarkup.c:1946
        str = (GString *) 0x8113450
        __PRETTY_FUNCTION__ = "IA__g_markup_escape_text"
#2  0x08060f05 in create_item_label (entry=0xbffff310) at preferences.c:351
        desc = 0x8d68940 ""
        labelkey = 0x0
        labeltext = 0x8d68a68 "í\201\b\002"
        label = (GtkWidget *) 0x14
#3  0x08061091 in create_item (entry=0xbffff310) at preferences.c:377
        item = (pref_item_t *) 0x8d68940
#4  0x08061870 in make_prefs_window () at preferences.c:572
        point = 0x0
        section = (GNode *) 0x8d390bc
        entry = {key = 0x81b0a18 "media.video4linux.radio_device", type = 2, 
  unknown_value = 0xbffff358 "èóÿ¿\017\033\006\b8zÓ\b³Ì\016\b;\031\006\b", 
  str_value = 0x81b0ac8 "/dev/v4l/radio0", 
  str_default = 0x81b0ae0 "/dev/v4l/radio0", 
  str_sticky = 0xb7b2fe26 "U\211åS\203ì\024è Îÿÿ\201Ã\016ø\002", 
  num_value = 0, num_default = 0, range_min = 0, range_max = 0, 
  enum_values = 0x0, description = 0x819512c "Pfad zum V4L Radiogerät", 
  help = 0x8195108 "Pfad zum Video4Linux Radiogerät", exp_level = 10, 
  callback = 0, callback_data = 0x0}
        done = 1
#5  0x08061b0f in preferences_init () at preferences.c:643
        entry = {key = 0x8257f68 "P±%\b@Ç%\b°&\bt_config", type = 0, 
  unknown_value = 0x80ec645 "log_show", 
  str_value = 0x805db41 "U\211å\203ì\bè/\003", str_default = 0x0, 
  str_sticky = 0x0, num_value = 2, num_default = 0, range_min = 0, 
  range_max = 0, enum_values = 0xfffffffb, 
  description = 0x8d37bd8 "ðIÒ\b\001", help = 0xb7fd65a4 "à¥ü·ò¥ü·ù¥ü·", 
  exp_level = 3, callback = 0x8d14cd8, callback_data = 0x8d30fa0}
        w = (GtkWidget *) 0x805de74
#6  0x0805e4a7 in main (argc=1, argv=0xbffff4b4) at main.c:310
        opt = -1
        enqueue = 0
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-18 04:16:43 UTC
Please try with latest (0.4.3) version of gxine and confirm if the problem persits.
Comment 6 alex f 2005-04-18 13:05:22 UTC
0.4.3 works
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-18 13:15:27 UTC
Ok the problem is fixed upstream so.

Thanks for reporting and testing.