Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8496 - gedit has segmentation fault and crash's
Summary: gedit has segmentation fault and crash's
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-28 00:44 UTC by Alex Combas
Modified: 2003-02-04 19:42 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 Combas 2002-09-28 00:44:33 UTC
My gedit application is crashing constantly.
I start the app and within seconds it crash's and wants me to submit a bug report. 
The "Error Dialog Box" says that the 
[application has crashed due to a fatal error (segmentation fault)]

When I use the text viewer in nautlius it crash's as well, not nautilus but just
the text viewer part.. i think this problem is also related to the gedit
application.

I have tried to re-emerge gedit using only either '-02' or '-03' but neither
gives any improvement.

These are my optimizations:
CHOST="i686-pc-linux-gnu"                                                      
CFLAGS="-march=pentium2 -O3 -pipe"                                             
CXXFLAGS="-march=pentium2 -O3 -pipe"

This is the configure part of the emerge:
# emerge gedit
Calculating dependencies ...done!
>>> emerge app-editors/gedit-2.0.5 to /
>>> md5 ;-) gedit-2.0.5.tar.bz2
>>> Unpacking source...
>>> Unpacking gedit-2.0.5.tar.bz2
>>> Source unpacked.
 * Working directory: /var/tmp/portage/gedit-2.0.5/work/gedit-2.0.5...
 * Applying libtool-test.patch...
 * Applying libtool-relink.patch...
 * Applying libtool-tmp.patch...
 * Applying libtool-portage.patch...
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gconftool-2... /usr/bin/gconftool-2
checking for intltool >= 0.21... 0.22 found
checking for perl... /usr/bin/perl
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for LC_MESSAGES... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  ar bg az ca cs da de el es et eu fi fr
ga gl hi hu it ja ko lt lv ms nl nn no pl pt pt_BR ro ru sv sk sl ta tr uk vi wa
zh_TW zh_CN
checking for pkg-config... /usr/bin/pkg-config
checking for libgnomeui-2.0 >= 2.0.0 libglade-2.0 >= 2.0.0
                         libgnomeprintui-2.0 >= 1.115.0 eel-2.0 >= 2.0.0... yes
checking GEDIT_CFLAGS...     -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libglade-2.0
-I/usr/include/libgnomeprintui-2.0 -I/usr/include/libgnomeprint-2.0
-I/usr/include/eel-2 -I/usr/include/gail-1.0  
checking GEDIT_LIBS...     -L/usr/X11R6/lib -lgnomeprintui-2 -lgnomeprint-2
-leel-2 -lgnomeui-2 -lSM -lICE -lgailutil -lglade-2.0 -lbonoboui-2 -lgnome-2
-lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -llinc
-lgthread-2.0 -lpthread -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0
-lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0  
checking "GConf configuration source"... xml::${sysconfdir}/gconf/gconf.xml.defaults
checking for poptStrippedArgv in -lpopt... yes
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for more warnings... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/dialogs/Makefile
config.status: creating pixmaps/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/ASCII/Makefile
config.status: creating plugins/diff/Makefile
config.status: creating plugins/docinfo/Makefile
config.status: creating plugins/sample/Makefile
config.status: creating plugins/cvschangelog/Makefile
config.status: creating plugins/taglist/Makefile
config.status: creating plugins/time/Makefile
config.status: creating plugins/shell_output/Makefile
config.status: creating help/Makefile
config.status: creating help/C/Makefile
config.status: creating omf-install/Makefile
config.status: creating config.h
--------------------------------------------------

During the build part i dont see any errors of any kind.
It really makes me wonder why it is crashing, I hope that someone can look at
this and get back to me.
Comment 1 Markus Bertheau (RETIRED) gentoo-dev 2002-09-30 00:10:24 UTC
Please submit a bug report, as the dialog suggests. That bug report will go to
bugzilla.gnome.org, where it really belongs.

Thanks.
Comment 2 Spider (RETIRED) gentoo-dev 2002-09-30 18:16:44 UTC
try re-emerging gtk+ with only -O2 as well, that might help.

I'm closing this because it appears to be upstream. better solved there.
Comment 3 Alex Combas 2002-09-30 21:38:17 UTC
I reemerged gedit and gtk+ with only "-02" and it has not crashed once yet
today.. previously it was crashing withing seconds each and every time i tried
to use it.
Thanks spider :)