Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187567 - Nautilus 2.18.3 crash during file search
Summary: Nautilus 2.18.3 crash during file search
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 06:01 UTC by Constantine Kardaris
Modified: 2008-04-05 17:00 UTC (History)
1 user (show)

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


Attachments
Nautilus debug log (nautilus-debug-log.txt,36.04 KB, text/plain)
2007-08-03 06:02 UTC, Constantine Kardaris
Details
nautilus_search_fix.diff (nautilus_search_fix.diff,1.29 KB, text/plain)
2007-08-03 06:04 UTC, Constantine Kardaris
Details
nautilus-2.20.0-utf8check.patch (nautilus-2.20.0-utf8check.patch,1.13 KB, patch)
2007-12-06 09:23 UTC, Stian Skjelstad
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Constantine Kardaris 2007-08-03 06:01:39 UTC
As title says, during a file/folder search nautilus crash and restart with error:

0xd6dc10 2007/08/03 06:28:07.1360 (GLog): g_utf8_strdown: assertion `str != NULL' failed

Responsible seems to be changes they made in last 2.18.3 release:
http://bugzilla.gnome.org/show_bug.cgi?id=421486
Comment 1 Constantine Kardaris 2007-08-03 06:02:41 UTC
Created attachment 126769 [details]
Nautilus debug log
Comment 2 Constantine Kardaris 2007-08-03 06:04:22 UTC
Created attachment 126771 [details]
nautilus_search_fix.diff

A dirty fix. Just reverse to the older state.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2007-08-03 06:54:36 UTC
I can't reproduce. Could you give us some more info :
 - paste emerge --info here
 - do you use beagle or tracker
 - what kinds of string make it crash ? (I tried search for my name which has a "é" and it seems to work fine)

Thanks
Comment 4 Constantine Kardaris 2007-08-03 08:02:07 UTC
hmm,in the directory i'm searching there are a bunch of files with non unicode filenames or smthing (nautilus shows them with question marks). 
When is trying to look in there, crash.
oh well, i will just convert them to unicode... thanks even :D

emerge --info
Portage 2.1.2.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21.6 x86_64)
=================================================================
System uname: 2.6.21.6 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 01 Aug 2007 19:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://files.gentoo.gr"
LANG="el_GR.utf8"
LINGUAS="en el"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local/layman/science /usr/local/portage/local/layman/kde"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avi bitmap-fonts blas cairo cdinstall cdr chm cli clucene cpudetection cracklib crypt cscope cups dbus dvd dvdr dvdread effects emboss epydoc fat ffmpeg fftw firefox fortran freetype gd gif gimp glitz gnome graphviz gtk gtk2 hal hdf5 iconv isdnlog jpeg kde kdeenablefinal kipi lapack lcms ldb libg++ lm_sensors mad midi mime mmx mmxext motif mozdevelop moznocompose moznoirc moznomail moznopango mp3 mpeg mudflap ncurses nls nntp nosendmail nptl nptlonly ntfs nvidia objc objc++ ogg oggvorbis opengl openmp pam pcre pdf plotutils png ppds pppd qt qt3 qt3support qt4 quicktime readline reflection replytolist restrict-javascript sbcl session spell spl srt sse sse2 ssl stroke subversion svg syslog tcltk tcpd teamarena tetex theora tidy tiff tk truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vim-with-x vorbis wma x264 xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

[ebuild   R   ] gnome-base/nautilus-2.18.3  USE="X gnome -beagle -debug -tracker" 0 kB 

Comment 5 cburroughs 2007-11-30 17:40:28 UTC
Could you clarify if after the first crash it will crash again when restarted?  I recently reported gnome bug 500300 which sounds similar.
Comment 6 Stian Skjelstad 2007-12-06 09:16:01 UTC
Does nautilus 2.20.0-r1 has the same issue. A simple API test of glib shows that g_utf8_normalize returns NULL if the string is not valid UTF8. So both nautilus needs a small patch, and glib documentation needs to be updated.

#include <stdio.h>
#include <glib.h>

int main(int argc, char *argv[])
{
        printf("%p\n", g_utf8_normalize ( "\xe6", -1, G_NORMALIZE_NFD));
        printf("%p\n", g_utf8_strdown ( "\xe6", -1));
        return 0;
}
Comment 7 Stian Skjelstad 2007-12-06 09:23:38 UTC
Created attachment 137869 [details, diff]
nautilus-2.20.0-utf8check.patch
Comment 8 Stian Skjelstad 2007-12-06 09:28:48 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=501995
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-01-11 23:30:21 UTC
this is supposed to be fixed in 2.20. Could you test with nautilus-2.20.3 and glib-2.14.5 ?
Comment 10 Stian Skjelstad 2008-01-14 21:10:21 UTC
(In reply to comment #9)
> this is supposed to be fixed in 2.20. Could you test with nautilus-2.20.3 and
> glib-2.14.5 ?

Well, the 2.20.0 currently in portage needs the patch ( nautilus-2.20.0-utf8check.patch ), hence the name of the patch.

2.21.5 not in portage (with the new unstable glib-GIO patchset) seems also to lack this fix. So NOT RESOLVED if you ask me (upstream developers seems to be a bit busy with the glib-GIO patches)
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-05 16:59:42 UTC
reopening for setting proper status
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-05 17:00:12 UTC
patch of the upstream bug was accepted and is for sure in 2.22. Closing.