Sometimes x11-misc/xfe(version 0.72 - "stable" on amd64) crashes with the message Segmentation Fault. If it crashes seems to depend on the filenames, but im not 100% sure... I think it crashes with long filenames. Strace gives me these Informations: open("/etc/passwd", O_RDONLY) = 5 fcntl(5, F_GETFD) = 0 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 lseek(5, 0, SEEK_CUR) = 0 fstat(5, {st_mode=S_IFREG|0644, st_size=1945, ...}) = 0 mmap(NULL, 1945, PROT_READ, MAP_SHARED, 5, 0) = 0x2aaaae327000 lseek(5, 1945, SEEK_SET) = 1945 munmap(0x2aaaae327000, 1945) = 0 close(5) = 0 open("/etc/group", O_RDONLY) = 5 fcntl(5, F_GETFD) = 0 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 lseek(5, 0, SEEK_CUR) = 0 fstat(5, {st_mode=S_IFREG|0644, st_size=860, ...}) = 0 mmap(NULL, 860, PROT_READ, MAP_SHARED, 5, 0) = 0x2aaaae327000 lseek(5, 860, SEEK_SET) = 860 munmap(0x2aaaae327000, 860) = 0 close(5) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++
I've got the same problem: in some directories xfe 0.72(-0.88 too) crashes. Do you have a DM-Crypt-Device, too? Don't know if it's a xfe bug... # emerge info Portage 2.0.54-r2 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-ge ntoo-r7 x86_64) ================================================================= System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800 + Gentoo Base System version 1.6.14 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled ] ccache version 2.3 [disabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdo wn /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xk b /usr/lib64/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/dis tributions/gentoo" LANG="en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac alsa audiofile avi berkdb bitmap-fonts bzip2 cdr cdrom cli cpudete ction crypt css cups curl dpms dri dts dvd dvdr dvdread emboss encode exif expat fa m fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gphoto2 gpm gstream er gtk gtk2 idn ieee1394 imagemagick imap imlib intel8x0 isdnlog java jpeg lcms lib caca lzw lzw-tiff mad mikmod mng mozilla mp3 mpeg mplayer musepack nas ncurses nls nptl nsplugin nvidia ogg opengl oss pam pcre pdflib perl pic png pppd python quickt ime readline reflection sdl session smp spell spl ssl tcpd tiff truetype truetype-f onts type1-fonts udev unicode usb vcd vorbis wxgtk1 xine xml2 xmms xorg xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
You should change the summary to "x11-misc/xfe crashes with Segmentation fault"
"I think it crashes with long filenames." - Yes, I think that's right. Steps to reproduce: 1. emerge xfe 2. start xfe in a directory containing very long filenames
Yep, i've got a dm-crypt device, but i don't think, that the error depends on that...
OK, -tested a long filename on a none-crypt-device. => xfe crashes: $ xfe Segmentation fault
Ok, we know the bug, but how can we fix it? ;) I think xfe reserves a too small space for the filenames, so it comes to the Seg fault error... The problem is, i have no clue, where xfe reserves his space.
Nobody know, how to solve the problem? :(
Useing xfe still isn't possible for me because of this stupid segmentation fault...
Yes, same for me, I use it, but i hate the Seg Fault's
(In reply to comment #9) > Yes, same for me, I use it, but i hate the Seg Fault's hm... I can't reproduce the bug. Can you tell me, how long filename, has to be, for xfe to segfault? Cheers, Przemek
OK, tried to reproduce it again after a long time.... Doesn't work for me NOW.... I changed some things with the character encoding... but I don't know if it is really fixed... May be some other program fault? Sascha, can you reproduce it again for now? For me, it can be marked as working/fixed...
Nope, still doesn't work for me! I created a file a simple name, which let's xfe crash: "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvxyzabcdefghijklmnopqrstuvxyzabcdefghijkl" access("/home/sascha/xfe-test/..", R_OK|X_OK) = 0 lstat("/home/sascha/xfe-test/abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvxyzabcdefghijklmnopqrstuvxyzabcdefghijkl", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/etc/passwd", O_RDONLY) = 6 fcntl(6, F_GETFD) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 lseek(6, 0, SEEK_CUR) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=2177, ...}) = 0 mmap(NULL, 2177, PROT_READ, MAP_SHARED, 6, 0) = 0x2aaaaad94000 lseek(6, 2177, SEEK_SET) = 2177 munmap(0x2aaaaad94000, 2177) = 0 close(6) = 0 open("/etc/group", O_RDONLY) = 6 fcntl(6, F_GETFD) = 0 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 lseek(6, 0, SEEK_CUR) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=1011, ...}) = 0 mmap(NULL, 1011, PROT_READ, MAP_SHARED, 6, 0) = 0x2aaaaad94000 lseek(6, 1011, SEEK_SET) = 1011 munmap(0x2aaaaad94000, 1011) = 0 close(6) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 14303 detached
(In reply to comment #12) > Nope, still doesn't work for me! I created a file a simple name, which let's > xfe crash: Have you tried xfe-0.88? Which version of fox do you use? Cheers, Przemek
See above and get back to us.