Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304503 - XFCE - Creating a 'Launcher' disappears when entering a character into any field
Summary: XFCE - Creating a 'Launcher' disappears when entering a character into any field
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-11 06:44 UTC by Arman
Modified: 2015-07-04 15:33 UTC (History)
2 users (show)

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 Arman 2010-02-11 06:44:12 UTC
This bug was reported as 'resolved upstream': http://bugs.gentoo.org/202937

but I still have the bug and have updated the whole system (world), including exo and glib.

Summary:

When trying to add a starter item to the desktop in XFCE, the moment you try to type any characters into any field the dialogue disappears.

The error in console is:

(exo-desktop-item-edit:9733): GLib-CRITICAL **: g_utf8_casefold: assertion `str != NULL' failed
Segmentation fault

Reproducible: Always

Steps to Reproduce:
1. Right click on the desktop, select 'Create Launcher'
2. Dialogue appears, but disappears when typing in any field.

3. Also occurs when I run it via the console:
   # exo-desktop-item-edit -c . -t Application
Actual Results:  
1. In the GUI version, nothing, it just disappears
2. In the command line version, the error is:

(exo-desktop-item-edit:9733): GLib-CRITICAL **: g_utf8_casefold: assertion `str != NULL' failed
Segmentation fault

Expected Results:  
Accept typing into the fields and create a launcher

Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Thu, 11 Feb 2010 04:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds embedded emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-02-11 07:49:31 UTC
Need a full backtrace from gdb[1] from the segmentation fault you get from command line since this likely can be reproduced only by you.

[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Arman 2010-02-12 02:14:02 UTC
Hi,

Thank you for your speedy response and guidance.

Steps I've taken:

1. CFLAGS "-02" and "-ggdb" added to make.conf
2. FEATURES "splitdebug" added to make.conf
3. Made sure there's no "-s" LDFLAG in make.conf
4. Reinstalled exo and glib (emerge -av exo glib)
5. Installed gdb (emerge -av gdb)
6. Run gdb /usr/bin/exo-desktop-item-edit
(gdb) set args -c . -t Application
(gdb) run

**output:**
Starting program: /usr/bin/exo-desktop-item-edit -c . -t Application
[Thread debugging using libthread_db enabled]
[New Thread 0xb7356b70 (LWP 3000)]
[New Thread 0xb69ffb70 (LWP 3001)]
[Thread 0xb69ffb70 (LWP 3001) exited]
[Thread 0xb7356b70 (LWP 3000) exited]

**at this stage the dialogue appears and I can type into all but the Title field, and the moment I type anything into the Title field it disappears with:**

(exo-desktop-item-edit:2996): GLib-CRITICAL **: g_utf8_casefold: assertion `str != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0xb78cafb7 in strstr () from /lib/libc.so.6
Comment 3 Arman 2010-02-12 03:15:07 UTC
Update:

I reinstalled libc (emerge -av glibc) and the output on fail is now:

(exo-desktop-item-edit:7215): GLib-CRITICAL **: g_utf8_casefold: assertion `str != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
*__GI_strstr (haystack_start=0x0, needle_start=0x816db60 "a") at strstr.c:58
58	strstr.c: No such file or directory.
	in strstr.c
Comment 4 vvgloo 2010-02-19 13:28:55 UTC
I have same error when execute $ exo-desktop-item-edit -c . -t Application
but execute # exo-desktop-item-edit -c . -t Application   no error
I don't know why
 
Comment 5 Arman 2010-02-20 04:17:09 UTC
(In reply to comment #4)
> I have same error when execute $ exo-desktop-item-edit -c . -t Application
> but execute # exo-desktop-item-edit -c . -t Application   no error
> I don't know why
> 
> 

I can confirm this.
Comment 6 vvgloo 2010-03-03 08:52:50 UTC
I'm OK
It seems that I upgraded x11-libs/libX11, to the 1.3.3 version.
Comment 7 Thomas Sachau gentoo-dev 2010-03-11 21:20:36 UTC
(In reply to comment #6)
> I'm OK
> It seems that I upgraded x11-libs/libX11, to the 1.3.3 version.
> 

Upgrading libX11 to 1.3.3 did fix this issue for you?
Comment 8 vvgloo 2010-03-20 23:29:41 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > I'm OK
> > It seems that I upgraded x11-libs/libX11, to the 1.3.3 version.
> > 
> 
> Upgrading libX11 to 1.3.3 did fix this issue for you?
> 

Sorry, I am not sure
Comment 9 Doktor Notor 2010-03-20 23:40:45 UTC
(In reply to comment #8)
> Sorry, I am not sure

Hmmm? Either it works now or not... not exactly hard to verify? 

Comment 10 Arman 2010-03-23 00:55:57 UTC
> Upgrading libX11 to 1.3.3 did fix this issue for you?

hi, I've upgraded to libX11 1.3.3 and this hasn't solved the issue for me, exact same problem and console outputs as before.

is there any way i can help this debug process?
Comment 11 vvgloo 2010-03-26 13:16:32 UTC
my gentoo right now of this problem
I thought this issue is resolved because I am upgraded libx11
Now seems not so
I do not know what it is to solve this problem
sorry 
(Sorry, my English is not good, probably not made myself clear)
Comment 12 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-05-12 21:25:09 UTC
I do not know enough about glib to understand the issues. Issuing a google search for "GLib-CRITICAL **: g_utf8_casefold: assertion `str != NULL' failed" turned up a number of example patches. Most likely, the issue is locale related.
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2010-12-06 16:45:15 UTC
(In reply to comment #4)
> I have same error when execute $ exo-desktop-item-edit -c . -t Application
> but execute # exo-desktop-item-edit -c . -t Application   no error
> I don't know why

Seem to work here with exo-0.5.5 (and rest of xfce-4.8.0_pre2 from ~arch).
Please retry.