gedit segfaults if you start it from a shell with a filename as argument. It also can't save a new file if you dor from shell #gedit newfile, it save it as nameless. Reproducible: Always Steps to Reproduce: 1.#gedit filename 2. 3. Actual Results: segfaults, or for the second, it would be saved as nameless.
Created attachment 23749 [details, diff] fix for gedit-64bit
I don't like the fix much. If this is the problem, then it's probably a glib thing. gnome programs should try to use as much glib functionality as possible, using gint over int is part of that. Where does the fix come from ? What is your 'emerge info' btw ?
The fix is from Mandrake and originaly for gedit-2.4.1. blitz veitw # emerge info Portage 2.0.49-r20 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo) ================================================================= System uname: 2.6.1-gentoo x86_64 4 Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://muffin/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://muffin/gentoo-portage" USE="3dnow X acpi alsa amd64 apm arts avi berkdb cdr crypt cups dnd dvd dvdr encode esd fbcon foomaticdb freetype gdbm gif gnome gphoto2 gpm gtk gtk2 imap imlib ipv6 java jpeg kde ldap libg++ libwww maildir mikmod mmx motif mozilla mozsvg mpeg multilib ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang spell sse ssl tcltk tcpd truetype usb vim-with-x xml2 xmms xv zlib linguas_en linguas_de"
Same error : > gedit demobug.tcl GLib-ERROR **: gmem.c:140: failed to allocate 206158431617 bytes aborting... But also happen when start from Nautilus.. in case it matters.
*** Bug 40920 has been marked as a duplicate of this bug. ***
patch applied. No version bump, so you'll have to remerge manually.